346
|
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,
|
367
|
16 pin:GPIO17,
|
|
17 pin:GPIO14
|
346
|
18 .
|
367
|
19
|
|
20 # pin 18 IR in
|
346
|
21
|
|
22 ha:kitchenPiTemp a :OnboardTemperature;
|
|
23 :influxMeasurement [
|
|
24 :measurement "temperatureF";
|
|
25 :predicate :temperatureF;
|
|
26 :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenPi"]] .
|
|
27
|
1681
|
28 # pin:GPIO4 :gpioNumber 4; :connectedTo sensor:tempHumidKitchen .
|
|
29 # sensor:tempHumidKitchen a :TempHumidSensor;
|
|
30 # :sees houseLoc:kitchenCounter;
|
|
31 # :influxMeasurement [
|
|
32 # :measurement "temperatureF";
|
|
33 # :predicate :temperatureF;
|
|
34 # :pointsAtLeastEvery 10;
|
|
35 # :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]], [
|
|
36 # :measurement "humidity";
|
|
37 # :predicate :humidity;
|
|
38 # :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter"]].
|
346
|
39
|
1681
|
40 # pin:GPIO17 :gpioNumber 17; :connectedTo ow: .
|
|
41 # ow: a :OneWire; :connectedTo ow:dev-000003a5a94c .
|
|
42 # ow:dev-000003a5a94c a :TemperatureSensor;
|
|
43 # :position houseLoc:kitchenCounter;
|
|
44 # :influxMeasurement [
|
|
45 # :measurement "temperatureF";
|
|
46 # :predicate :temperatureF;
|
|
47 # :tag [:key "host"; :value "kitchen"], [:key "location"; :value "kitchenCounter_ds_test"]] .
|
367
|
48
|
|
49 pin:GPIO14 :gpioNumber 14; :connectedTo sensor:kitchenCounterButton1 .
|
|
50 sensor:kitchenCounterButton1 a :Pushbutton .
|