Hi
I’m hoping someone can help me with a few issues that I’m having with the particular zwave device configurations. But I am a Zwave newbie, so I’m most likely missing something basic…
First things first.
I’m running openHABian on a RPi4 with OH 3.1 - its a fresh install, and I have Zwave binding and controller up and running fine with a couple of other devices - I have seemingly no other issues with with any other devices, controllers or anything else.
UPDATED
The problems I have are that some commands being sent from OH to the device do not seem to reach it.
A) I’m unable to control the color of the push buttons of the physical device when I create a color item linked to the “Color, pushbuttonX” channels - it is the case for all the color channels. When the item is created the value reads NULL - after 24+ hours it is still not updated. The usual sliders never appear, and look like this.
I have tried setting parameter 10 (advanced LED control) to 1 - also tried setting it back to 0, and then 1 again.
I can make the sliders appear by linking the item to another channel of another device, but when changing the color levels afterwards I get the following error:
2021-08-03 22:16:12.769 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Command received zwave:device:dbf3a74e52:node4:color_color4 --> 0,85,100 [HSBType]
2021-08-03 22:16:12.770 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'org.openhab.binding.zwave.handler.ZWaveThingHandler@19373f6': null
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.converter.ZWaveColorConverter.receiveCommand(ZWaveColorConverter.java:138) ~[?:?]
at org.openhab.binding.zwave.handler.ZWaveThingHandler.handleCommand(ZWaveThingHandler.java:1205) ~[?:?]
at jdk.internal.reflect.GeneratedMethodAccessor72.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
at org.openhab.core.internal.common.InvocationHandlerSync.invoke(InvocationHandlerSync.java:59) [bundleFile:?]
at com.sun.proxy.$Proxy555.handleCommand(Unknown Source) [?:?]
at org.openhab.core.thing.internal.profiles.ProfileCallbackImpl.handleCommand(ProfileCallbackImpl.java:80) [bundleFile:?]
at org.openhab.core.thing.internal.profiles.SystemDefaultProfile.onCommandFromItem(SystemDefaultProfile.java:48) [bundleFile:?]
at jdk.internal.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
UPDATE 2
After fiddling around re-including the device, I noticed that all values for linked items are NULL untill that items channel reports a new value. I do not have a way in OH to change the value of the colors, using this parameter, so if there is a way to do it ‘manually’ I could try that - if someone knows how to send a particular value to a specific setting in the Zwave controller on OH3 then please let me know!
B) When I try to change the state of the pushbuttons from OH the log shows the following output:
2021-08-04 19:05:36.440 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 8: Command received zwave:device:dbf3a74e52:node8:switch_binary1 --> ON [OnOffType]
2021-08-04 19:05:36.441 [DEBUG] [converter.ZWaveBinarySwitchConverter] - NODE 8: Command class class COMMAND_CLASS_SWITCH_BINARY for endpoint 1 not found
2021-08-04 19:05:36.441 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 8: No messages returned from converter
2021-08-04 19:05:36.427 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'ZWaveAfbryderKokken_Statepushbutton1' received command ON
2021-08-04 19:05:36.428 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'ZWaveAfbryderKokken_Statepushbutton1' predicted to become ON
2021-08-04 19:05:36.436 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'ZWaveAfbryderKokken_Statepushbutton1' changed from OFF to ON
As the device database states I have changed configuration parameters 19, 27, 35, 43 to value 2, to ensure push button activation should work.
I have tried to reinitialize the device, which had no effect, and I have tried excluding the device, and including it again, also without any difference in behavior. (That is why the node number changed in the logs provided)
UPDATE 3
Since I am still learning about the hidden secrets on zwave, I’ve come across these association groups - I’ve still not gotten my head around those, but could that be needed for the buttons to work properly, so that the OH command somehow needs to be associated with the individual buttons??
Sending a command on the dimmer channel does work, but I noticed above the log shows that class is written 2 times - could that be an issue, if it is not an issue with association?
Command class class COMMAND_CLASS_SWITCH_BINARY for endpoint 1 not found
I hope someone can point me in the right direction or maybe has some experience with a working version of the device with the zwave binding