sfstar / hass-victron

Integration for Home Assistant to fetch data from the victron gx device via modbusTCP
Apache License 2.0
157 stars 24 forks source link

Vebus decode errors #189

Closed Off-Grid-Garage closed 3 months ago

Off-Grid-Garage commented 3 months ago

Some vebus error popping up in the log files now:

313458771-42387a9e-ed8a-47d2-a069-ed91a9a1ae19

313458793-89a08fed-f3a7-44df-a311-a6a194a07a19

image

image

sfstar commented 3 months ago

Thank you for opening a seperate issue. After further investigating it seems that I overlooked something in the change to check whether the enum can decode the returned value. The latest merge to main has the fix (which I locally tested) that should now result in the correct status codes being presented.

Could you perhaps also test the change on your end?

Off-Grid-Garage commented 3 months ago

Seems to be working great. Since I restarted HA, no more Victron related errors or warnings in the log...

image

sfstar commented 3 months ago

The release (v0.2.0) has been shipped. Closing issue, feel free to re-open if the issue persists with the new release