Mercurial > code > home > repos > homeauto
annotate service/reasoning/input/devices.n3 @ 1462:2b29f14eb6bd
try new graph+view widget
Ignore-this: d5f9c5dc52f04324368716ba2f604fdb
darcs-hash:44e85a5c075ef73c34a58deaa3a3c1e8390dae52
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 24 Nov 2019 00:01:00 -0800 |
parents | a02b1b08f24f |
children | 35048f629f77 |
rev | line source |
---|---|
1402 | 1 @prefix : <http://projects.bigasterisk.com/room/>. |
2 @prefix device: <http://projects.bigasterisk.com/device/>. | |
3 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
4 @prefix onewire: <http://bigasterisk.com/onewire/> . | |
5 @prefix bang: <http://bigasterisk.com/host/bang/> . | |
1415
a02b1b08f24f
clean up very old reasoning configs
drewp <drewp@bigasterisk.com>
parents:
1402
diff
changeset
|
6 @prefix reasoning: <http://projects.bigasterisk.com/ns/reasoning/>. |
1402 | 7 |
8 | |
9 :unlocked :putValue "1" . | |
10 :on :putValue "on" . | |
11 :off :putValue "off" . | |
12 | |
13 | |
14 <http://bigasterisk.com/host/bang/monitor> :putUrl "http://bang:9095/monitor"; :zeroValue "off" . | |
15 <http://bigasterisk.com/host/dash/monitor> :putUrl "http://dash:9095/monitor" . | |
16 <http://bigasterisk.com/host/frontdoor/monitor> :putUrl "http://frontdoor:9095/monitor" . | |
17 | |
18 :storageCeilingLedCross | |
19 :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedCross&p=http://projects.bigasterisk.com/room/brightness>; | |
20 :zeroValue 0.0 . | |
21 | |
22 :storageCeilingLedLong | |
23 :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedLong&p=http://projects.bigasterisk.com/room/brightness>; | |
24 :zeroValue 0.0 . | |
25 | |
26 :garageOverhead | |
27 :putUrl <http://garage.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/garageOverhead&p=http://projects.bigasterisk.com/room/brightness> . | |
28 :headboardWhite | |
29 :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/headboardWhite&p=http://projects.bigasterisk.com/room/brightness> . | |
30 :bedLedStrip | |
31 :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/bedLedStrip&p=http://projects.bigasterisk.com/room/color> . | |
32 | |
33 :starTrekLight | |
34 :putUrl <http://frontbed:9059/output?s=http://projects.bigasterisk.com/room/starTrekLight&p=http://projects.bigasterisk.com/room/brightness> . | |
35 | |
36 :kitchenLight | |
37 :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenLight&p=http://projects.bigasterisk.com/room/brightness> . | |
38 | |
39 :kitchenCounterLight | |
40 :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenCounterLight&p=http://projects.bigasterisk.com/room/brightness> . | |
41 | |
42 :changingWhite | |
43 :putUrl <http://changing:9059/output?s=http://projects.bigasterisk.com/room/changingWhite&p=http://projects.bigasterisk.com/room/brightness> . | |
44 | |
45 :changingCamPost a :OneShotPost; :subject :changingCam; :predicate :grab . | |
46 bang: a :OneShotPost; :subject bang:; :predicate :postAction . | |
47 | |
48 :livingRoomLamp1 | |
49 :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp1&p=http://projects.bigasterisk.com/room/brightness> . | |
50 | |
51 :livingRoomLamp2 | |
52 :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp2&p=http://projects.bigasterisk.com/room/brightness> . | |
53 | |
54 :loftDeskStrip | |
1415
a02b1b08f24f
clean up very old reasoning configs
drewp <drewp@bigasterisk.com>
parents:
1402
diff
changeset
|
55 :putUrl <http://frontbed:9059/output>; :putPredicate :x . |
a02b1b08f24f
clean up very old reasoning configs
drewp <drewp@bigasterisk.com>
parents:
1402
diff
changeset
|
56 #reasoning:defaultOutput reasoning:default [ :subject :loftDeskStrip; :predicate :x; :defaultObject 0.0 ] . |
1402 | 57 |
58 :frontDoorOled :putUrl <http://frontdoor:10013/output>; :putPredicate :state . | |
59 :frontWindow :putPredicate :line1; :putUrl <http://bang:10008/output> . | |
60 :frontWindow :putPredicate :line2; :putUrl <http://bang:10008/output> . | |
61 :frontWindow :putPredicate :line3; :putUrl <http://bang:10008/output> . | |
62 :frontWindow :putPredicate :line4; :putUrl <http://bang:10008/output> . | |
63 | |
64 # newer style, with distinct :putState. | |
65 :frontDoorLock | |
66 :matchPredicate :putState; | |
67 :putUrl <http://bang:10011/output>; | |
68 :putPredicate :state . |