comparison service/piNode/config.n3 @ 182:9fff29ebca71

start pinode Ignore-this: bfafd9994f7f9a61919d49274417ebbb
author drewp@bigasterisk.com
date Sun, 31 May 2015 00:56:55 -0700
parents
children 40000fafad94
comparison
equal deleted inserted replaced
181:71577a849628 182:9fff29ebca71
1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
2 @prefix : <http://projects.bigasterisk.com/room/> .
3 @prefix ha: <http://bigasterisk.com/homeauto/> .
4 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> .
5 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .
6
7 @prefix board2pin: <http://bigasterisk.com/homeauto/board2/pin/> .
8 @prefix board2ow: <http://bigasterisk.com/homeauto/board2/oneWire/> .
9
10 ha:node2 a :PiBoard;
11 :hostname "sticker";
12 :hasPin
13 board2pin:GPIO2,
14 board2pin:GPIO3,
15 board2pin:GPIO4,
16 board2pin:GPIO17,
17 board2pin:GPIO27
18 .
19
20 board2pin:GPIO2 :gpioNumber 2 .
21 board2pin:GPIO3 :gpioNumber 3 .
22 board2pin:GPIO4 :gpioNumber 4 .
23 board2pin:GPIO17 :gpioNumber 17 .
24 board2pin:GPIO27 :gpioNumber 27 .
25
26 board2pin:GPIO17 :connectedTo sensor:motion1 .
27 sensor:motion1 a :MotionSensor;
28 :sees houseLoc:bed .
29
30 :bedLedStrip a :RgbStrip;
31 :redChannel board2pin:GPIO2;
32 :greenChannel board2pin:GPIO3;
33 :blueChannel board2pin:GPIO4 .
34
35 board2pin:GPIO27 :connectedTo :headboardWhite .
36 :headboardWhite a :LedOutput .
37
38 #board2pin:b29 :connectedTo board2ow: .
39 #board2ow: a :OneWire;
40 # :connectedTo board2ow:temperatureSensor .
41 #board2ow:temperatureSensor a :TemperatureSensor;
42 # :position :bed .
43