Mercurial > code > home > repos > homeauto
annotate service/piNode/config/kitchen.n3 @ 1153:e4f49cd9dda3
add :pointsAtLeastEvery control
Ignore-this: 9d0236b56b2a7592211ca68b87b4a5d1
darcs-hash:76e4d358cb6b039351c9b6f8e3bb825aaaefcc57
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 15 Apr 2018 04:41:00 -0700 |
parents | 4f89d130a3fe |
children | 6aa5beb63d9e |
rev | line source |
---|---|
1151 | 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
2 @prefix : <http://projects.bigasterisk.com/room/> . | |
3 @prefix order: <http://projects.bigasterisk.com/room/ledColorOrder/> . | |
4 @prefix ha: <http://bigasterisk.com/homeauto/> . | |
5 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . | |
6 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> . | |
7 | |
8 @prefix pin: <http://bigasterisk.com/homeauto/piKitchen/pin/> . | |
9 @prefix ow: <http://bigasterisk.com/homeauto/piKitchen/oneWire/> . | |
10 | |
11 ha:piKitchen a :PiBoard; | |
12 :hostname "kitchen"; | |
13 :onboardDevice ha:kitchenPiTemp; | |
14 :hasPin | |
15 pin:GPIO4, | |
16 pin:GPIO17 | |
17 . | |
18 | |
19 ha:kitchenPiTemp a :OnboardTemperature; | |
20 :influxMeasurement [ | |
21 :measurement "temperatureF"; | |
22 :predicate :temperatureF; | |
23 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenPi"]] . | |
24 | |
25 pin:GPIO4 :gpioNumber 4; :connectedTo sensor:tempHumidKitchen . | |
26 sensor:tempHumidKitchen a :TempHumidSensor; | |
27 :sees houseLoc:kitchenCounter; | |
28 :influxMeasurement [ | |
29 :measurement "temperatureF"; | |
30 :predicate :temperatureF; | |
1153
e4f49cd9dda3
add :pointsAtLeastEvery control
drewp <drewp@bigasterisk.com>
parents:
1151
diff
changeset
|
31 :pointsAtLeastEvery 10; |
1151 | 32 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]], [ |
33 :measurement "humidity"; | |
34 :predicate :humidity; | |
35 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]]. | |
36 | |
37 pin:GPIO17 :gpioNumber 17; :connectedTo ow: . | |
38 ow: a :OneWire; :connectedTo ow:dev-000003a5a94c . | |
39 ow:dev-000003a5a94c a :TemperatureSensor; | |
40 :position houseLoc:kitchenCounter; | |
41 :influxMeasurement [ | |
42 :measurement "temperatureF"; | |
43 :predicate :temperatureF; | |
44 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter_ds_test"]] . |