From LedHed's Wiki
(Created page with "== Overview == The Aeotec ZStick is a USB ZWave+ device that lets you interface with other ZWave devices. == Disco Lights == The ZStick has an annoying trait in that there i...") |
|||
Line 7: | Line 7: | ||
x01 x08 x00 xF2 x51 x01 x00 x05 x01 x51 | x01 x08 x00 xF2 x51 x01 x00 x05 x01 x51 | ||
+ | |||
+ | == Home Assistant to the Rescue == | ||
But thats not convenient so we'll set it up as a Toggle in Home Assistant: | But thats not convenient so we'll set it up as a Toggle in Home Assistant: | ||
switch: | switch: | ||
Line 15: | Line 17: | ||
command_on: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00' | command_on: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00' | ||
command_off: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00' | command_off: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00' | ||
− | |||
Revision as of 18:45, 5 April 2020
Overview
The Aeotec ZStick is a USB ZWave+ device that lets you interface with other ZWave devices.
Disco Lights
The ZStick has an annoying trait in that there is a multicolored ring that loops constantly. To disable it send the following to its serial interface:
x01 x08 x00 xF2 x51 x01 x00 x05 x01 x51
Home Assistant to the Rescue
But thats not convenient so we'll set it up as a Toggle in Home Assistant:
switch: - platform: command_line switches: aeotec_zstick_disco_light: friendly_name: 'Aeotec Z-Stick Disco Light' command_on: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00' command_off: 'echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00'
Reference
https://community.home-assistant.io/t/aeotec-gen5-z-stick-strobing-led-question-in-hass-io/28635/9