Mercurial > code > home > repos > homeauto
comparison service/piNode/config/kitchen.n3 @ 346:9636e950373e
split up pi configs
Ignore-this: 8770e4e488662d5335c896fe71ad5c82
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Apr 2018 04:16:56 -0700 |
parents | |
children | bf2174646809 |
comparison
equal
deleted
inserted
replaced
345:d36863e09095 | 346:9636e950373e |
---|---|
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; | |
31 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]], [ | |
32 :measurement "humidity"; | |
33 :predicate :humidity; | |
34 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]]. | |
35 | |
36 pin:GPIO17 :gpioNumber 17; :connectedTo ow: . | |
37 ow: a :OneWire; :connectedTo ow:dev-000003a5a94c . | |
38 ow:dev-000003a5a94c a :TemperatureSensor; | |
39 :position houseLoc:kitchenCounter; | |
40 :influxMeasurement [ | |
41 :measurement "temperatureF"; | |
42 :predicate :temperatureF; | |
43 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter_ds_test"]] . |