node-zwave-js
node-zwave-js copied to clipboard
Investigate determining the optimal route to a node ourselves
Originally posted by @darkbasic in https://github.com/zwave-js/node-zwave-js/issues/4184#issuecomment-1100678018
Can't we brute force our way to a better route? Like automatically health-checking all the nodes in direct range from the controller (capable of reaching the target node) and then health-checking again each of these nodes to the target one? With such approach we can't go further than 1 hop without having to test insanely high numbers of combinations, but considering 99% of the targets can be reached in 1 hop that can be a viable option IMO.