Comments (8)
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!
from zigbee-herdsman.
I'm not sure, can you check via sniffing what wireshark shows?
from zigbee-herdsman.
I see the Link Quality Response, Status: Success
for each device multiple times, some appear twice, others even 5 or 6 times. They seem to be duplicates, they all include the same neighbourtable of only 3 devices. Are these duplicates because of Zigbee Routing?
In the Responses I can see that the device really only reports 3 neighbours, so this seems not to be a bug but some (strange?) behavior of my devices?
from zigbee-herdsman.
I'm not sure what is happening and ifthis is correct behaviour, but from the point of zigbee-herdsman this seems to be OK.
from zigbee-herdsman.
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).
from zigbee-herdsman.
I made some tests to check:
- if i add only 2 devices (end-devices) to coordinator - i can see
linkquality
for them and so z2mAssistant can build proper map. - if i add 3-d device:
- in logs i can see that device reports
linkquality
zigbee2mqtt:info 2019-10-31T19:37:38: MQTT publish: topic 'zigbee2mqtt/0x00158d000274fe84', payload '{"battery":80,"voltage":2965,"contact":false,"linkquality":51,"last_seen":1572550658817,"device":{"friendlyName":"0x00158d000274fe84","ieeeAddr":"0x00158d000274fe84","networkAddress":17964,"type":"EndDevice","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","applicationVersion":3,"stackVersion":2,"zclVersion":1,"hardwareVersion":2,"dateCode":"20161128","softwareBuildID":"3000-0001"}}'
- in logs i can see that device reports
but in z2mAssistant reports all attributes except Link quality is unknown/255.
, so it cant build map
- if i add to the same setup additional router, and after it add 3 additional end-devices. z2mAssistant reports
linkquolity
for first 2 devices (including router itself) but not for 3-d device. - same picture if i add another router and next 3 end-devices.
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
from zigbee-herdsman.
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
https://github.com/Koenkk/zigbee2mqtt/blob/e26ad2aca2eeb0aa366982481eb921ee603fb6d1/lib/zigbee.js#L364
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.
from zigbee-herdsman.
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,
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
from zigbee-herdsman.
Related Issues (20)
- Ember driver : Error while parsing received frame, status=NO_RX_SPACE. HOT 1
- Ember driver: SET "APS_UNICAST_MESSAGE_COUNT" TO "32" with status=ERROR_OUT_OF_MEMORY. HOT 1
- State of ZiGate support HOT 17
- [Cluster Type] Align cluster definition for 'name' attribute HOT 1
- zigbee2mqtt<->EZSP incompatible with latest Gecko SDK v4.4.0.0 (EmberZNet 7.4.0.0) firmware build HOT 23
- Waitress timer is being set at the wrong time HOT 16
- Make waitress timeout configurable HOT 1
- Lower bound of "turnsOffAtBrightness1" ignored by "brightness_move" & "brightness_step" commands HOT 1
- Issue with serialport v12 and node > v20.2.0 HOT 1
- Get strange error in latest z2m with the latest zigbee-herdsman HOT 6
- [Task] ZCL definition update HOT 4
- Want better endpoint.writeStructured() HOT 1
- Z2M 1.35.2 stops with "Adapter disconnected, stopping" after few minutes of uptime (Sonoff-E / EZSP v12 / FW 7.3.2.0 build 212) HOT 3
- Load additional manufacturer-specific clusters from device converter HOT 4
- [Proposal] Removal of "forever" Permit Join HOT 11
- Adapters hardware flow control issues HOT 30
- Ikea Motion Sensor E1525/E1745 not updating properly HOT 6
- proposal: deprecation of legacy clicks HOT 1
- Move special readResponse out of zhc/src/index.ts (fixes legrand pairing issues) HOT 8
- Changes to payload when sending zclData to a device breaks iobroker.zigbee function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee-herdsman.