Z-Way Inclusion Issue for Battery Powered Enddevices (NOT_LISTENING)
Posted: 25 Aug 2022 13:27
In order to verify why I was having trouble to include some door/window sensors (binary sensors), I started an investigation into Z-Way's z-wave inclusion compliance. Since I also develop my own end devices based on ZGM130S and ZGM230S hardware, using Silicon Labs' SS5 software, I was able to investigate at a fairly low level.
The main issue I found is the inclusion of "APPLICATION_NODEINFO_NOT_LISTENING" devices using UNSECURE mode.
Once the unsecured command class list (cmdClassListNonSecureNotIncluded[]) contains the command classes COMMAND_CLASS_SECURITY and/or COMMAND_CLASS_SECURITY_2, the Z-Way inclusion process will hang and the interview following the formal inclusion process will not take place. As a result, Z-Way displays the included end device, but without any functionality.
I have used multiple SDKs (SDK v3.2.3 / Z-Wave 7.16.3.0 and SDK v4.1.0 / Z-Wave 7.18.0.0) as well as different Z-Way versions (Raspberry Pi version 3.2.3 and 4.0.0-102-g45c41aa6). In contrast, both, secure S0 and S2 inclusions are properly completed.
Take a long story short… in case you find that your battery powered sensor is not included correctly by Z-Way in unsecure mode, simply use a secure S0 or S2 mode which may or may not be better anyway.
Just one other remark… Booting a Raspberry Pi using Z-Way version 34.0.0-102-g45c41aa6 unfortunately creates the PI warning:
dtwarn: overlay ‘pi3-miniuart-bt’ has been renamed ‘minimart-bt'
This warning is not displayed when using Z-Way version 3.2.3.
The main issue I found is the inclusion of "APPLICATION_NODEINFO_NOT_LISTENING" devices using UNSECURE mode.
Once the unsecured command class list (cmdClassListNonSecureNotIncluded[]) contains the command classes COMMAND_CLASS_SECURITY and/or COMMAND_CLASS_SECURITY_2, the Z-Way inclusion process will hang and the interview following the formal inclusion process will not take place. As a result, Z-Way displays the included end device, but without any functionality.
I have used multiple SDKs (SDK v3.2.3 / Z-Wave 7.16.3.0 and SDK v4.1.0 / Z-Wave 7.18.0.0) as well as different Z-Way versions (Raspberry Pi version 3.2.3 and 4.0.0-102-g45c41aa6). In contrast, both, secure S0 and S2 inclusions are properly completed.
Take a long story short… in case you find that your battery powered sensor is not included correctly by Z-Way in unsecure mode, simply use a secure S0 or S2 mode which may or may not be better anyway.
Just one other remark… Booting a Raspberry Pi using Z-Way version 34.0.0-102-g45c41aa6 unfortunately creates the PI warning:
dtwarn: overlay ‘pi3-miniuart-bt’ has been renamed ‘minimart-bt'
This warning is not displayed when using Z-Way version 3.2.3.