diff service/reasoning/rules.n3 @ 251:254df9f881a6

start sending oneshot events from some devices Ignore-this: 2c98200e9bab1acca872f4cdcaf88e4d
author drewp@bigasterisk.com
date Fri, 12 Feb 2016 02:41:29 -0800
parents 82079561c214
children ba1149814877
line wrap: on
line diff
--- a/service/reasoning/rules.n3	Tue Feb 09 22:10:38 2016 -0800
+++ b/service/reasoning/rules.n3	Fri Feb 12 02:41:29 2016 -0800
@@ -129,12 +129,17 @@
   :storageCeilingLedLong :brightness "1" .
 } .
 
+{ <http://bigasterisk.com/homeauto/sensor/motion0> :sees <http://projects.bigasterisk.com/room/motionStart> . } => {
+  :storageCeilingLedCross :brightness "1" .
+  :storageCeilingLedLong :brightness "1" .
+} .
+
 @prefix bed: <http://bigasterisk.com/homeauto/sensor/bed/> .
 
-{ bed:greenButton :buttonState :pressed } => {
+{ bed:greenButton :buttonState :press } => {
   :headboardWhite :brightness 0 .
 } .
 
-{ bed:redButton :buttonState :pressed } => {
+{ bed:redButton :buttonState :press } => {
   :headboardWhite :brightness 0.04 .
 } .
\ No newline at end of file