Mercurial > code > home > repos > homeauto
diff service/reasoning/rules.n3 @ 264:570b0e73d2bc
rules updates
Ignore-this: e8f0c7c412d0e685296139d5ccd19021
author | drewp@bigasterisk.com |
---|---|
date | Thu, 14 Apr 2016 00:10:26 -0700 |
parents | ba1149814877 |
children | b619aba0f784 |
line wrap: on
line diff
--- a/service/reasoning/rules.n3 Sat Apr 02 23:34:44 2016 -0700 +++ b/service/reasoning/rules.n3 Thu Apr 14 00:10:26 2016 -0700 @@ -157,6 +157,11 @@ :changingWhite :brightness 0.2 . } . -{ <http://bigasterisk.com/homeauto/sensor/motion2> :sees :motionStart } => { +{ sensor:motionChanging :sees :motionStart } => { :changingCam :grab <http://bang:9057/changing.jpg> . - } . \ No newline at end of file + } . + +{ :bookSwitch :buttonState :press . :livingRoomLamp1 :brightness 0.0 . } => { + :livingRoomLamp1 :brightness 1.0 . :livingRoomLamp2 :brightness 1.0 } . +{ :bookSwitch :buttonState :press . :livingRoomLamp1 :brightness 1.0 . } => { + :livingRoomLamp1 :brightness 0.0 . :livingRoomLamp2 :brightness 0.0 } .