Older Z-Wave SDKs don't include the route speed in the GetPriorityRoute
response
#6616
Closed
4 of 7 tasks
Labels
bug
Something isn't working
Discussed in #6608
Originally posted by raman325 January 15, 2024
Checklist
Describe the issue
What is happening?
As reported in home-assistant/core#108021 the HA integration expects
protocolDataRate
to be provided in thelwr
andnlwr
statistics objects based on the typing: https://github.com/zwave-js/node-zwave-js/blob/master/packages/zwave-js/src/lib/node/NodeStatistics.ts#L56So to me it sounds like either the typing is wrong or there is some state that statistics get put in that is incorrect.
What did you expect to happen instead?
I think that either the typing needs to be updated to make
protocolDataRate
optional or the logic that is leaving the object in a bad state is updated.Steps to reproduce the behavior:
Hard to say since it is happening on initialization. It's also not a widespread error as this is the first report we've seen.
Anything else we should know?
The user mentioned that it was not an issue in HA 2023.9.X which was released on September 6th. Looking at the
zwave-js-server
release logs, that suggests that this was introduced in zwave-js 12.x. I did try to run 2023.9.3 using the latestnode-zwave-js
just to make sure it wasn't some sort of backwards compatibility issue, but I was able to bring up my network finecc @maheus
Software versions
Driver (node-zwave-js): 12.4.1
Z-Wave JS UI: 9.6.2.6e369a1
Home Assistant Z-Wave Integration: Home Assistant 2023.11.3
Home Assistant Z-Wave JS Addon: ...
ioBroker.zwave2 Adapter: ...
If you are using something non-standard, tell us here: ...
Device information
Unknown at this time
Manufacturer: ...
Model name: ...
Node ID: ...
Checklist
Upload Logfile
Waiting for the user to provide debug logs as they have stated they are worried about leaking personal information, but logging the issue anyway as a placeholder
The text was updated successfully, but these errors were encountered: