Open Urenthummar opened 5 years ago
WiFi.begin() This is standard esp stuff not WM
Wifi.begin();
not working, i'm using it in function to wake nodemcu & connect to Wifi network.
here is my code......
void wifiConnect() { WiFi.forceSleepWake(); WiFi.mode(WIFI_STA); delay(10); WiFi.begin(); Serial.print("Connecting to "); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(); Serial.println("WiFi connected"); Serial.println("IP address: "); Serial.println(WiFi.localIP()); }
How can WiFi Manager turn into a complete wifi management solution? In a perfect world it would combine the best of wifimulti and wifi manager, and hit the following bullet points:
On Mon, May 6, 2019 at 9:01 AM Urenthummar notifications@github.com wrote:
Wifi.begin(); not working, i'm using it in function to wake nodemcu & connect to Wifi network. void wifiConnect() { WiFi.forceSleepWake(); WiFi.mode(WIFI_STA); delay(10); WiFi.begin(); Serial.print("Connecting to "); while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); } Serial.println(); Serial.println("WiFi connected"); Serial.println("IP address: "); Serial.println(WiFi.localIP()); }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/881#issuecomment-489674925, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7Y5YOIF75XGPKWL7WISTDPUBI4RANCNFSM4HK27DDA .
well the esp auto connects on its own already, so if thats not working something else is wrong with your board, try erasing flash and reload
I imagine very few people need wifi multi or auto connect to open, but there is no reason it needs to be in wm , it is easy to code those functions.
Would wifimulti conflict with the connection attempt that wifimanager is trying to do?
On Mon, May 6, 2019 at 10:31 AM Shawn A notifications@github.com wrote:
well the esp auto connects on its own already, so if thats not working something else is wrong with your board, try erasing flash and reload
I imagine very few people need wifi multi or auto connect to open, but there is no reason it needs to be in wm , it is easy to code those functions.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/881#issuecomment-489705069, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7Y5YIVM345VQG4GUIG3RLPUBTOFANCNFSM4HK27DDA .
if you call autoconnect after already connected then it just exits
Will it unload the webserver completely? I'm using the ESP32 with asyncwebserver - a far more advanced and capable webserver that can support mulltiple clients, websockets, etc. They both want to bind to port 80 so I need to make sure wifimanager doesn't conflict.
On Mon, May 6, 2019 at 11:26 AM Shawn A notifications@github.com wrote:
if you call autoconnect after already connected then it just exits
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/881#issuecomment-489724243, or mute the thread https://github.com/notifications/unsubscribe-auth/AC7Y5YI23QYNDXUO75WL22TPUBZ4TANCNFSM4HK27DDA .
you are probably going to have issues, either with webserver or dns server, I would not suggest it
PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed.
POST SERIAL OUTPUT !
Issues without basic info will be ignored or closed!
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
Problem description
Settings in IDE
Module: NodeMcu, Wemos D1
Additional libraries:
Sketch
Debug Messages