# HG changeset patch # User drewp@bigasterisk.com # Date 1581407906 28800 # Node ID 1f8abec7f6879129879872d78572bfb14f218260 # Parent 03bad43bbcb3690516830fc27e08a23d0906d3e2 more devices Ignore-this: f4279781f8d09d5b75cb1f6e740a7898 diff -r 03bad43bbcb3 -r 1f8abec7f687 service/rdf_to_mqtt/index.html --- a/service/rdf_to_mqtt/index.html Mon Feb 10 23:56:42 2020 -0800 +++ b/service/rdf_to_mqtt/index.html Mon Feb 10 23:58:26 2020 -0800 @@ -17,8 +17,18 @@

Send demo statements to bridge:

+
+
+
+
+
+
+
+
+
+
+
+ /stats/ + /output (post) +
diff -r 03bad43bbcb3 -r 1f8abec7f687 service/rdf_to_mqtt/rdf_to_mqtt.py --- a/service/rdf_to_mqtt/rdf_to_mqtt.py Mon Feb 10 23:56:42 2020 -0800 +++ b/service/rdf_to_mqtt/rdf_to_mqtt.py Mon Feb 10 23:58:26 2020 -0800 @@ -31,6 +31,37 @@ 'ctx': ROOM['sonoff_0'], 'values': 'binary', }, + ROOM['livingLamp1']: { + 'root': 'sonoff_1/switch/sonoff_basic_relay/command', + 'ctx': ROOM['sonoff_1'], + 'values': 'binary', + }, + ROOM['livingLamp2']: { + 'root': 'sonoff_2/switch/sonoff_basic_relay/command', + 'ctx': ROOM['sonoff_2'], + 'values': 'binary', + }, + ROOM['livingLamp3']: { + 'root': 'sonoff_3/switch/sonoff_basic_relay/command', + 'ctx': ROOM['sonoff_3'], + 'values': 'binary', + }, + ROOM['livingLamp4']: { + 'root': 'sonoff_4/switch/sonoff_basic_relay/command', + 'ctx': ROOM['sonoff_4'], + 'values': 'binary', + }, + ROOM['livingLamp5']: { + 'root': 'sonoff_5/switch/sonoff_basic_relay/command', + 'ctx': ROOM['sonoff_5'], + 'values': 'binary', + }, +#-t theater_blaster/ir_out -m 'input_game' +#-t theater_blaster/ir_out -m 'input_bd' +#-t theater_blaster/ir_out -m 'input_cbl' +#-t theater_blaster/ir_out -m 'input_pc' +#-t theater_blaster/ir_out/volume_up -m '{"times":1}' +#-t theater_blaster/ir_out/volume_down -m '{"times":1}' }