Exception with Z-WAVE>ME WALLC-S Controller

Hello!

After having annoying hours/days of including some Z-WAVE>ME WALLC-S Controllers, I am facing a new problem.

Everytime I hit one of the buttons of this controller, I get the following stack trace in the openhab.log:

2017-01-04 13:52:59.699 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.NullPointerException
	at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveSecurityCommandClass.sendNonceReport(ZWaveSecurityCommandClass.java:432)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveSecurityCommandClass.handleApplicationCommandRequest(ZWaveSecurityCommandClass.java:387)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveSecurityCommandClassWithInitialization.handleApplicationCommandRequest(ZWaveSecurityCommandClassWithInitialization.java:269)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208)[179:org.openhab.binding.zwave:2.0.0.b5]
	at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324)[179:org.openhab.binding.zwave:2.0.0.b5]

Has anyone any idea what’s wrong here? Or at least what I can try to get it running?

My setup is as follows.

  • Raspberry PI Model 2
    
  • Razberry Daughter Card
    
  • OpenHAB2 b5
    
  • Z-Wave Binding binding-zwave - 2.0.0 b5
    

Thanks in advance,
Florian

Hi, I’m experiencing the same issue … trying to send ‘scenes’ from a double-click on the WALLC-S to the main controller (a Aeon Labs Aeotec Gen 5 Z-Wave USB on raspbian).

Sorry - I missed this earlier. It looks like you have security enabled - this doesn’t work in OH2 main branch at the moment and is likely the cause of your problem. Disable security in the controller settings and see if that fixes it.

The only setting regarding security is the “Secure Inclusion Mode”. I set it to “Do not use security” and I also removed the network security key. After that I removed the thing and rediscovered it.

Unfortunately it does not work, but now I have something different in my log file:

2017-02-15 19:47:12.950 [ERROR] [col.security.ZWaveSecureNonceTracker] - NODE 32: SECURITY_ERROR Device message contained nonce that is unknown to us, id=-10.
2017-02-15 19:47:12.952 [WARN ] [col.security.ZWaveSecureNonceTracker] - NODE 32: Expiring nonce with id=6

Any ideas?

Btw, the other things work well, especially the roller shutter. Only this WALLC-S Controller is making trouble.

Thanks for any help,
Florian

Well, it looks like the device is still trying to use security for some reason.I don’t know why if you’ve disabled it, but these messages are clearly security issues, and security is not working in OH2. Maybe the device is included securely and is sending the NONCE when you press the button, but if you have completely reset the device, it should also disable security in the device as well.