nymea / nymea-zigbee

Zigbee library and tools for the nymea IoT stack.
GNU Lesser General Public License v3.0
3 stars 4 forks source link

Rework the reachable refreshing and manual LQI/RTG fetching #80

Closed mzanetti closed 1 year ago

mzanetti commented 1 year ago

This decouples the cyclic refreshing of reachability from the manual reading of the LQI tables:

Changes the reachable refresh to only poll once a minute, cycling devices that need polling. Also checking for reachable will now only read the LQI table. Also removes the coordinator node from the cyclic checks.

In case a manual refresh is triggered, both LQI and RTG tables will be read of all non-sleepy nodes, including the coordinator and without any delays in between polls.

mzanetti commented 1 year ago

tested this for while now. It seems still good enough and takes away quite a bit of load from the network. Additionally it gets away with the annoying warning message in the NXP backend.