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
71.08k stars 29.74k forks source link

ZHA supports up to 39 devices only. #107780

Closed ialexyi closed 8 months ago

ialexyi commented 8 months ago

The problem

Hi Guys, Would be lovely to increase the amount of zigbee devices that can work simultaneously. Currently I have got 40 devices and the system stopped working completely. The zigbee device doesn't react to the commands.

What version of Home Assistant Core has the issue?

core-2024.1.2

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

No response

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

erkr commented 8 months ago

There is not a specific limit to the number of devices at 40 (I'm running 45 devices, other users even above 100). The issue is probably that there is a limit to the number of de devices that are directly connected to your coördinator. By adding enough routers in your mesh network, between the coordinator and your end devices, many more devices can connect indirectly to the coordinator. Routers are typically devices that are powered by an adapter or the mains (e.g power plugs, light). The bad news, not all devices are decent routers. Use zigbee 3.0 compliant devices for that. I owned some osram devices in the past, those where not routing properly.

home-assistant[bot] commented 8 months ago

Hey there @dmulcahey, @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)

dmulcahey commented 8 months ago

This is not a zha issue or limit. I am currently at 185 devices. As @erkr stated it is largely dependent on the number or routing capable devices you have on the network. I am going to close this. For additional help on this topic please head to #zigbee on discord or the forum

ialexyi commented 8 months ago

There is no such thing. The binding option is only to the Zigbee Coordinator. The network topology, yes, indeed, it allows to build a smart mesh. On my network it is so, the coordinator shows up to 10 direct links. Probably is it something to do with the total amount of entities and not devices. I have got more, but now 38 devices - 258 entities. I also have switched from coordinator Sonoff to conbee 3 and same effect.

dmulcahey commented 8 months ago

IMG_7489

as stated. Please go to discord or the forums for help.

erkr commented 8 months ago

There is no such thing. The binding option is only to the Zigbee Coordinator.

No such thing? I guess you are looking how to enforce the initial binding to a routing device instead of the coordinator. Press the 3 dots right from there reconfigure, add select the first option: image