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
74.21k stars 31.16k forks source link

Zigbee devices stops working #125279

Open Howster-Nor opened 3 months ago

Howster-Nor commented 3 months ago

The problem

I have the latest HomeAssistant version installed on a Raspberry pi 4B 2GB with a Raspbee2 shield for Zigbee communication and ZHA integration.

I use this to control Ikea trådfri lightbulbs, but also a HAN sensor to monitor power consumption from the grid.

It worked fine for a good while (atleast a month) and all of the sudden, exactly 14:00 a few days ago, it stopped updating the values from all entities. I noticed that RSSI and LQI is being read from the bulbs etc, but i cannot control anything. All i get is, light/turn_on. Failed to send request: Failed to deliver packet: <TXStatus.MAC_CHANNEL_ACCESS_FAILURE: 225>

The bulb is about 2m away from my rpi, with only a wooden wall between and signals are good. I can't try to re-pair, as this is located 150km away (2,5 hours drive).

It seems to discover the devices if i search for new devices and show the log, but nothing i try works.

All this happened earlier too. I tried to re-par the bulbs, but ZHA did not discover it. I replaced the Raspbee2 and it worked, but like i mentioned, only for a few weeks or so.

I've tried to set a different channel for the radio, but it won't let me change it. Its currently on ch 20.

I also tried to set the wifi 2,4ghz channel to channel 1 witch should not interfere with ch 20, but no luck.

What could be the issue? I have no idea how to further find the issue, or could it be a dead Raspbee2 again? 2nd one in about 2 months? If so, how can it measure RSSI and LQI, and also see devices when i search? Is it perhaps a firmware? How do i revert/downgrade/upgrade this in ZHA?

Håvard

What version of Home Assistant Core has the issue?

core-2024.9.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee Home Automation

Link to integration documentation on our website

No response

Diagnostics information

config_entry-zha-01J47KJ1X1CHEK608B4N4PNT54-1.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

dmulcahey commented 3 months ago

TXStatus.MAC_CHANNEL_ACCESS_FAILURE Is interference. It means the shield can’t talk on the channel it needs to to communicate with devices.

https://youtu.be/tHqZhNcFEvA

This is how easy it can be to cause interference issues. You need to find the source of the interference…

home-assistant[bot] commented 3 months ago

Hey there @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

Howster-Nor commented 3 months ago

TXStatus.MAC_CHANNEL_ACCESS_FAILURE Is interference. It means the shield can’t talk on the channel it needs to to communicate with devices.

https://youtu.be/tHqZhNcFEvA

This is how easy it can be to cause interference issues. You need to find the source of the interference…

Wow, thats impressive how easily it can be interfere like that. But how can i change the channel then? I try to go in the configuration for the coordinator - configure - change channel. Its on smart atm, but if i change to ie. Ch 15 and hit change channel, nothing happens.

alsmaison commented 2 months ago

same issue for me. All my Sonoff sensors (SNZB-02D) stops to work with ZHA. I made no changes except HA updates. For your information, I have tried with Zigbee2Mqtt. I have no issues. This is a problem only with ZHA.