Mercurial > code > home > repos > homeauto
view service/mqtt_to_rdf/config_nightlight_ari.n3 @ 732:fdddbdaf07b5
more service renaming; start a lot more serv.n3 job files
Ignore-this: 635aaefc7bd2fa5558eefb8b3fc9ec75
author | drewp@bigasterisk.com |
---|---|
date | Thu, 06 Feb 2020 16:36:35 -0800 |
parents | service/rdf_from_mqtt/config_nightlight_ari.n3@edc14422f128 |
children |
line wrap: on
line source
@prefix : <http://projects.bigasterisk.com/room/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix fr: <http://bigasterisk.com/foaf/> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . :nightlightAriTemperature a :MqttStatementSource; :mqttTopic ("nightlight_ari" "sensor" "temperature" "state"); :parser xsd:double; :conversions (:celsiusToFarenheit [:ignoreValueBelow -999]); :graphStatements [ :outputPredicate :temperatureF; :statementLifetime "150s"; # ], [ # :conversions ([:recentLow "30s"]); # :outputPredicate :recentLowTemperatureF; ]; :influxMeasurement [ # replaces this block in piNode configs :measurement "temperatureF"; :predicate :temperatureF; :tag [:key "host"; :value "nightlight_ari"], [:key "location"; :value "ariRoom"]] .