System:
RPi4B - openHABian 1.7.2 - openhab 3.2.0 release - openjdk 11.0.14
When trying to include the ZWave device Aeotec Nanomode quad remote (ZWA003), the controller could add it and it showed up in the things with the correct device name.
However, I could not get it to send scenes or battery info to openhab.
Then I found out that openhab had not created an xml file.
The device can be put into awake mode, which I did hoping to complete the device initialization, but to no effect.
Using long wakeup or quick wakeup on the device multiple times had no result.
I then moved the ZWave stick to my PC and started Silabâs âZWave PC Controller 5â. It showed that the device was included by the stick, however when I requested a NIF the SW responded with:
âWakeup period not specifiedâ
I then excluded the device from the stick and re-included it. I now had the option to enable S0 and S2 (both enabled by default).
However, when I then returned the stick to my RPi (where I deleted the device first), it could add the remote but with the message:
âDevice discovery could not resolve to a thingType! Manufacturer data not known.â
âError decapsulating security messageâ
âjava.security.InvalidKeyException: No installed provider supports this key: (null)â
at javax.crypto.Cipher.chooseProvider(Cipher.java:930) ~[?:?]
at javax.crypto.Cipher.init(Cipher.java:1286) ~[?:?]
at javax.crypto.Cipher.init(Cipher.java:1223) ~[?:?]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveSecurityCommandClass.generateMAC(ZWaveSecurityCommandClass.java:528) ~[bundleFile:?]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveSecurityCommandClass.getSecurityMessageDecapsulation(ZWaveSecurityCommandClass.java:319) [bundleFile:?]
at org.openhab.binding.zwave.internal.protocol.ZWaveNode.processCommand(ZWaveNode.java:1238) [bundleFile:?]
at org.openhab.binding.zwave.internal.protocol.ZWaveTransactionManager$ZWaveReceiveThread.run(ZWaveTransactionManager.java:532) [bundleFile:?]
I tried this with both S0 and S2 enabled and with only S0 enabled - with the same result.
I excluded the remote from the stick again and started from fresh with my test RPi and a fully reset ZWave stick.
I attached the resulting logs with ZWave logging enabled.
These are the actions that I did:
10:26: added the ZWave stick to RPi
10:33: added the ZWA003 remote to openhab
10:37: I changed the configuration: (device is in awake mode)
association group 1: controller
wakeup interval: 1800
11:09: I changed the configuration: (device is in awake mode)
association group 1: controller
wakeup interval: 300
wakeup node: 1
11:21: log shows: polling node 2 â Polling deferred until initialization complete (while device is in awake mode)
11:24: I set ZWave controller default wakeup to 60
11:25: controller requests NIF â no response (while device is still in awake mode)
11:28: moved stick to PC Controller again
â again cannot request NIF : Wakeup interval for current node not assigned (while device is in awake mode)
â excluded device from USB stick
â again included device to USB stick, now with both S0 and S2 disabled
â the wakup interval is assigned when using PC Controller, a NIF is returned when I put the device in awake mode
(the PC controller log is attached as jpeg)
11:38: returned the controller to RPi, device is in awake mode
11:40: Device initialisation complete
â xml is now created at 11:39
Finally working, my rule receives a scene number when pushing a button.
11:51: removed the device from the stick (using âexclude devicesâ) â this worked OK
To me it is not clear why openhab fails the initialization. Could be the fact that the device is a ZWave+ thing and that it can support encryption?
Or that in the first initialization stages the wakeup period isnât communicated? Silabâs SW failed to get a NIF in this case as well.
events.log (7.5 KB)
openhab.log (799.4 KB)