Page 1 of 1

Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Thursday 27 May 2021 19:07
by VeldmDomo
Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Version: 2021.1 (April 17 2021) Stable
Platform: Raspberry Pi 4 Model B Rev 1.1 8Gb
OpenZwave version: 1.6-1911-gc6a420ef
Plugin/Hardware: Aeotec Z-Pi 7 ZWA025 GPIO board
Z-Wave SDK: 7.11.0 or later

Description:

The Zwave controller is visible under hardware (Domoticz). However, the setup button remains red.
And when I click this I see no controller at setup.

The aeotec website states that the Z-Pi 7 has been tested with the Raspberry Pi 3 and higher.
This shouldn't be the problem.

I have also tested with Home Assistant on the same hardware. Here the Z-Pi 7 works normally.
However, it appears as:
Silicon Labs
700 Series-based Controller
ZST10-700

I have also tested with the latest Beta version of Domoticz. But the same problem persist.

On the Raspberry Pi 4 I have also changed the config.txt with:

Code: Select all

sudo nano /boot/config.txt
dtoverlay=disable-bt
enable_uart=1
And I have set:

Code: Select all

sudo nano /etc/udev/rules.d/09-tty.rules
KERNEL=="ttyAMA0", SYMLINK+="ttyUSB20"
Then I can use a USB port instead of the AMA.

I get the error message below in Domoticz:
2021-05-27 16:51:12.857 Status: Zwave: OpenZWave: using config in: /home/pi/domoticz/Config/
2021-05-27 16:51:12.889 Status: Zwave: OpenZWave: Starting...
2021-05-27 16:51:12.889 Status: Zwave: OpenZWave: Version: 1.6-1911-gc6a420ef
2021-05-27 16:51:30.349 Status: Zwave: OpenZWave: A DNS Error Occurred
2021-05-27 16:51:30.349 Status: Zwave: OpenZWave: ManufacturerSpecificDB Ready
2021-05-27 16:51:31.355 Status: Zwave: OpenZWave: Controller Library is not a type we support
2021-05-27 16:51:31.355 Error: Zwave: OpenZWave: Driver Failed!!

Could it be that Domoticz does not support the Z-Pi 7 yet?
Or that the Controller Library, (Z-Wave SDK: 7.11.0) is not (yet) supported?

Has anyone already got the Aeotec Z-Pi 7 ZWA025 GPIO board working with Domoticz on a raspberry pi?


I hope someone can help me.

Re: Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Thursday 27 May 2021 21:03
by waltervl
Please someone else will correct me if I am wrong but I think that the 700 series controllers are not supported by Openzwave 1.6, the library that Domoticz is using. If you google you will find that those controllers will be supported in Openzwave 1.7. But as the real development of Openzwave stopped more or less (only maintence of 1.6) it will take some time it really will be supported.

Some users are setting up a Python plugin based on another Zwave library but that is still in alpha phase.

Re: Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Friday 28 May 2021 8:54
by lost
waltervl wrote: Thursday 27 May 2021 21:03 Please someone else will correct me if I am wrong but I think that the 700 series controllers are not supported by Openzwave 1.6, the library that Domoticz is using.
From Aeotec comparison sheet, looks Zpi7 controller is type "bridge" instead of "static" for previous gen5.
https://aeotec.com/z-wave-home-automati ... t-pcb.html

From OZW source code, that's clear:
https://github.com/OpenZWave/open-zwave ... Driver.cpp

Message is triggered from HandleGetVersionResponse starting at line 2435. And supported contoller types are ZW_LIB_CONTROLLER_STATIC and ZW_LIB_CONTROLLER only.

There is a define for bridge type, but currently unused in the whole OZW tree:

Code: Select all

grep -r ZW_LIB_CONTROLLER *
cpp/src/Driver.cpp:	if (!((m_libraryType == ZW_LIB_CONTROLLER_STATIC) || (m_libraryType == ZW_LIB_CONTROLLER)))
cpp/src/Defs.h:#define ZW_LIB_CONTROLLER_STATIC  						0x01
cpp/src/Defs.h:#define ZW_LIB_CONTROLLER         						0x02
cpp/src/Defs.h:#define ZW_LIB_CONTROLLER_BRIDGE  						0x07
=> I suppose support was planned in OZW 1.6, but Fishwaldo stepped back before this was done. Maybe someone with z-wave knowledge could add support for this, JS is IMO not an appropriate language for a hardware driver (going there from C++, I'll not even comment this!) + changing library => probably need to rebuild all z-wave network. When having 10's of nodes, that's a huge job...

Maybe that's time to buy a spare gen5 device before they are not sold anymore?

Re: Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Monday 31 May 2021 18:36
by VeldmDomo
Thanks for your help.
I have an Aeotec Z-Stick Gen5. (in use for update Aeotec devices)
I will use this until the Z-Pi7 is well supported.

Re: Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Friday 04 June 2021 10:05
by lost
VeldmDomo wrote: Monday 31 May 2021 18:36 Thanks for your help.
I have an Aeotec Z-Stick Gen5. (in use for update Aeotec devices)
I will use this until the Z-Pi7 is well supported.
Not sure this'll be done or even feasible (documentation not fully available anymore): Googling about bridge mode for zwave controllers looks to be a hard push to force using their Z/IP stack by silabs... They just refuse to provide a static firmware for newer controller chips for now, killing the DIY side of z-wave ecosystem.

=> Best approach may just be to avoid buying gen7 devices until they change their mind? IMO, going ahead is digging the hole of their wooden box for the fun&profit of zigbee!

Meantime, there is good discounts on gen5 devices (+almost no gen7 devices proposed,not a single controller reference): Sometimes, good brands prices just fall in chinese Neo-Coolcam range here in France. Looks sellers realized they have to clear their stocks before it's too late if silabs keeps playing russian roulette with an important part of zwave ecosystem.

Re: Aeotec Z-Pi 7 (ZWA025) not working with Domoticz?

Posted: Friday 23 July 2021 11:40
by MartinManders
Thanks for this clearance.
I’ll put the gen7 products in its box for future use.

And totally agree with you’re overall statement 👍