From LedHed's Wiki
Jump to: navigation, search

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

Jumping to a serial terminal is not very 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