tayfunulu / WiFiManager

WiFi manager for ESP8266 - ESP12 - ESP32 - micropython
MIT License
345 stars 104 forks source link

Captive portal #30

Open danielkucera opened 2 years ago

danielkucera commented 2 years ago

Would it be possible to implement captive portal like in this WiFiManager? https://github.com/tzapu/WiFiManager/blob/master/WiFiManager.cpp#L567

This way, when connecting from (at least) Android phone, you are redirected to the manager automatically after connecting to the WiFi network. You don't need to mess with "no internet warnings" and input IP address.

danielkucera commented 2 years ago

This should be fairly easy to implement: https://github.com/jczic/MicroDNSSrv#using-for-a-captive-portal- plus this: https://github.com/tzapu/WiFiManager/blob/master/WiFiManager.cpp#L2193

graham768 commented 11 months ago

I've created a captive portal implementation on my fork called MicroWifiManager but since this required a decent refactor I think it'd cause headache to PR back into tayfunulu's WifiManager (and captive portal may be a different creative direction than this project intends to head)