Mercurial > code > home > repos > homeauto
diff service/reasoning/rules.n3 @ 328:b069bb37f817
IR remote rule
Ignore-this: 901771de421a81129f2ddf4316af91d9
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Feb 2018 14:38:10 -0800 |
parents | 79efb6fdcb95 |
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> . +} .