Sliders for MQTT Dimmer Items Not Working After Upgrade to OpenHAB 4.3

Hi everyone,

After upgrading to OpenHAB 4.3, I’ve encountered an issue where the sliders for all MQTT dimmer items are no longer functional in the graphical interface. The dimmers cannot be controlled via the UI and appear stuck at zero. However, the system continues to work perfectly through rules and voice assistants.

Interestingly, only the sliders are affected: switches and color wheels for other MQTT items function normally. I have also tried creating a completely new thing with its associated dimmer item, but the slider remains stuck.

Furthermore, I noticed that when I adjust the slider in Zigbee2MQTT, the numerical percentage value of the slider changes in OpenHAB, but the slider’s knob remains at zero and does not move. Similarly, when I use a group command to control the individual dimmers, the numerical values update, but the slider’s knob still doesn’t move. Additionally, the sliders no longer display the graduated scale.

It’s worth mentioning that dimmers from other bindings are working correctly, so this issue appears to be specific to MQTT dimmer items. Before the upgrade, everything was working perfectly. If there are any parameters I should check or settings to verify, please let me know which ones could potentially be causing this issue.

I would also like to take this opportunity to thank the community for all the hard work and the invaluable support you provide. It’s always appreciated!

Thanks in advance for your help!

This has been noted by several users in the OH 4.3 Discussion thread. What worked for me and others is to add a stateDescription metadata to the slider item with a step unit of 1.

huchMarkus Schuch

N1k145

15d

I also can confirm this. All sliders of dimmer items linked to an mqtt:dimmer channel are stuck at position 0 after upgrading to 4.3.

A workaround for me was setting a state description “step” of 1.

Thank you so much for pointing this out and for sharing the workaround! I hadn’t gone that deep into the thread, but your suggestion about setting the state Description metadata with a step unit of 1 solved my issue perfectly. I really appreciate your help!

1 Like

@florian-h05 is this a UI thing, or a binding issue?

I would tend to point towards the binding, my KNX dimmers work fine and I don’t remember a change to the dimmer widget.