I have a use case where, I need standalone use of the AP and webserver in addition to the captive portal for wifi configuration:
Example: New ESP32 flashed with firmware sent to someone:
When they power it up, they may or maynot want to connect it their WiFi (WiFi may not be available where device is being used.) but still need standalone access to the AP/Web server from their device(phone etc)
The ESP32 is running a webserver in addition to the captive portal.
There is no current way to do this that I can find without reflashing the device with the captive portal removed from the code!
I would like the following to occur:
AP and Captive portal to fire up as there are no Wifi details stored or AP not available (this happens fine now)
A way for the user to essentially skip the Captive portal and access the normal webserver.
Could be a timeout so after 3 mins the captive portal ends, and displays the webserver.
Or a simple link to the webserver on the captive portal page.
I have tried a few things, like changing the webserver port, but this also changes captive portal webpage.
Any ideas?
wifi:
ap:
ssid: "Test-Webserver"
password: "1234567890"
captive_portal:
web_server:
local: true
# port: 8080
ota: true
ota:
logger: