Mercurial > code > home > repos > homeauto
diff service/reasoning/rules.n3 @ 1059:faf1f8677a91
pi device support for motionStart edge trigger
Ignore-this: 1eda3d0bed8def055573fdc1db3cd7c3
darcs-hash:b77ef0bc873415b7319e8dff11d484d48f4bd10e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 21 Mar 2016 04:18:45 -0700 |
parents | d2007482aec5 |
children | 570b0e73d2bc |
line wrap: on
line diff
--- a/service/reasoning/rules.n3 Mon Mar 21 04:17:57 2016 -0700 +++ b/service/reasoning/rules.n3 Mon Mar 21 04:18:45 2016 -0700 @@ -142,4 +142,21 @@ { bed:redButton :buttonState :press } => { :headboardWhite :brightness 0.04 . -} . \ No newline at end of file +} . + +@prefix sensor: <http://bigasterisk.com/homeauto/sensor/> . +{ sensor:buttonAriBed :buttonState :press } => { + :starTrekLight :brightness 0.0 . +} . + +{ <http://bigasterisk.com/homeauto/sensor/motion2> :sees :noMotion } => { + :changingWhite :brightness 0.0 . + } . + +{ <http://bigasterisk.com/homeauto/sensor/motion2> :sees :motion } => { + :changingWhite :brightness 0.2 . +} . + +{ <http://bigasterisk.com/homeauto/sensor/motion2> :sees :motionStart } => { + :changingCam :grab <http://bang:9057/changing.jpg> . + } . \ No newline at end of file