comparison 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
comparison
equal deleted inserted replaced
1058:2dfd367f7113 1059:faf1f8677a91
141 } . 141 } .
142 142
143 { bed:redButton :buttonState :press } => { 143 { bed:redButton :buttonState :press } => {
144 :headboardWhite :brightness 0.04 . 144 :headboardWhite :brightness 0.04 .
145 } . 145 } .
146
147 @prefix sensor: <http://bigasterisk.com/homeauto/sensor/> .
148 { sensor:buttonAriBed :buttonState :press } => {
149 :starTrekLight :brightness 0.0 .
150 } .
151
152 { <http://bigasterisk.com/homeauto/sensor/motion2> :sees :noMotion } => {
153 :changingWhite :brightness 0.0 .
154 } .
155
156 { <http://bigasterisk.com/homeauto/sensor/motion2> :sees :motion } => {
157 :changingWhite :brightness 0.2 .
158 } .
159
160 { <http://bigasterisk.com/homeauto/sensor/motion2> :sees :motionStart } => {
161 :changingCam :grab <http://bang:9057/changing.jpg> .
162 } .