node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

Investigate determining the optimal route to a node ourselves

Open AlCalzone opened this issue 2 years ago • 0 comments

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.

AlCalzone avatar Apr 18 '22 14:04 AlCalzone