Default behavour on Wifi loss

Hi out there - pretty new to esphome but already in love :slight_smile:

trying to run my first esp8266 in quite a distance to AP, so a loss of connection can happen…
What is default behaviour expected in case of loss?? Asking as I do not see any reconnect, I need to manually reboot…

In case there is no automated “try to reconnect”, how can I create like

  • in case of no wifi → retry to connect, sleep 300

thanks a lot!

and yes, every RTFM link is welcome too :slight_smile:

Hi

Details are under the API component rather than WiFi because you could be connected via wired connection. Default is 15 minutes but can be changed.

There is timeout under Wifi component as well.

  • reboot_timeout (Optional, Time): The amount of time to wait before rebooting when no WiFi connection exists. Can be disabled by setting this to 0s, but note that the low level IP stack currently seems to have issues with WiFi where a full reboot is required to get the interface back working. Defaults to 15min. Does not apply when in access point mode.

THANKS - this seems to be my solution… what is seen as “access pont mode” here?
In case I set an “ap:” for fallback, it will open AP but not reboot - correct understanding?

That’s what documentation says. I have never tested. It usually used with captive portal component.

1 Like