-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
[Bug] Devices reports No response status after upgrading to v1.10.0 #593
Comments
I do have the same issue running the |
I think I've noticed this myself now occasionally as well. Most of the time it only shows the devices unavailable that are also unavailable in Zigbee2MQTT (e.g. some sensors that still need fresh batteries or a light that has been physically turned off). A few times I've seen almost all accessories marked as "No Response". Unfortunately, I still need to figure out a workable way of getting the debug logs of my local installation. ( In my test though, disabling worked fine. I don't remember if changing that option also ignores the global Zigbee2MQTT online/offline state. I should look into that a bit more. |
I've been hit by this myself as well. It's a bit hard to track down the problem fully, but it seems to be related to the loss of connectivity to Zigbee2MQTT. If I restart zigbee2mqtt, some devices end up being incorrectly marked as "No Response" after the reboot. This happens both with the hb-z2m availability feature enabled or disabled. I suspect that some code-paths are hit to report availability even if the feature has been disabled. Another issue, that seems to be related to the availability reporting. Is that after upgrading to v1.10.0, homebridge-z2m will send (seemingly random?) commands to z2m after a restart of z2m. And turns devices on/off without any user interaction.
Any idea where this comes from? I've tried to disable all code paths related to availability reporting (just hacked something together), and so far it seems to fix both issues from above. |
@zegl I reckon that's something either HomeKit or Homebridge is doing. Not something in the plugin it self at least. I've also noticed some inconsistent behavior of this feature, so I will try to make an update that has it disabled by default (and also allows you to completely disable it, so also when Z2M is offline). |
Just pushed a new beta version where the Z2M online state/MQTT broker connection can be ignored, as well as some changes to the logging. |
I do have the same issue running the 1.11.0-beta.1. This is the recovery in the logs:
|
In the latest release ( |
I had a weird issue last night that I would like to share with you. Since the adaptive lighting feature is all messed up and not working for me anymore, I had to reset all of my bulbs just so I can get rid of the adaptive lighting symbol among the color picker. I had everything up and running just fine except that availability issue every now and then but I did a reset of a Philips Hue Go that I have and suddently all my devices went offline in the home app but Zigbee2mqtt worked just fine. I tried to restart zigbee2mqtt, still the same. I restarted Homebridge several times and still nothing so I restarted the raspberry pi… still nothing. The only thing that ”fixed” the issue was to restart my router and all devices came online. |
It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions! |
I've had it enabled for a while and for some reason all my devices suddenly ended up as "Not Available". Restarted every component, no dice. Seeing mentions of availability in the changelog I switched to Zigbee2MQTT itself thinks all the devices are online, I can toggle them and see their readings update. Devices appear online briefly if I change brightness, but not in other cases (quick toggle doesn't actually trigger anything if a device is marked not responsive by z2m it seems). HomeKit fetching current status also doesn't actually force Z2M to fetch it from (Zigbee2)MQTT. But in general I don't know where Z2M is getting the info that everything is offline. Is some kind of "unknown" (or stale) status being considered as "offline"? I'd actually really like seeing if a battery runs dry or if a lamp has been unplugged. |
Describe the bug
Just updated the plugin from
v1.9.2
where everything was looking good tov1.10.0
and suddenly all devices in Home.app controlled by this plugin started reportingNo Response
status, however everything is reported asavailable
in Zigbee2MQTT UI. I also tried to add "ignore_availability": true, as a default as well as for every accessory but nothing changedRelated devices
Devices failing to répond are Livolo T0001 switches & plugs covered here and here
To Reproduce
Steps to reproduce the behavior, for example:
v1.10.0
& restart HomebridgeHomebridge logs shows
Zigbee2MQTT logs
Expected behavior
Devices are being responsive in Home.app
MQTT messages
If possible (and applicable), please provide the following:
zigbee2mqtt/bridge/devices
(note: this is different fromzigbee2mqtt/bridge/config/devices
)zigbee2mqtt/[FRIENDLY_NAME]
Versions used
Please provide the version of the following pieces of software:
zigbee2mqtt/bridge/info
) - running in docker v1.28.4Other info
Tried multiple combinations of Zigbee2MQTT availability
true/false
and Homebridge-z2m plugin ignore_availabilitytrue/false
but none seems to fix the issue.It seems that restarting Zigbee2MQTT while Homebridge is running may fix the issue for a while then it's back on
No response
statusConfig snippet
The text was updated successfully, but these errors were encountered: