This plugin installs, starts and uses mochad to control your X10 devices. It will allow you to simply turn on and off your devices.
-
Indicate the port mochad uses (default is 1099):
pg_x10_mochad_port=1099
-
List your device names & corresponding addresses in
json
formatpg_hc_config='{ "devices":[ { "name": "BEDROOM", "address": "A1"}, { "name": "LIVING ROOM", "address": "A2"}, { "name": "BAR", "address": "A3"} ]}'
Français
Vous: allume le bar
Jarvis: J'allume le bar...
# > echo "pl A3 on" | nc localhost 1099
English
You: turn on the bar
Jarvis: Switching on the bar...
# > echo "pl A3 on" | nc localhost 1099