ESP8266 entering AP mode when WiFi down

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
isnogood
New user
Posts: 2
Joined: 07 Jul 2018, 14:22

ESP8266 entering AP mode when WiFi down

#1 Post by isnogood » 07 Jul 2018, 15:05

I recently noticed that when WiFi is switched off or down (during router upgrade or for maintenance) all previously connected ESPs appear as access points on channel 1 (and can be connected provided you know the WPA AP Mode Key).
Is that a bug or a feature? How can that be disabled?
Last edited by isnogood on 07 Jul 2018, 16:57, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESP8266 entering AP ode when WiFi down

#2 Post by grovkillen » 07 Jul 2018, 15:30

It's by design but maybe we should have a (lets say) 10 minute delay for it to happen if it was recently connected to a working WiFi.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: ESP8266 entering AP ode when WiFi down

#3 Post by mrwee » 07 Jul 2018, 15:51

An option to define 'fallback' would be even greater. I have no use for AP mode, as all ESP devices are controlled by openhab/MQTT, so if my Wi-Fi goes down, I'd prefer espeasy to try and reconnect continuously.
Maybe if the AP passphrase is left empty, then AP fallback mode is disabled, if it's filled in, then it works with that passphrase. This also avoids the device broadcasting an SSID with a well-known passphrase.

isnogood
New user
Posts: 2
Joined: 07 Jul 2018, 14:22

Re: ESP8266 entering AP mode when WiFi down

#4 Post by isnogood » 07 Jul 2018, 17:21

I'm also using openhab mqtt. It ist not a real problem, as they reconnect as soon as WiFi is back up again. However I don't like them to appear in the list of available APs during the downtime of WiFi. (my neighbours do not need to know all my ESPs)

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: ESP8266 entering AP mode when WiFi down

#5 Post by enesbcs » 07 Jul 2018, 17:43

isnogood wrote: 07 Jul 2018, 15:05 I recently noticed that when WiFi is switched off or down (during router upgrade or for maintenance) all previously connected ESPs appear as access points on channel 1 (and can be connected provided you know the WPA AP Mode Key).
Is that a bug or a feature? How can that be disabled?
It is a feature.
You can try to compile and use the Wifiman plugin which is in the playground, and has a killap command, which effectively disables AP mode.
viewtopic.php?f=6&t=2846
https://github.com/letscontrolit/ESPEas ... iFiMan.ino

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: ESP8266 entering AP mode when WiFi down

#6 Post by danmero » 07 Jul 2018, 17:44

+1 For disable AP mode option once configured or at last hidden SSID(at worst).

Regards,

waspie
Normal user
Posts: 127
Joined: 09 Feb 2017, 19:35

Re: ESP8266 entering AP mode when WiFi down

#7 Post by waspie » 09 Jul 2018, 14:28

it's quite rare that it happens for me but i did post to join in the laughter when i do a firmware upgrade on my APs and all of a sudden i have 15 extra wifi networks showing up :lol: :lol: :lol: :lol:

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 26 guests