-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Erratic button event sequence from Ikea Rodret (E2201) #20024
Comments
Could you provide the herdsman debug log of this? See this on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files. |
I rebooted the system and the problem is gone. That probably explains why not everybody in the linked issues saw the behavior. I'll post the logs when the problem reappears and close this issue until then. Thanks for your help! |
I paired a new Rodret today and it happened again. Here's an example with herdsman logs: I pressed the following button sequence:
The following sequence was logged by Z2M:
So there are 4 unexpected events. Herdsman log: _addon_45df7312_zigbee2mqtt_logs.txt Sometimes this can get much worse with a "storm" of unexpected events. I haven't noticed a pattern, but the unexpected events always seem to be kind of replays from past button presses. Interestingly, restarting the Z2M container doesn't fix it, but rebooting the system does (as also reported in my previous post). Maybe it's related to the coordinator? |
Paired another one. Same issue, disconnecting/reconnecting the coordinator fixes it. |
Please provide the herdsman debug log See this on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files. |
Logs are attached above in #20024 (comment) |
Pushed a possible fix! Changes will be available in the dev branch in a few hours from now. |
I paired another one today and wasn't able to reproduce the issue - so I guess I can confirm that your fix works :) Thank you! |
What happened?
The Ikea Rodret dimmer (Koenkk/zigbee-herdsman-converters#5964) sends key-press commands repeatedly, e.g., multiple commands for a single press. The sequence seems to depend on the history of key-presses which happened earlier. For example, pressing
on
can result in a sequence likeon
/on
/off
/on
. If automated through HA, this results in crazy light effects 😅Here is an example log of the
off
button pressed once:There are five
commandOff
commands, resulting in multiple MQTTaction
messages.The same happens for the
on
andbrightness
commands. Here is another example log of an on/dim_up/dim_release/on/off key-press sequence (only the Zigbee messages):The logs show 4 unexpectedly repeated commands, and a few more happened later.
Similar behavior of the Ikea Symfonisk remote is described in #18013 (comment) and #17195.
What did you expect to happen?
Every key-press action should only be published once.
How to reproduce it (minimal and precise)
Pair the switch (firmware 1.0.47), press buttons and check logs.
Zigbee2MQTT version
1.34.0
Adapter firmware version
20221226
Adapter
Sonoff ZBDongle-P
Debug log
No response
The text was updated successfully, but these errors were encountered: