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;
|
|
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"]] .
|