diff service/reasoning/rules.n3 @ 1133:114ca7fd9d01

IR remote rule Ignore-this: 901771de421a81129f2ddf4316af91d9 darcs-hash:a037a1bcf9631ac214fe1e61ff42fb00f25cb451
author drewp <drewp@bigasterisk.com>
date Sat, 03 Feb 2018 14:38:10 -0800
parents 82046a1c75f3
children 79d041273e26
line wrap: on
line diff
--- a/service/reasoning/rules.n3	Fri Jan 26 21:23:22 2018 -0800
+++ b/service/reasoning/rules.n3	Sat Feb 03 14:38:10 2018 -0800
@@ -8,6 +8,7 @@
 @prefix math: <http://www.w3.org/2000/10/swap/math#> .
 
 @prefix star: <http://bigasterisk.com/host/star/> .
+@prefix bang: <http://bigasterisk.com/host/bang/> .
 @prefix dash: <http://bigasterisk.com/host/dash/> .
 @prefix slash: <http://bigasterisk.com/host/slash/> .
 
@@ -193,3 +194,12 @@
 
 { sensor:motionBed :sees :motion . } => { :anim1 :playback :start . } .
 
+
+{ sensor:motionFrontdoorInside :seesRecently30 :motion } => {
+  <http://bigasterisk.com/host/frontdoor/monitor> :powerState :on .
+} .
+
+{ <http://projects.bigasterisk.com/room/remoteButton/KEY_POWER> :state :press } => {
+#star:slideshow :postAction <http://dash:9049/effects/question> .
+bang: :postAction <http://10.2.0.62/rpc/motor> .
+} .