changeset 246:d4c5b0775b62

device and service configs Ignore-this: 8477635c654c66b171e85335212d3cd
author drewp@bigasterisk.com
date Tue, 02 Feb 2016 22:42:24 -0800
parents d7f59d661073
children b0089d1ca4f6
files service/piNode/config/main.n3 service/reasoning/input/startup.n3
diffstat 2 files changed, 30 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/service/piNode/config/main.n3	Tue Feb 02 22:41:42 2016 -0800
+++ b/service/piNode/config/main.n3	Tue Feb 02 22:42:24 2016 -0800
@@ -5,8 +5,8 @@
 @prefix houseLoc: <http://bigasterisk.com/homeauto/houseLoc/> .
 
 @prefix board2pin: <http://bigasterisk.com/homeauto/board2/pin/> .
-@prefix board2ow: <http://bigasterisk.com/homeauto/board2/oneWire/> .
-
+@prefix board2ow:  <http://bigasterisk.com/homeauto/board2/oneWire/> .
+@prefix bed:       <http://bigasterisk.com/homeauto/sensor/bed/> .
 ha:node2 a :PiBoard;
   :hostname "sticker";
   :onboardDevice ha:bedroomPiTemp;
@@ -15,7 +15,9 @@
     board2pin:GPIO3,
     board2pin:GPIO4,
     board2pin:GPIO17,
-    board2pin:GPIO27
+    board2pin:GPIO27,
+    board2pin:GPIO18,
+    board2pin:GPIO23 
     .
 
 ha:bedroomPiTemp a :OnboardTemperature .
@@ -25,6 +27,13 @@
 board2pin:GPIO4 :gpioNumber 4 .
 board2pin:GPIO17 :gpioNumber 17 .
 board2pin:GPIO27 :gpioNumber 27 .
+board2pin:GPIO18 :gpioNumber 18 .
+board2pin:GPIO23 :gpioNumber 23 .
+
+board2pin:GPIO18 :connectedTo bed:greenButton .
+board2pin:GPIO23 :connectedTo bed:redButton .
+bed:greenButton a :Pushbutton .
+bed:redButton a :Pushbutton .
 
 board2pin:GPIO17 :connectedTo sensor:motion1 .
 sensor:motion1 a :MotionSensor;
--- a/service/reasoning/input/startup.n3	Tue Feb 02 22:41:42 2016 -0800
+++ b/service/reasoning/input/startup.n3	Tue Feb 02 22:42:24 2016 -0800
@@ -1,23 +1,25 @@
 @prefix : <http://projects.bigasterisk.com/room/> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 
-#<http://bang:9069/graph> is :source of :reasoning; rdfs:label "arduino watchpins" .
-<http://bang:9070/graph> is :source of :reasoning;  rdfs:label "wifi usage" .
-<http://bang:9075/graph> is :source of :reasoning;  rdfs:label "env" .
-#<http://slash:9050/graph> is :source of :reasoning;  rdfs:label "garageArduino for front motion" .
-#<http://dash:9095/graph> is :source of :reasoning;  rdfs:label "dash monitor" .
-#<http://bang:9095/graph> is :source of :reasoning;  rdfs:label "bang monitor" .
-#<http://star:9095/graph> is :source of :reasoning;  rdfs:label "star monitor" .
-#<http://slash:9095/graph> is :source of :reasoning;  rdfs:label "slash monitor" .
-<http://bang:9099/graph> is :source of :reasoning;  rdfs:label "trails" .
-<http://dash:9107/graph> is :source of :reasoning;  rdfs:label "dash x idle" .
-#<http://star:9107/graph> is :source of :reasoning;  rdfs:label "star x idle" .
-#<http://slash:9107/graph> is :source of :reasoning;  rdfs:label "slash x idle" .
-#<http://slash:9080/graph> is :source of :reasoning;  rdfs:label "frontDoorArduino" .
-#<http://bang:9055/graph> is :source of :reasoning; rdfs:label "portupdate" .
-<http://bang:9059/graph> is :source of :reasoning; rdfs:label "storage arduino" .
+
+<http://bang:9059/graph>     is :source of :reasoning; rdfs:label "bang arduino" .
+<http://kitchen:9059/graph>  is :source of :reasoning; rdfs:label "kitchen pi" .
+<http://living:9059/graph>   is :source of :reasoning; rdfs:label "living room pi" .
+<http://slash:9059/graph>    is :source of :reasoning; rdfs:label "slash arduino" .
+<http://sticker:9059/graph>  is :source of :reasoning; rdfs:label "bed pi" .
+<http://brace6:9059/graph>   is :source of :reasoning; rdfs:label "brace arduino" .
 
-# also, http://bang:9072/bang/processStatus
+<http://bang:9070/graph>     is :source of :reasoning; rdfs:label "wifi usage" .
+<http://bang:9075/graph>     is :source of :reasoning; rdfs:label "env" .
+<http://bang:9099/graph>     is :source of :reasoning; rdfs:label "trails" .
+
+<http://dash:9095/graph>     is :source of :reasoning; rdfs:label "dash monitor" .
+<http://dash:9107/graph>     is :source of :reasoning; rdfs:label "dash x idle" .
+<http://brace6:9095/graph>   is :source of :reasoning; rdfs:label "brace monitor" .
+<http://brace6:9107/graph>   is :source of :reasoning; rdfs:label "brace x idle" .
+<http://slash:9095/graph>    is :source of :reasoning; rdfs:label "slash monitor" .
+<http://slash:9107/graph>    is :source of :reasoning; rdfs:label "slash x idle" .
+#<http://bang:9095/graph>    is :source of :reasoning; rdfs:label "bang monitor" .
 
 
 [ a :OneShotPost; :subject <http://bigasterisk.com/host/star/slideshow>; :predicate :postAction ] .