Mercurial > code > home > repos > homeauto
changeset 260:88a9f78a7fa2
new changing table computer in config
Ignore-this: e5c2be4f252abd09e553b00524f7d3f4
author | drewp@bigasterisk.com |
---|---|
date | Mon, 21 Mar 2016 04:25:40 -0700 |
parents | 54fad386d6f5 |
children | 362de08c4c52 |
files | service/piNode/config/main.n3 |
diffstat | 1 files changed, 48 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/service/piNode/config/main.n3 Mon Mar 21 04:24:31 2016 -0700 +++ b/service/piNode/config/main.n3 Mon Mar 21 04:25:40 2016 -0700 @@ -77,6 +77,53 @@ :position houseLoc:kitchenCounter; :graphiteName "system.house.temp.kitchenCounter_ds_test" . +@prefix board4pin: <http://bigasterisk.com/homeauto/board4/pin/> . + ha:node4 a :PiBoard; :hostname "living"; - :onboardDevice ha:livingPiTemp . \ No newline at end of file + :onboardDevice ha:livingPiTemp . + +ha:livingPiTemp a :OnboardTemperature . + + +@prefix board5: <http://bigasterisk.com/homeauto/board5/> . +@prefix board5pin: <http://bigasterisk.com/homeauto/board5/pin/> . + +ha:node5 a :PiBoard; + :hostname "changing"; + :onboardDevice ha:changingPiTemp; + :hasPin + board5pin:GPIO4, + board5pin:GPIO17, + board5pin:GPIO18 . + +ha:changingPiTemp a :OnboardTemperature . + +board5pin:GPIO4 :gpioNumber 4 . +board5pin:GPIO17 :gpioNumber 17 . +board5pin:GPIO18 :gpioNumber 18 . + +board5pin:GPIO4 :connectedTo :changingWhite . +:changingWhite a :LedOutput . + +board5pin:GPIO17 :connectedTo sensor:motion2 . +sensor:motion2 a :MotionSensor; + :sees :changing . + +board5pin:GPIO18 :connectedTo :changingRgb . +:changingRgb a :RgbPixels; + :pixels ( + board5:rgb0 + board5:rgb1 + board5:rgb2 + board5:rgb3 + board5:rgb4 + board5:rgb5 ) . + +board5:rgb0 rdfs:label "rgb0" . +board5:rgb1 rdfs:label "rgb1" . +board5:rgb2 rdfs:label "rgb2" . +board5:rgb3 rdfs:label "rgb3" . +board5:rgb4 rdfs:label "rgb4" . +board5:rgb5 rdfs:label "rgb5" . +