Does anyone have any experience with reconnecting HA modbus integration to a TCP-serial converter after converter’s reboot and connection to a server was lost?
The explication:
HA is running on a NUC powered with UPS, serial devices connected to an interface of TCP-serial converter. If converter is on, while boot HA establishes a connection to TCP-serial converter which results in a record in converter’s log, that HA ip is connected to converters server. If the power goes off, a TCP-serial converter reboots into state ‘server ready’, naturally all previous connections are lost. And now comes the problem - HA does not attempt to reestablish a connection to a TCP-serial converter. I have to call homeassistant.reboot service to do so. Is there any setup to make HA reconnect (reopen a port maybe) so I would not have to reboot whole system because of TCP-serial power failure?
Thanks!