Either the typing for RouteStatistics
is incorrect or there is a bug in the statistics logic?
#6608
-
Checklist
Describe the issueWhat is happening?As reported in home-assistant/core#108021 the HA integration expects So 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 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 cc @maheus Software versionsDriver (node-zwave-js): 12.4.1 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 informationUnknown at this time Manufacturer: ... Checklist
Upload LogfileWaiting 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 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
👋 Hey @raman325! Thanks for opening an issue! It doesn't look like you provided a logfile though. While not strictly necessary for every issue, having a driver log on loglevel debug is required to diagnose most issues. Please consider uploading a logfile that captures your problem. As a reminder, here's how to create one: |
Beta Was this translation helpful? Give feedback.
-
According to that issue, the statistics only contained the repeaters. The only way I can imagine this to happen is if the response to GetPriorityRoute is one byte short (e.g. caused by a controller bug), and therefore the Could that be? Does HA even use this method? |
Beta Was this translation helpful? Give feedback.
-
Hi @AlCalzone my log is already in debug, but the file is very big. Can I give you the last 1000 line or first 1000 lines ? |
Beta Was this translation helpful? Give feedback.
-
Thanks, that confirms my suspicion. Very old Z-Wave SDK on the stick, apparently does not include the byte for the route speed. |
Beta Was this translation helpful? Give feedback.
Escalated to an issue: #6616
@raman325 seems like applications have to consider the
protocolDataRate
field to be optional.