Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.88k stars 1.66k forks source link

Is it normal that a dongle can only support 35 connected devices? #21905

Open sesame1215 opened 6 months ago

sesame1215 commented 6 months ago

What happened?

I've recently purchased a zigbee smart energy sensor SPM01-D2TZ from Zemismart. I am really happy with the result I have got. Now I can easily see all the energy data from HA and the data I got is the most accurate compared to all the other smart energy sensors I've tried.

But it seems like the sensor is sending all energy data every 5 sec. It somehow overloads my zigbee network. I really think the SPM01-D2TZ is a great purchase but is there any way to solve this overloading issue? Any setting I can change? Also, is it normal that the Sonoff dongle can only support 35 devices? Is there any better dongle out there that supports more connected devices?

https://www.reddit.com/r/homeassistant/comments/1bktu0f/is_it_normal_that_a_dongle_can_only_support_35/ e712d90d9ecc286e531a606cbd33f84 fc50ef2728f53e0c85cea144f5c33ba Schneider

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.36.0

Adapter firmware version

20230507

Adapter

Sonoff Dongle-E

Setup

Add-on on Hassos

Debug log

No response

mrskycriper commented 6 months ago

is there any way to solve this overloading issue

Tuya (Zemismart is part of this family) devices are famous for their terrible quality control and inconsistency. Unfortunately this problem is caused by the buggy firmware and could not be changed without a firmware update. Which is most likely never going to happen. I'd suggest getting rid of this device.

As for the Sonoff Dongle-E (and all others, based on EFR32MG21 chip), they are still not as stable as those based on Ti CC2652P chips (such as Sonoff Dongle-P). But the problem here is most likely with the network spam, coming from Tuya devices.

mrmaximas commented 6 months ago

@sesame1215 it's normal behaviour for this device type - send data so often, just add debounce: 5 (or more) for this talkative device. I have that too, it doesn't shutdown the network with 90+ devices (in peak), but I'm using CC2652P2 Sonoff Dongle P with the latest testing fw https://github.com/Koenkk/Z-Stack-firmware/discussions/496 A week ago, like the previous year, I was using the most stable 202221209

mrskycriper commented 6 months ago

@sesame1215 it's normal behaviour for this device type - send data so often, just add debounce: 5 (or more) for this talkative device. I have that too, it doesn't shutdown the network, but I'm using CC2652P2 Sonoff Dongle P

Unfortunately, debounce is a purely visual band aid. The spam in the network will not stop. Only the mqtt message frequency will be reduced. And no, messages every ~200 ms (judging by the logs) are not healthy for the Zigbee network and will definitely affect it's reliability and performance.

mrmaximas commented 6 months ago

@sesame1215 it's normal behaviour for this device type - send data so often, just add debounce: 5 (or more) for this talkative device. I have that too, it doesn't shutdown the network, but I'm using CC2652P2 Sonoff Dongle P

Unfortunately, debounce is a purely visual band aid. The spam in the network will not stop. Only the mqtt message frequency will be reduced. And no, messages every ~200 ms (judging by the logs) are not healthy for the Zigbee network and will definitely affect it's reliability and performance.

Nevertheless, it works for me, and it works pretty stable.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days