Page 1 of 1

Aeotec ZW090

Posted: Monday 21 November 2022 11:37
by Ctenberge
Hi, Domotixz encourage users to switch from Open Zwave USB to Zwave JS UI. I use Domoticz on a Raspberry Pi and before switching to the desired Zwave JS IU I tried it out on a spare Pi. Bought me a Aeotec ZW090 stick and installed everything, followed the guidelines provided and got it to work.
There is only one thing not to my wishes and that is to switch off the led indicator on the stick. This is not presented in the configuration of the stick and I wonder why.
Installing the Open Zwave USB and there it was. In OZW the full configurations of Aeotec ZW090 is presented and there is the switch on/off of the led presented.
Why not in Zwave JS UI?
Please take a look at the attachement.

Re: Aeotec ZW090

Posted: Monday 21 November 2022 12:02
by waltervl
This is typically a question for the Zwave JS UI developers

Re: Aeotec ZW090

Posted: Monday 21 November 2022 12:28
by ferrosk
I agree with @waltervl you have to ask Zwave JS UI developers for implementing it.

Just a hint for the workaround. I do not own Aeotec zwave stick but searching on web, according to discussion on HA forum you can disable led by command from OS:

echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/ttyACM0

just replace the device file /dev/ttyACM0 in the example by the device file you use on your system to access the stick (i.e. see Zwave JS UI -> Settings -> Zwave -> Serial port).

But the setting will not be preserved upon system reboot so you need to find the way how to run the command during/after reboot. There are various ways to do it.

Re: Aeotec ZW090

Posted: Monday 21 November 2022 22:25
by roblom
For information, the LED can be turned off in the firmware which is described below.

https://aeotec.freshdesk.com/support/so ... tick-gen5-

Re: Aeotec ZW090

Posted: Tuesday 22 November 2022 23:09
by Ctenberge
I thank all of you for your suggestions. Indeed I should contact the developers, I have searched Github with the stick as argument and it is a well known issue. The problem lies with Aeotec and it will not be solved by the team. The stick works in Zwave JS UI and that's it.
So I use the solution from ferrosk, visited the HA forum and use their answer. It is really simple.
Make a dummy switch and set the on and off action in scripts, the off script contains the command off and the on script with the command on:
command_on: '/usr/bin/echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00'
command_off: '/usr/bin/echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00'
works like a charm, so thanks again