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

Requires reboot of Cerbo GX after Homeassistant restart #176

Open AminShAT opened 4 months ago

AminShAT commented 4 months ago

The integration always loses connection to the Victron installation, once you restart Home Assistant (e.g. for Updates). I always need to reboot the Cerbo GX afterwards to get it connected again.

braamvh commented 4 months ago

This sounds like a network issue. The integration keeps working for me if either side is rebooted, but I do have my both my Cerbo and HA connected via a physical Ethernet cable (not to the same switch, but the switches are also connected).

AminShAT commented 4 months ago

Same here. Even on the same switch. I don't think it is a network connection because the Node red connection works instantly after reboot. It is just the integration that can not talk to the Cerbo.

peregrines2 commented 3 months ago

Same Problem here unfortunately. Using Ethernet ... so I think it is related to something else :(

AminShAT commented 3 months ago

Something in HomeAssistant is completely screwing up my Modbus protocol. My Victron Wallbox lost connection to the Cerbo twice a day.

When I turned off HomeAssistant all together, it worked fine.

I have now HomeAssistant running without the Victron integration and currently also Nodered turned off. That works fine as well.

I suspect the Victron integration being the root cause for this. I will keep you updated.

sfstar commented 3 months ago

Thank you for opening this issue. Would it be possible for you to enable debug logging for the integration and provide the logdump in this issue thread? Thanks in advance.