I have got for a few years a Fibaro Dimmer 2, FDG-212.
For some time I have got this issue, but never came around to investigate this.
I don’t know when this problem started, could be over 6 months.
And maybe it has always been there and with changes over time it became an issue.
The issue I have is when there are changes on the first dimmer button, send from OH, there are also state updates on the second dimmer switch.
And it happens also the otherway arround, changes on the second button will give me updates on the first button.
When pressing the switch itself physically, this doesn’t happen though.
I don’t know if this is the binding doing something wrong or just how the switch works on remote inputs.
Because the messages I receive from this switch are only updates, no command, I can’t tell if it is just an update or someone pressed the button.
There is unfortunately no difference on this switch between actions, it is always an update message.
I hope my explanation is clear.
The question is, is this a know issue with this dimmer switch or maybe an issue with the binding?
Any idea’s for a work-around?
First of all it’s important to distinguish between an update and a change. Assuming you are using these terms correctly, the binding is behaviing as expected.
Any time that the binding gets data about a device, it will update the Items linked to the Channels whether or not the Item is already in that state. In fact the binding doesn’t know what state the Item is in.
So when you press the one button, the binding gets the information about all the buttons and updates the Items accordingly.
However, to figure out how to work with this we need more information.
What type of Channels represent the buttons? Momentary buttons are usually represented as event Channels. Toggles are usually represented with switch Channels.
How do you trigger your rules that respond to these button presses?
If these are linked to Items, do the Item states not change?
If they are event Channels, what is the contents of the event?
I don’t understand the problem, but for background, with the OH ZW binding if a command (change) is sent to the device on any channel, all linked items will be polled. There is a default setting of 1.5 seconds for this poll. It is part of the ZW specification. One option is the newer (with OH5) Zwave-js binding. The underlying application sometimes uses the supervision command class (if supported by the device) to send commands and then doesn’t poll. The device sends a report. I’d also add the underlying zwave-js application only polls the affected endpoint, not all linked channels/items