Hardware: _Raspberry 4, 8GB + Aeotech 5th gen z-wave stick
openHAB version: Openhabian 2.5
Hi to everyone.
I’ve bought a ZWA005 fromw Aeotec, a trisensor.
I follow all the instruction in the small manual and it seems that I paired my sensor to my network.
Now I have to autodiscover my sensor…
My paper UI find it but is an unkown device.
the log says:
Blockquote 2020-11-26 22:22:28.437 [ERROR] [mmandclass.ZWaveSecurityCommandClass] - NODE 12: Error decapsulating security message
java.security.InvalidKeyException: No installed provider supports this key: (null)
at javax.crypto.Cipher.chooseProvider(Cipher.java:896) ~[?:1.8.0_265]
at javax.crypto.Cipher.init(Cipher.java:1252) ~[?:1.8.0_265]
at javax.crypto.Cipher.init(Cipher.java:1189) ~[?:1.8.0_265]
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:?]
Now… I see that this product has the possibility to have a S2 security network. If i understand the log, it ask for a key.
I suppose it is my DSK key… but I have no idea where to put this on my OH2.
There are 10 stable versions of openHAB 2.5 (openHABian is only at version 1.6, I think) and some development snapshots. What is the third number on your openHAB version?
If you tried to pair it securely, that is your issue. The security key is part of the openHAB binding.
Now… I see that this product has the possibility to have a S2 security network. If i understand the log, it ask for a key.
I suppose it is my DSK key… but I have no idea where to put this on my OH2.
All S2 security devices must be backward compatible with the older standard. openHAB does not support S2 security but works with S2 devices either unencrypted or with the older security. Since I have no security devices, I run my network unencrypted.
Do you really need secure pairing? Let’s start there. The device is listed in our community maintained database so it should be known my any 2.5 version binding.
I would ask yes… but I don’t know in the manual there is no procedure for the secure pair… there is just the pairing.
No I don’t need (for the moment) the secure pairing, I just need it for control a light.
But from what I see on the Log it seems that the system is in secure mode… (not really sure).
How did you pair it though? Using the button on the controller?
It is best to include it through openHAB. Battery operated devices tend to not stay awake long enough to be fully discovered by openHAB. Once discovered and identified, it should work though.
I am assuming the device and controller are both the proper ones for your world region. There are several incompatible world regions.
Hi,
I am experiencing similar problems with a TriSensor + Z-Stick (original one). I tried the pairing via the device buttons, but get the ‘Unknown Device’ in OpenHAB. How do I include the TriSensor through OpenHAB? The ‘Scan’ only seems to work if the TriSensor is already paired.
After the initial issue I don’t have any other problem.
The thing for me was that the sensor tried to connect via security link, and OH didn’t like it…
Try to follow the procedure frome Bruce_Osborne it work for me.