view service/mqtt_to_rdf/config_nightlight_ari.n3 @ 1562:c2ed44ed1e3c dependabot/pip/service/collector/twisted-19.7.0

Bump twisted from 19.2.0 to 19.7.0 in /service/collector Bumps [twisted](https://github.com/twisted/twisted) from 19.2.0 to 19.7.0. - [Release notes](https://github.com/twisted/twisted/releases) - [Changelog](https://github.com/twisted/twisted/blob/trunk/NEWS.rst) - [Commits](https://github.com/twisted/twisted/compare/twisted-19.2.0...twisted-19.7.0) Signed-off-by: dependabot[bot] <support@github.com>
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
date Fri, 14 Feb 2020 10:01:26 +0000
parents 7cc7700302c2
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"]] .