Mercurial > code > home > repos > homeauto
view service/mqtt_to_rdf/config_nightlight_ari.n3 @ 767:f3607a373a00
front door support on another broker
Ignore-this: 88794f304d22ed9f4f9fc92d84d3ae3c
author | drewp@bigasterisk.com |
---|---|
date | Sat, 02 May 2020 15:07:03 -0700 |
parents | fdddbdaf07b5 |
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"]] .