Koenkk / zigbee2mqtt

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

linkquality for router keeps changing #3064

Closed mr2c12 closed 4 years ago

mr2c12 commented 4 years ago

In my network, I have a CC2531 with an external antenna: "0x00124b001943099c" The device is downstair with a lot of other devices (both routers and end devices).

Coordinator is a CC2530+CC2591 1.2 without source routing.

Since my network has some stability problem, especially the "downstair part", I'm investigating. Looking at z2m log, I found something unexpected: the linkquality for this devices is usually zero, but like twice an hour I got value like ~30 or ~60. I pasted the log here: https://pastebin.com/NiUkVTFp

Why is this changing? Devices are not moving from their place. Does it mean that the network is changing over time and is unable to find a fixed point? Could it be the culprit for my troubles (sometimes I can't get to a device, or it responds with a late of ~10 seconds)? When this happens I usually get the infamous "'MAC no ack' (233)'" or " 'No network route' (205)" errors.

Addictional info: z2m version: 1.9 network graph: graph (2)

pixeldoc2000 commented 4 years ago

Hard to guess.

Does both devices habe a "stable" and sufficient power supply? This is a huge factor in stability!

Maybe this can be due to interferences with other devices using the 2.4 GHz Band like WLAN, Bluetooth etc.

If the transmission is on the edge, even the present of a human body can be enough to disrupt the network untill it eventually recovers.

mr2c12 commented 4 years ago

Probably related to my wifi AP using a wireless channel that used to interfere with the zigbee network.