Something is wrong with the “debounce” setting!
What happened?
Something is wrong with the “debounce” setting! Previously (versions < 2.7.x), this parameter could be changed in the web frontend under “Settings” for the device. This method no longer works (in version 2.7.1). I have to stop Zigbee2MQTT, edit the configuration.yaml file with an editor, and restart Zigbee2MQTT. Is this intentional?
What did you expect to happen?
that I can change the debounce parameter in the web frontend under “Settings” for each device.
How to reproduce it (minimal and precise)
Try to change the debounce parameter in the web frontend...
Zigbee2MQTT version
2.7.1
Adapter firmware version
0x26780700
Adapter
ConBee2
Setup
plain in Windows 10 x64 Pro
Device database.db entry
No response
Debug log
No response
Notes
No response
Which frontend are you using? Is it that you don't see the setting, or that it does not apply when changing it? Do you have an adblocker or something similar that could be making a false detection and hiding the field?
You can check with the WindFront demo, e.g.: https://nerivec.github.io/zigbee2mqtt-windfront/iframe.html?viewMode=story&id=app--single-instance&args=&globals=&sb-api-urls=localhost%3A8080%2Fapi&sb-api-names=Main#/device/0/0x00abcdef12345678/settings (then you can check in the logs page what was "sent" after changing the field).
Thanks for the hint. I have tested it now with another browser (Chrome based): Now it works...
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Wait, is this a Firefox issue? Do I really need to use Chrome to change that setting? It also does not wok in the Windfront demo. I can set the value to 5, then switch to another tab and go back and it's gone.
Edit: Also happens with Chromium. So no Firefox issue I guess.
7. It also does not wok in the Windfront demo. I can set the value to 5, then switch to another tab and go back and it's gone.
I believe the demo does not store any changes you make in those settings.
What's the issue on the real Z2M instance? Are you on the latest version? It works for me, I get an OK in bottom right and a notification in top right drawer:
z2m: New config for device 0xa4c1388d2d6fa93a requires restart to take effect
It's the latest version I get with HAOS:
- Zigbee2MQTT-Version: 2.14.2
- Frontend-Version: 2.15.0
- zigbee-herdsman-converters Version: 26.115.1
- zigbee-herdsman Version: 10.10.0
- Node-Version: v24.18.1
I get an OK in bottom right
Wait! Is that a button? Why doesn't it stay there then? It looks like this:
And after less than 5 seconds it vanishes again. I never thought about the possibility that this could be a button. But you're absolutely right. When I am fast enough and click it, the change persists.
But that "button" does not appear always. I also can write a 5 there and just wait whil nothing happens. When I use the tiny arrow buttons to go up to 5, also nothing happens. As soon as I switch to another tab and back the field is empty again. It works best when I write the number and immediately click outside of the input field on the background. Then the "button" appears and it even persists without clicking it. So maybe it never was a button all along. 😃
Mystery solved I guess. It's just a bad user experience. That's all.
No, the OK is not a button, just a notification / feedback indicator. If you see it, the new value was applied successfully
You are right, the input fields do not have a "submit" button. Instead, the UI submits the new value when you click away from the field.. 😅
I guess the UX depends on the system, for me it's pretty difficult to NOT trigger the submit.