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

[Feat] Log neighbors on single node heal

Open jmgiaever opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Requesting to get a similar log-output for returned neighbors during a heal, such you will when doing a network heal. It doesn't return much information.

Describe the solution you'd like E.g

2021-11-29T21:39:21.600Z CNTRLR » [Node 040] requesting node neighbors...
2021-11-29T21:39:21.610Z SERIAL » 0x010700802800000050                                                 (9 bytes)
2021-11-29T21:39:21.611Z DRIVER » [REQ] [GetRoutingInfo]
                                    remove non-repeaters: false
                                    remove bad links:     false
2021-11-29T21:39:21.618Z SERIAL « [ACK]                                                                   (0x06)
2021-11-29T21:39:21.620Z SERIAL « 0x012001807808453c40c0b54bc253de53310494000000000000000000000000000 (34 bytes)
                                  094
2021-11-29T21:39:21.620Z SERIAL » [ACK]                                                                   (0x06)
2021-11-29T21:39:21.621Z DRIVER « [RES] [GetRoutingInfo]
                                    node ids: 4, 5, 6, 7, 12, 17, 19, 23, 27, 28, 29, 30, 39, 47, 48, 49, 51, 53
                                  , 54, 56, 57, 58, 60, 63, 66, 71, 72, 73, 74, 77, 79, 82, 83, 84, 85, 87, 88, 
                                  89, 90, 93, 95, 97, 101, 102, 107, 115, 117, 120
2021-11-29T21:39:21.627Z CNTRLR « [Node 040] node neighbors received: 4, 5, 6, 7, 12, 17, 19, 23, 27, 28, 29, 30
                                  , 39, 47, 48, 49, 51, 53, 54, 56, 57, 58, 60, 63, 66, 71, 72, 73, 74, 77, 79, 
                                  82, 83, 84, 85, 87, 88, 89, 90, 93, 95, 97, 101, 102, 107, 115, 117, 120

Additional context Great for debugging purposes :)

jmgiaever avatar Nov 29 '21 21:11 jmgiaever