ESPSomfy-RTS icon indicating copy to clipboard operation
ESPSomfy-RTS copied to clipboard

Try to reconect if wifi is not connected

Open lukeskymuh opened this issue 1 year ago • 6 comments

Describe you new feature you'd like

Hi,

This project is amazing! I just have one issue: when the power is off and returns the wifi router requires some time to boot. Aparently the ESP32 is faster and doesn't find the Network, It doesn't try to connect again and stays unconnected. Is there a way to automatically to try again to connect if there is no connection?

It is powered via USB to a resberry pi running home assistant.

BR Luke

lukeskymuh avatar Aug 12 '24 17:08 lukeskymuh

Which firmware are you using? It should connect as soon as it sees the AP in the scan list. It will do this continuously unless you have it set to autoconnect to the AP SSID.

rstrouse avatar Aug 12 '24 23:08 rstrouse

V 2.4.4 Where can I find the autoconnect option?

lukeskymuh avatar Aug 16 '24 09:08 lukeskymuh

Pleas update your firmware. The connection options to reconnect to the strongest signal did not exist in v2.4.4 on bootup.

rstrouse avatar Aug 16 '24 18:08 rstrouse

I have a similar problem: once my router reboots in the mesh, the esp does not reconnect (I have to power cycle it). I am on 2.4.6 and I am unable to find any auto reconnect option. @rstrouse can you guide me to this option?

theincogtion avatar Sep 12 '24 11:09 theincogtion

I have a similar problem: once my router reboots in the mesh, the esp does not reconnect (I have to power cycle it).

I thought it had been fixed but I'm experiencing similar behavior with v2.4.6. In the last month, I've had to reboot my router twice and both times the ESPSomfy reverted back to softAP() mode and never reconnected to the WiFi network (which is not hidden and is 2.4 GHz only) by itself. The first time I power cycled the ESP32; the second time, I connected to the AP and asked it to reboot (BTW, have you considered making the page a captive portal, so that we don't need to remember http://192.168.4.1/?)

I am on 2.4.6 and I am unable to find any auto reconnect option. @rstrouse can you guide me to this option?

It's not an option, is should be the default behavior.

Essentially same as https://github.com/rstrouse/ESPSomfy-RTS/issues/410

Nickduino avatar Nov 12 '24 16:11 Nickduino

In the last month, I've had to reboot my router twice and both times the ESPSomfy reverted back to softAP() mode and never reconnected to the WiFi network (which is not hidden and is 2.4 GHz only) by itself. The first time I power cycled the ESP32; the second time, I connected to the AP and asked it to reboot (BTW, have you considered making the page a captive portal, so that we don't need to remember http://192.168.4.1/?)

@rstrouse Same today, I rebooted the router 90 min ago and ESPSomfy RTS has not reported for duty yet

Nickduino avatar Dec 03 '24 19:12 Nickduino