I recently updated my home assistant hardware from running hass.io on a RPI3 to running home assistant supervised on a 4gb RPI4 booting from an SSD.
I have allot of insteon devices connected to a ISY 994 pro.
Both the ISY and home assistant are running off of POE and the POE switch is on a UPS, but after an extended power failure home assistant on the RPI4 boots up faster than the ISY, so during startup home assistant does not find the ISY and fails out the component.
I have to manually restart home assistant and everything is discovered fine.
So my question is there anyway to delay the loading of home assistant until the ISY is available, or is there a way via automations or scripts in home assistant to detect the ISY compost has not loaded and restart home assistant once the ISY is available?
As of HA 0.115, there’s an isy994.reload service that you can call without restarting HA. You could trigger on the start event for homeassistant, delay a bit, and then call that service.
I agree with the reload service call, but would also point out that there is a new beta for the ISY integration that moves to a more asynchronous communication that you may want to try. It is available in HACS.
I don’t recall having to do the reload after a power cycle. I only do it after I have made changes in the ISY and then want that reflected in HA.
Thanks for the ideas., but the problem is that that none of the isy994 services including reload are available. Because it seems that if the integration does not find the icy on startup it doesn’t load any of the services.