I made an Android App that might useful to you! play.google.com/store/apps/details?id=com.praveensmedia.mynodemcuconfig_control It is useful to find IP address of . local services in your local network. And to insert wifi credentials into any ESP8266 based devices. Arduino code is available at praveensmedia.com
Awesome! Thank you for your tutorials!, the other didn't works for me. This brightens me up tonight. Yesterday, I tried the other website for tutorials on setting up username and password, no luck, I tried the others, no luck, went to McDonalds and a guy front ended my car, no luck and when i tried yours, It Works! Thank you! But right now, I am working for what we called "Basic Set ups.
wow this saved me so much time - building a monitoring system for temperatures - ultimate goal is to expand to old cars with basic off the shelf sensors - Now to have it stay connected to the ap so it displays the connection - the wifi manager page would also be a great spot to add in an api key for say blynk or losant
@@debrajsaha8503 as @Alhamed Abdulrehman answered, you can download the library from github or if you still have problems i can help using remote session.
I'm using the exact same method, code and board but having an issue that my access point is not showing up in the wifi settings in any device. please help me
I have a nondemcu esp8266, I want to use it only for Led matrices ws2812 (neopixel);I do not have wifi,so my question is,I can use it in my projects canceling the wifi,or I must install some additional firmware
Is there any procedure to erase the Credentials via WifiManager and again enter Credentials through WiFIManager.? kindly help me regarding the above matter.
Yo tengo un esp8266 nodemcu,lo quiero utilizar solo para matrices de Led ws2812(neopixel);yo no tengo wifi,entonces mi pregunta es,lo puedo utilizar en mis proyectos anulando el wifi,o debo instalar algún firmware adicional
I would like to ask you a question please ... if for any reason the wifi connection is lost, the credentials saved will remain for a further connecting automatically ? I appreciate it. Thanks a lot.
For me this code is not working throwing a compilation error like this help me out please.. arduino: 1.8.12 (windows 10), board: "generic esp8266 module, 80 mhz, flash, legacy (new can return nullptr), all ssl ciphers (most compatible), dtr (aka nodemcu), 26 mhz, 40mhz, dout (compatible), 1mb (fs:64kb ota:~470kb), 2, nonos-sdk 2.2.1+100 (190703), v2 lower memory, disabled, none, only sketch, 115200" in file included from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0, from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63, from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/arduino.h:32, from sketch\example.ino.cpp:1: c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char http_head []' redeclared as different kind of symbol #define progmem __attribute__((section( "\".irom.text." __file__ "." __stringize(__line__) "." __stringize(__counter__) "\""))) ^ c:\users\venkata surendra\documents\arduino\libraries\wifimanager/wifimanager.h:25:24: note: in expansion of macro 'progmem' const char http_head[] progmem = "{v}"; ^ in file included from c:\users\venkata surendra\desktop\example\example.ino:3:0: c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\esp8266webserver\src/esp8266webserver.h:34:39: error: previous declaration of 'httpmethod http_head' enum httpmethod { http_any, http_get, http_head, http_post, http_put, http_patch, http_delete, http_options }; ^ exit status 1 error compiling for board generic esp8266 module. this report would have more information with "show verbose output during compilation" option enabled in file -> preferences.
After uploading the sketch,access point doesn't show And I had to add the zip file of the wifi manager as it was not showing for download in library Help!
There is one major UI experience problem with wifi manager. My user's complain of missing text above input boxes. I have many settings below SSID and wifi password. (Clearing text from input box does not count, cause how could users know that). Anybody got a solution for that?
I dont understand one thing, when you show the networks you write the ssid of them and also the pasdwords? So you have to know before the password? Because i want to know then before...
if you will not use the hardcoded credentials, you will not have to remember ssid but passwords, yes you will need to remember the password as it will be required to connect to the wifi device.
whenever trying to do it with autoconnect it is showing 'error compiling on node mcu " everytime which is not the case for any other codes while uploading why so?
@@daaac35 if you are using Autoconfig portal and you loses the network it will automatically opens a config portal, there you can reset the settings. If you are using the on demand config portal then you will have to press a button to reset.
Nice video! I have a question. For example, i connect to the wifi OPPo and then move to another place that has the wifi ABC. Can u show me how to connect to ABC ?
If you connect to Wifi OPPo and then you move to another place that does not have OPPo Wifi, and the ESP8266 will be converted to access point and you can connect to it and change the Wifi credentials.
Excellent Work. Thanks for sharing this stuff. I want to save the SSID and Password permanently in EEPROM that received from WebServer. Please help me if it is possible.
Can you please share as to how I can use this option to be assigned to multiple nodemcu already programmed to operate 4 channel Android operated switches. I intend to config multiple nodemcus to different wifi networks having different ssid & passwords. Awaiting your earliest response.
@@HighVoltages bro its a year u said u would upload :(.....pls upload a video for configuring additional parameters like sinric API key channel key etc ..
Working fine with the library from github. Also you should take a longer password because i got errors with such short pw like "12345" also the wifi hotspot is unprotectected
Connecting with wifi device or router does no ensure the intermet will work. Can you please connect another device with the same wifi and see if internet is working ?
@@HighVoltages ya internet is working because the hotspot from my handphone; i'have try android=>pc(internet✓), but when i try android=>esp8266=>pc ( no internet but wifi is connected). is something wrong? android
@@hadyanal-muhithkhosy what i understood is that you are connected with esp8266 access point and that is just for setting up the parameters , so go to your serial monitor you will get an ip address , copy that into browser and set the wifi parameters and then internet will work in esp8266.
@@HighVoltages any progress on making an app?? maybe not an android specific app, but just a container that launches in the browser on any device. willing to help out with front end code where i can.
You can use it easily with blynk,just add the credentials of blynk app and in wifidetails , put wifimanager object and in the loop put your blynk code.
@@HighVoltages , that is the reason why i'm asking, because i don't know the ip. This is the reason why it would be great if it can show the new ip on the web page.
Man, I will give a big kiss for sharing this great method !!!!!!!!!!!!!!!1 Thank you !
Thank you for appreciation. This means alot to me :)
Just like subscribe and share. Keep encouraging
I made an Android App that might useful to you! play.google.com/store/apps/details?id=com.praveensmedia.mynodemcuconfig_control
It is useful to find IP address of . local services in your local network. And to insert wifi credentials into any ESP8266 based devices. Arduino code is available at praveensmedia.com
He deserves 🙂
tzpau is not showing in library
Plz help!
Awesome! Thank you for your tutorials!, the other didn't works for me. This brightens me up tonight. Yesterday, I tried the other website for tutorials on setting up username and password, no luck, I tried the others, no luck, went to McDonalds and a guy front ended my car, no luck and when i tried yours, It Works! Thank you! But right now, I am working for what we called "Basic Set ups.
Enjoy!
wow this saved me so much time - building a monitoring system for temperatures - ultimate goal is to expand to old cars with basic off the shelf sensors - Now to have it stay connected to the ap so it displays the connection - the wifi manager page would also be a great spot to add in an api key for say blynk or losant
this is by far the best & fastest solution seen for this topic yet! Thanks!!
Great! Even included a physical trigger before an upload. Thanks!
You don't know how much is this helpful ..
Thank you soooo much for sharing it in very cool, way love it
Happy to help!
I'm not getting tzapu while adding library
Plz help!
@@debrajsaha8503 you need to download the library from GitHub, you will find it there .. if you don't know how, contact me via Instagram: iiAlhamed
@@debrajsaha8503 as @Alhamed Abdulrehman answered, you can download the library from github or if you still have problems i can help using remote session.
@@alhamedabdulrahman1835 Thanks 😊
I got it already
Man what a video it is very useful to thank
Thank you so much for your wonderful effort, Sir. This really helps a lot in my IoT projects.
Lots of Prayers for you.
I'm using the exact same method, code and board but having an issue that my access point is not showing up in the wifi settings in any device. please help me
I have a nondemcu esp8266, I want to use it only for Led matrices ws2812 (neopixel);I do not have wifi,so my question is,I can use it in my projects canceling the wifi,or I must install some additional firmware
you can use esp8266 without a wifi, try led blink example that does not require the wifi and can be a good start.
Is there any procedure to erase the Credentials via WifiManager and again enter Credentials through WiFIManager.?
kindly help me regarding the above matter.
Thank you for sharing; I love how you explain things in this way that is very easy for a newcomer like me to understand.
Yo tengo un esp8266 nodemcu,lo quiero utilizar solo para matrices de Led ws2812(neopixel);yo no tengo wifi,entonces mi pregunta es,lo puedo utilizar en mis proyectos anulando el wifi,o debo instalar algún firmware adicional
MANTAP JIWA BANG
love you bro may you have long life full of joy happiness and success
you have solved biggest problem
Thank u. This appreciation means alot to me :)
I would like to ask you a question please ... if for any reason the wifi connection is lost, the credentials saved will remain for a further connecting automatically ? I appreciate it. Thanks a lot.
yes it will.
you are genius bro lot of love from pakistan
Thank you so much.
This is Hi Voltage solution! Thank you so much! Your excellent work saves a lot of time and stress :) you got a new subscritor!
Thanks and welcome
Hi, what solution should I use for WPA2 enterprise, would this Method work?
For me this code is not working throwing a compilation error like this help me out please..
arduino: 1.8.12 (windows 10), board: "generic esp8266 module, 80 mhz, flash, legacy (new can return nullptr), all ssl ciphers (most compatible), dtr (aka nodemcu), 26 mhz, 40mhz, dout (compatible), 1mb (fs:64kb ota:~470kb), 2, nonos-sdk 2.2.1+100 (190703), v2 lower memory, disabled, none, only sketch, 115200" in file included from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0, from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63, from c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/arduino.h:32, from sketch\example.ino.cpp:1: c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char http_head []' redeclared as different kind of symbol #define progmem __attribute__((section( "\".irom.text." __file__ "." __stringize(__line__) "." __stringize(__counter__) "\""))) ^ c:\users\venkata surendra\documents\arduino\libraries\wifimanager/wifimanager.h:25:24: note: in expansion of macro 'progmem' const char http_head[] progmem = "{v}"; ^ in file included from c:\users\venkata surendra\desktop\example\example.ino:3:0: c:\users\venkata surendra\appdata\local\arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\esp8266webserver\src/esp8266webserver.h:34:39: error: previous declaration of 'httpmethod http_head' enum httpmethod { http_any, http_get, http_head, http_post, http_put, http_patch, http_delete, http_options }; ^ exit status 1 error compiling for board generic esp8266 module. this report would have more information with "show verbose output during compilation" option enabled in file -> preferences.
seems like library problem, try updating all the libraries.
After uploading the sketch,access point doesn't show
And I had to add the zip file of the wifi manager as it was not showing for download in library
Help!
are you connected to the same network ?
@@HighVoltages it's fine now bro
How to merge this code with Google home automation
There is one major UI experience problem with wifi manager. My user's complain of missing text above input boxes. I have many settings below SSID and wifi password.
(Clearing text from input box does not count, cause how could users know that).
Anybody got a solution for that?
I dont understand one thing, when you show the networks you write the ssid of them and also the pasdwords? So you have to know before the password? Because i want to know then before...
if you will not use the hardcoded credentials, you will not have to remember ssid but passwords, yes you will need to remember the password as it will be required to connect to the wifi device.
whenever trying to do it with autoconnect it is showing 'error compiling on node mcu " everytime which is not the case for any other codes while uploading why so?
What is the error ?
don't work for esp32 and my dev board wemos lolin32
I need the code to replace the variables of type char as at the beginning of the video, what has to be done in this case?
My wifi is connected but code is not working means sinric pro is not connecting so what to do.
thanks for the nice video. if i have more than one esp module, do I have to do this for each esp? or is there any way I can do it all at once?
You will have to upload this code to all, everu eap will be on different ip. Btw what are you planning to make?
when i open the serial monitor and then reset the ESP board it shows nothing,only infinite dots..can you help plz!?
it might be trying to Wi-Fi, can you see wifi portal enable?
Hi, If I don't want to use the button, there is another way to cancel the previous SSID and PASSWORD and put a new one? Thanks
wifiManager.resetSettings() call this function f you want to reset.
@@HighVoltages is there a command to know and use if the network does not connect and then run the wifimanager.resetSettings() call function?
@@daaac35 if you are using Autoconfig portal and you loses the network it will automatically opens a config portal, there you can reset the settings. If you are using the on demand config portal then you will have to press a button to reset.
Oh maaan, thank you so so so much
Nice video! I have a question. For example, i connect to the wifi OPPo and then move to another place that has the wifi ABC. Can u show me how to connect to ABC ?
If you connect to Wifi OPPo and then you move to another place that does not have OPPo Wifi, and the ESP8266 will be converted to access point and you can connect to it and change the Wifi credentials.
Thanks bro it perfect working 1000 like
Enjoy
nice video, same thing i want to do for ESP32. which library you'll prefer
Thank you. you can use the same library for Esp32
@@HighVoltages i tried its not working
Sir,
Were to write the html code to get the UI in the web browser 192.168.4.1
Excellent Work. Thanks for sharing this stuff. I want to save the SSID and Password permanently in EEPROM that received from WebServer. Please help me if it is possible.
The wifi manager library does that.
@@HighVoltages ok thanks for your reply. It will be very helpful if you send me the link.
what if you want to connect to an enterprise wifi that asks for network username and password??
Can you explain how to use this for authentication, SSID and Password (for blynk app)
I will soon make a video on this
Can you please share as to how I can use this option to be assigned to multiple nodemcu already programmed to operate 4 channel Android operated switches. I intend to config multiple nodemcus to different wifi networks having different ssid & passwords.
Awaiting your earliest response.
currently they have the hardcoded credentials?
Thanks for sharing such useful information
Thank u :)
ek no.
Can i use this method to change values of variables declared in the sketch?
if yes, how?
thankyou sir.
I will make a video about it in coming days.
@@HighVoltages thankyou sir! i'll wait for it.
@@HighVoltages bro its a year u said u would upload :(.....pls upload a video for configuring additional parameters like sinric API key channel key etc ..
Can we add html css styling to the portal?
yes you can
Is the AccessPoint name inside autoConnect() random?
yes
i mean, considering the on demand config..
Big Thanks Brother.
Most welcome
Big thanks
You're welcome!
My friend, this code works for esp8266 esp01 too?
Yes it should
@@HighVoltages thank you very much
It not worked for me :( I made the same code but nothing appears into monitor serial
error occuring........"D2 is not declared in this scope ",can anyone help me?
Working fine with the library from github. Also you should take a longer password because i got errors with such short pw like "12345" also the wifi hotspot is unprotectected
Thanks for sharing.
@@HighVoltages Thanks for sharing, great video!
if my device restart , what my wifi credentials lost?
No, it will not
If I upload this code to new esp board will it work for my project ??
yes it will work.
@@HighVoltages if I am making a project with 4 channel relay for Home automation will this sketch run
Yes it will
Bro I'm forget my nodemcu password how can I recover broo
great job, Brother
Many many thanks
Can we use this with blynk app???
yes you can.
Bro,how to make esp8266 repeater using Android in ArduinoDroid, please make a video
Nice job keep doing and inspiring
Thank you :)
when i restart it does not work plz help
Can you explain more?
@@HighVoltages after power failure it should reconnect automatically.but it doesn't
This method work on esp32 ?
Yes, you will find many other videos related to that.
@@HighVoltages I can't find it sir please share any link.
How to change bylnk auth code also?
Okay, I will make a video about it.
@@HighVoltages iam waiting for that
hi, i can't find the tzapu, have any solution?🙏
download it from GitHub and add it to Arduino by adding it as a zip file.
@@HighVoltages thanks
why is my internet not connected even though wifi is already connected?
please help me..
Connecting with wifi device or router does no ensure the intermet will work. Can you please connect another device with the same wifi and see if internet is working ?
@@HighVoltages ya internet is working because the hotspot from my handphone; i'have try android=>pc(internet✓), but when i try android=>esp8266=>pc ( no internet but wifi is connected). is something wrong?
android
@@hadyanal-muhithkhosy what i understood is that you are connected with esp8266 access point and that is just for setting up the parameters , so go to your serial monitor you will get an ip address , copy that into browser and set the wifi parameters and then internet will work in esp8266.
Can you set this to one of the existing buttons on the nodemcu
Yes we can set this to one of the existing button on Nodemcu. You can use flash button by using the 0 pin, pinMode(0, INPUT_PULLUP).
Sir can i use it without push button
Yes you can.
@@HighVoltages Can you explain it how? Please
what to do for ESP32?
What board manager we use in this
It says error on board manager nodemcu 1.0 module
what about if I wanna an app for that configuration portal?
android app?
@@HighVoltages yes
like Ewelink from Sonoff
@@juniorgalvan8236 we can make android app.
@@HighVoltages any progress on making an app?? maybe not an android specific app, but just a container that launches in the browser on any device. willing to help out with front end code where i can.
How if I want to connect to blynk?
You can use it easily with blynk,just add the credentials of blynk app and in wifidetails , put wifimanager object and in the loop put your blynk code.
Can you please make one video with blynk credentials
Hey can I connect to you by insta!!? Just need a small help 🙏
sure email me.
@@HighVoltages Then give the email 🙏
@@luie.no1noob highvoltages670@gmail.com
@@HighVoltages bro what code will let me know if the cofig portal is running or not?
thanks.
tnk you
Welcome
It's not possible to display the new IP address on webpage?
it can show , but how you will access it without knowing it.
@@HighVoltages , that is the reason why i'm asking, because i don't know the ip. This is the reason why it would be great if it can show the new ip on the web page.