From 8a3b555e6a5adea44bb312f4589d46b885c23ec1 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 11 Oct 2016 19:26:30 +0000 Subject: [PATCH] Helpful ZWave Commands --- shell_scripts/zwave_commands.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 shell_scripts/zwave_commands.txt diff --git a/shell_scripts/zwave_commands.txt b/shell_scripts/zwave_commands.txt new file mode 100755 index 00000000..0b9ce526 --- /dev/null +++ b/shell_scripts/zwave_commands.txt @@ -0,0 +1,11 @@ +Turn off Disco lights +echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00 + +Turn on Disco lights +echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00 + + +USING THE OZWCP WEB APPLICATION +cd /srv/hass/src/open-zwave-control-panel/; sudo ./ozwcp -p 8888 + +Specify your zwave controller, for example /dev/ttyACM0 and hit initialize \ No newline at end of file