# HG changeset patch # User drewp # Date 1581407906 28800 # Node ID 0c8aa432ec9d2c1c824fb3f07afcb2f0252b2a84 # Parent 8c410b493da499bc09e9ab572f160f88b4b5251f more devices Ignore-this: f4279781f8d09d5b75cb1f6e740a7898 darcs-hash:19aefa5ea7d91e15e751582454a7bcb6d31ae8f9 diff -r 8c410b493da4 -r 0c8aa432ec9d 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 8c410b493da4 -r 0c8aa432ec9d 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}' }