diff service/reasoning/rules.n3 @ 247:b0089d1ca4f6

add bed buttons Ignore-this: 912a92f7a8e173fe64aa4c1df9ef7dba
author drewp@bigasterisk.com
date Mon, 08 Feb 2016 23:48:29 -0800
parents 7d897fe34306
children 82079561c214
line wrap: on
line diff
--- a/service/reasoning/rules.n3	Tue Feb 02 22:42:24 2016 -0800
+++ b/service/reasoning/rules.n3	Mon Feb 08 23:48:29 2016 -0800
@@ -127,3 +127,13 @@
   :storageCeilingLedCross :brightness "1" .
   :storageCeilingLedLong :brightness "1" .
 } .
+
+@prefix bed: <http://bigasterisk.com/homeauto/sensor/bed/> .
+
+{ bed:greenButton :buttonState :pressed } => {
+  :headboardWhite :brightness 0 .
+} .
+
+{ bed:redButton :buttonState :pressed } => {
+  :headboardWhite :brightness 0.04 .
+} .
\ No newline at end of file