core icon indicating copy to clipboard operation
core copied to clipboard

ZHA: many smart plugs make zigbee network unstable due to to many polled measurements

Open Apfelstruhdl opened this issue 4 months ago • 0 comments

The problem

Hi,

I have a bigger ZHA network running with about 100 devices and multiple smart plugs that i hoped to be able to use as routers and track the power consumption around the house.

I fear, that the network traffic the zigbee network is almost at a maximum (reports of ~85% utilization occurred multiple times). I already moved the wifi away from the zigbee channel. Besides the power report on the zigbee channel I find it hard with the standard tools to get a feeling for the traffic that is going on in the network and to distinguish actual traffic that the network generated from noise on the channel. Is there anyway to just monitor the message or data rate of the coordinator?

Back to the routers. They are 14x TS011F by _TZ3000_gjnozsaz 3x TS011F by _TZ3000_w0qqde0g

both are using the quirk Quirk: zhaquirks.tuya.ts011f_plug.Plug

So far I understood, that there are push messages by the devices and I think in this case it is cluster 0x0702 for which I can also read and set the respective parameters that influence the pushing of messages by the device: min_interval: 60 max_interval: 900 reportable_change: 10 tries: 3

this seems to be only energy (kWh delivered).

The cluster 0x0b04 seems to provide the values for voltage, current and power. There is no setting for the reporting (push) interval, so I guess that these values are collected by issuing pull request, correct?

I found in zigpy/zha/application/platforms/sensor/init.py a pollable sensor but where is the interval set and how can I change it per device? How can I influence the frequency of polling messages? I really would love to better understand and configure the traffic on the network.

Thanks a lot for your help!

What version of Home Assistant Core has the issue?

core-2024.10.1

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

ZHA

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

Apfelstruhdl avatar Oct 07 '24 19:10 Apfelstruhdl