Home-AssistantConfig/config/shell_scripts/zwave_commands.txt

11 lines
404 B
Plaintext
Raw Normal View History

2018-01-02 00:00:45 +00:00
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