Connection fails during power reset


I’m new to home assistant. the problem is every time there is a power rest (power to the router and Raspberry Pi which is running hassio) the connection to the home assistant gets disconnected. at that time i have to reset the power to the raspberry pi (manually). is there a way to avoid this?


are you sure you’re not getting allocated a new IP each time you restart your rpi?


No the IP is fixed(router settings). At that time when I reset the power to the Hassio(on raspberry pi) I can connect.