-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device.lqi always returns max 3 neighbours #69
Comments
I'm not sure, can you check via sniffing what wireshark shows? |
I'm not sure what is happening and ifthis is correct behaviour, but from the point of zigbee-herdsman this seems to be OK. |
I have a similar observation. Before I started to use the dev version with source routing firmware and less then approx 40 devices the network map would show an almost perfect mesh network with every router connected to each other after a couple of days. Now I am on dev version with latest source routing firmware and more then 40 devices. And what I see now is that besides the controller there are 2 other nearby routers that all connect to almost all of the other devices. A lot of the other routers have max. 3 connections. This doesn’t change much when you leave the network untouched for a couple of hours or days. I had the feeling that this started when I moved to dev version, but I cannot verify anymore because I changed too much since then (new firmware and new devices). |
I made some tests to check:
but in z2mAssistant reports all attributes except
for me it looks like somewhere limit for 3 device (including router/coordinator) has been set. i definitely didnt see this issue with Stable 1.6 and CC2531 as coordinator. BTW: current coordinator is cc1352P2 |
I think what's going on relates to nuances of the neighbor lqi table. Its includes a start index and count. In master the network map scan code ignores these and returns all values in the table that have a relationship type <=3 In dev this scan has been moved to zigbee-herdsman and probably correctly pays attention to the count (and maybe should also pay attention to start index) .
So, my assumption is that when end devices are sleeping they effectively expire out of the neighbor table by a change in the startindex and/or count, I don't know if this is generic behaviour or related to specific device firmware. I really have no idea. |
to be honest no idea as well, but additional tests shows that even if devices are sleeping, i mean first 2, it still shows only them connected, even if i constantly pressing wakeup button on 3d one and start rescan |
I've found the issue. As can be seen here: #69 (comment). The first requests return the first 3 values, while the table holds 8 values. Zigbee-herdsman didn't request the remaining 5. Fixed, thanks all! |
Is this normal behavior or a bug?
The text was updated successfully, but these errors were encountered: