Z-WAVE sending (false) additional chanell state event

Hello,
I am using Domitech bulbs and all are showing this behavour. Originally I thought my problem was UI related:


But after setting zwave-binding to DEBUG i found that my problem stems from the binding sending a “false” state update message, resulting in the items state to change:

//use slider to turn on light, first message sets bulb(and item) to correct state:
2017-05-13 13:52:04.163 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 9: Command received zwave:device:908f55eb:node9:switch_dimmer --> 42
2017-05-13 13:52:04.173 [ItemCommandEvent          ] - Item 'Licht_Wohnzimmer_Decke' received command 42
2017-05-13 13:52:04.173 [ItemStateChangedEvent     ] - Licht_Wohnzimmer_Decke changed from 0 to 42
//but then for whatever reason zwave sets updates the state to 0:
2017-05-13 13:52:04.242 [DEBUG] [alization.ZWaveNodeInitStageAdvancer] - NODE 9: Starting initialisation from DONE
2017-05-13 13:52:04.242 [DEBUG] [ve.internal.protocol.ZWaveController] - Event Listener org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeInitStageAdvancer@10876532 already registered
2017-05-13 13:52:04.243 [DEBUG] [ssage.ApplicationCommandMessageClass] - NODE 9: Incoming command class SWITCH_MULTILEVEL
2017-05-13 13:52:04.243 [DEBUG] [ss.ZWaveMultiLevelSwitchCommandClass] - NODE 9: Received SWITCH_MULTILEVEL command V1
2017-05-13 13:52:04.243 [DEBUG] [ss.ZWaveMultiLevelSwitchCommandClass] - NODE 9: Switch Multi Level report, value = 0
2017-05-13 13:52:04.243 [DEBUG] [ve.internal.protocol.ZWaveController] - Notifying event listeners: ZWaveCommandClassValueEvent
2017-05-13 13:52:04.243 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 9: Got an event from Z-Wave network: ZWaveCommandClassValueEvent
2017-05-13 13:52:04.243 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 9: Got a value event from Z-Wave network, endpoint = 0, command class = SWITCH_MULTILEVEL, value = 0

2017-05-13 13:52:04.244 [DEBUG] [ding.zwave.handler.ZWaveThingHandler] - NODE 9: Updating channel state zwave:device:908f55eb:node9:switch_dimmer to 0 [PercentType]
//which in turn messes up the items state:
2017-05-13 13:52:04.246 [ItemStateChangedEvent     ] - Licht_Wohnzimmer_Decke changed from 42 to 0

Unfortunatly i can not say for certain after which update of OH this started. It was working OK initially.
Is anybody else having this problem - or any idea how to fix this?
Many thanks in advance,
Best Regards,
-OLI

I think this is the same problem we see with some devices. The binding requests an update of the device status after sending a command to a device and some devices will report values from before the change was made.

A fix is in the pipeline for this.

This is good news!
Starting digging through all my “light” releated rules just to check if there was some weired error or something.
Sooo…I’ll just relax and wait :slight_smile:

Thanks for taking all the time to provide this great work to the community!!

Here some feedback:
Just did a patch&reboot all. I’m now on:
2.1.0-SNAPSHOT Build #922
2.1.0.201705192246 | ZWave Binding

And the issue is GONE!!

Just spent some minutes sliding them sliders and switching them knobs with a happy face :slight_smile:
Thanks Chris!