home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.79k stars 30.49k forks source link

Zigbee buttons using Zigbee2Mqtt no longer reports first press #128653

Open kirashogun opened 1 week ago

kirashogun commented 1 week ago

The problem

HA no longer receives message from Zigbee button on initial first press. Functions as normal on second press but after 10 minutes or so, reverts to the default state where HA no longer receives message generated on the first press of a zigbee button, only subsequent presses. This issue didn't not exist in 2024.09 and the issue went away when reverting back to 2024.09.

Basically you need to press Zigbee button once to "wake it up" then it functions as normal.

What version of Home Assistant Core has the issue?

core-2024.10.0 and later

What was the last working version of Home Assistant Core?

core-2024.9.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee2MQTT

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

z-master42 commented 6 days ago

As this concerns Zigbee, I don't think this is an HA problem. As the name suggests, the connection between Z2M runs via MQTT.

Have you looked through the changelog from 2024.9 to 2024.10(.2)?

kirashogun commented 6 days ago

Thanks for the reply. The version of Z2M (1.40.1-1) and MQTT Add on (6.4.1) stayed exactly the same. As soon as I upgrade to 2024.10.x, the first click of a zigbee button no longer registers. The issue disappears as soon as I roll back to 2024.9.0 (the only version I have available as backup). So given everything stayed the same except 2024.10, I suspected something must have happened in 2024.10.

kirashogun commented 6 days ago

Just upgraded to 2024.9.3, everything still works. 2024.10.0, zigbee button's first press stops registering. Something must have happened in 2024.10.0. Still broken in 2024.10.2.

arqtron commented 4 days ago

Having the same issue with Aqara and Ikea buttons. When I check the state of the devices, the clicks aren't being detected.

Zigbee2MQTT, Current version: 1.40.2-1 Home Assisant, Core: 2024.10.3

kirashogun commented 4 days ago

Glad I'm no the only one with the problem. I can pin point it to 2024.10.0, that's when things stopped working.