Mercurial > code > home > repos > homeauto
diff service/arduinoNode/config/config.n3 @ 305:6614416dd2c3
influx output for arduino, update web lib path
Ignore-this: 76b7fb15db86563ed3fa1ec5322b918c
author | drewp@bigasterisk.com |
---|---|
date | Fri, 16 Sep 2016 01:16:12 -0700 |
parents | 254d656af72e |
children |
line wrap: on
line diff
--- a/service/arduinoNode/config/config.n3 Fri Sep 16 00:55:04 2016 -0700 +++ b/service/arduinoNode/config/config.n3 Fri Sep 16 01:16:12 2016 -0700 @@ -68,6 +68,12 @@ board2pin:d3 :pinNumber 3; :connectedTo sensor:motionAriDesk . sensor:motionAriDesk a :MotionSensor; + :influxMeasurement [ + :measurement "presence"; + :predicate :sees; + :tag [:key "host"; :value "brace"], + [:key "sensor"; :value "motion"], + [:key "location"; :value "ariDesk"]]; :sees houseLoc:ariDesk . board2pin:d4 :pinNumber 4; :connectedTo sensor:buttonAriBed . @@ -79,7 +85,11 @@ :connectedTo board2ow:dev-2813bea50300003d . board2ow:dev-2813bea50300003d a :TemperatureSensor; :position houseLoc:ariUnderBed; - :graphiteName "system.house.temp.ariUnderBed" . + :influxMeasurement [ + :measurement "temperatureF"; + :predicate :temperatureF; + :tag [:key "host"; :value "brace"], [:key "location"; :value "ariUnderBed"]] . + board2pin:d6 :pinNumber 6; :connectedTo :starTrekLight . :starTrekLight a :LedOutput; @@ -87,4 +97,10 @@ board2pin:d7 :pinNumber 7; :connectedTo sensor:motionAriBed . sensor:motionAriBed a :MotionSensor; + :influxMeasurement [ + :measurement "presence"; + :predicate :sees; + :tag [:key "host"; :value "brace"], + [:key "sensor"; :value "motion"], + [:key "location"; :value "ariBed"]]; :sees houseLoc:ariBed .