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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1402
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 @prefix : <http://projects.bigasterisk.com/room/>.
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2 @prefix device: <http://projects.bigasterisk.com/device/>.
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 @prefix onewire: <http://bigasterisk.com/onewire/> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
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
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 :unlocked :putValue "1" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
10 :on :putValue "on" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
11 :off :putValue "off" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
12
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
13
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
14 <http://bigasterisk.com/host/bang/monitor> :putUrl "http://bang:9095/monitor"; :zeroValue "off" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
15 <http://bigasterisk.com/host/dash/monitor> :putUrl "http://dash:9095/monitor" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
16 <http://bigasterisk.com/host/frontdoor/monitor> :putUrl "http://frontdoor:9095/monitor" .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
17
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
18 :storageCeilingLedCross
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
19 :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedCross&p=http://projects.bigasterisk.com/room/brightness>;
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
20 :zeroValue 0.0 .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
21
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
22 :storageCeilingLedLong
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
23 :putUrl <http://bang:9059/output?s=http://projects.bigasterisk.com/room/storageCeilingLedLong&p=http://projects.bigasterisk.com/room/brightness>;
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
24 :zeroValue 0.0 .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
25
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
26 :garageOverhead
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
27 :putUrl <http://garage.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/garageOverhead&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
28 :headboardWhite
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
29 :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/headboardWhite&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
30 :bedLedStrip
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
31 :putUrl <http://bed.vpn-home.bigasterisk.com:9059/output?s=http://projects.bigasterisk.com/room/bedLedStrip&p=http://projects.bigasterisk.com/room/color> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
32
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
33 :starTrekLight
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
34 :putUrl <http://frontbed:9059/output?s=http://projects.bigasterisk.com/room/starTrekLight&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
35
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
36 :kitchenLight
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
37 :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenLight&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
38
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
39 :kitchenCounterLight
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
40 :putUrl <http://bang:10008/output?s=http://projects.bigasterisk.com/room/kitchenCounterLight&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
41
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
42 :changingWhite
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
43 :putUrl <http://changing:9059/output?s=http://projects.bigasterisk.com/room/changingWhite&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
44
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
45 :changingCamPost a :OneShotPost; :subject :changingCam; :predicate :grab .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
46 bang: a :OneShotPost; :subject bang:; :predicate :postAction .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
47
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
48 :livingRoomLamp1
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
49 :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp1&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
50
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
51 :livingRoomLamp2
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
52 :putUrl <http://living:9059/output?s=http://projects.bigasterisk.com/room/livingRoomLamp2&p=http://projects.bigasterisk.com/room/brightness> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
53
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
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
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
57
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
58 :frontDoorOled :putUrl <http://frontdoor:10013/output>; :putPredicate :state .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
59 :frontWindow :putPredicate :line1; :putUrl <http://bang:10008/output> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
60 :frontWindow :putPredicate :line2; :putUrl <http://bang:10008/output> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
61 :frontWindow :putPredicate :line3; :putUrl <http://bang:10008/output> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
62 :frontWindow :putPredicate :line4; :putUrl <http://bang:10008/output> .
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
63
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
64 # newer style, with distinct :putState.
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
65 :frontDoorLock
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
66 :matchPredicate :putState;
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
67 :putUrl <http://bang:10011/output>;
5373c5cc03c4 device configs
drewp <drewp@bigasterisk.com>
parents:
diff changeset
68 :putPredicate :state .