Esp8266 connect WIFI without hard coding credentials (SSID, Password)

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 170

  • @calvin-7540
    @calvin-7540 4 роки тому +14

    Man, I will give a big kiss for sharing this great method !!!!!!!!!!!!!!!1 Thank you !

    • @HighVoltages
      @HighVoltages  4 роки тому +1

      Thank you for appreciation. This means alot to me :)

    • @espstack
      @espstack 4 роки тому

      Just like subscribe and share. Keep encouraging

    • @MisterBPK
      @MisterBPK 4 роки тому +1

      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

    • @mirror6711
      @mirror6711 3 роки тому +1

      He deserves 🙂

    • @debrajsaha8503
      @debrajsaha8503 3 роки тому

      tzpau is not showing in library
      Plz help!

  • @kermitinmountain6371
    @kermitinmountain6371 3 роки тому +1

    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.

  • @al73r
    @al73r 4 роки тому +1

    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

  • @martingerhardsoos
    @martingerhardsoos Рік тому

    this is by far the best & fastest solution seen for this topic yet! Thanks!!

  • @webslinger2011
    @webslinger2011 4 роки тому +1

    Great! Even included a physical trigger before an upload. Thanks!

  • @alhamedabdulrahman1835
    @alhamedabdulrahman1835 3 роки тому +2

    You don't know how much is this helpful ..
    Thank you soooo much for sharing it in very cool, way love it

    • @HighVoltages
      @HighVoltages  3 роки тому

      Happy to help!

    • @debrajsaha8503
      @debrajsaha8503 3 роки тому +1

      I'm not getting tzapu while adding library
      Plz help!

    • @alhamedabdulrahman1835
      @alhamedabdulrahman1835 3 роки тому

      @@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

    • @HighVoltages
      @HighVoltages  3 роки тому

      @@debrajsaha8503 as @Alhamed Abdulrehman answered, you can download the library from github or if you still have problems i can help using remote session.

    • @debrajsaha8503
      @debrajsaha8503 3 роки тому

      @@alhamedabdulrahman1835 Thanks 😊
      I got it already

  • @electromind4183
    @electromind4183 3 роки тому +2

    Man what a video it is very useful to thank

  • @maliarif2023
    @maliarif2023 4 роки тому +2

    Thank you so much for your wonderful effort, Sir. This really helps a lot in my IoT projects.
    Lots of Prayers for you.

  • @yashpandey5381
    @yashpandey5381 2 роки тому +1

    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

  • @ernestorivero8788
    @ernestorivero8788 2 роки тому +1

    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

    • @HighVoltages
      @HighVoltages  2 роки тому

      you can use esp8266 without a wifi, try led blink example that does not require the wifi and can be a good start.

  • @maliarif2023
    @maliarif2023 4 роки тому +1

    Is there any procedure to erase the Credentials via WifiManager and again enter Credentials through WiFIManager.?
    kindly help me regarding the above matter.

  • @fasups
    @fasups 2 роки тому

    Thank you for sharing; I love how you explain things in this way that is very easy for a newcomer like me to understand.

  • @ernestorivero8788
    @ernestorivero8788 2 роки тому

    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

  • @wahyugamma
    @wahyugamma 3 роки тому +1

    MANTAP JIWA BANG

  • @happyjutt786
    @happyjutt786 4 роки тому +3

    love you bro may you have long life full of joy happiness and success
    you have solved biggest problem

    • @HighVoltages
      @HighVoltages  4 роки тому

      Thank u. This appreciation means alot to me :)

  • @joseluizliresdomingues6921
    @joseluizliresdomingues6921 2 роки тому +1

    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.

  • @samadfx1564
    @samadfx1564 3 роки тому +1

    you are genius bro lot of love from pakistan

  • @marcaldo
    @marcaldo 2 роки тому

    This is Hi Voltage solution! Thank you so much! Your excellent work saves a lot of time and stress :) you got a new subscritor!

  • @muhamedinsafzainudin2170
    @muhamedinsafzainudin2170 3 роки тому

    Hi, what solution should I use for WPA2 enterprise, would this Method work?

  • @Venkatasurendra476
    @Venkatasurendra476 4 роки тому +1

    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.

    • @HighVoltages
      @HighVoltages  4 роки тому

      seems like library problem, try updating all the libraries.

  • @debrajsaha8503
    @debrajsaha8503 3 роки тому +1

    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!

  • @mayankcreator
    @mayankcreator 2 роки тому +1

    How to merge this code with Google home automation

  • @peremilskjold9388
    @peremilskjold9388 4 роки тому

    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?

  • @randrants1024
    @randrants1024 4 роки тому +1

    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...

    • @HighVoltages
      @HighVoltages  4 роки тому

      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.

  • @prasunbiswas8025
    @prasunbiswas8025 4 роки тому +1

    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?

  • @hamidhashemi616
    @hamidhashemi616 3 роки тому +1

    don't work for esp32 and my dev board wemos lolin32

  • @einarpoisot9507
    @einarpoisot9507 2 роки тому

    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?

  • @mayankcreator
    @mayankcreator 2 роки тому

    My wifi is connected but code is not working means sinric pro is not connecting so what to do.

  • @dailydaisydog
    @dailydaisydog 4 роки тому +1

    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?

    • @HighVoltages
      @HighVoltages  4 роки тому

      You will have to upload this code to all, everu eap will be on different ip. Btw what are you planning to make?

  • @heshamhossny295
    @heshamhossny295 4 роки тому +1

    when i open the serial monitor and then reset the ESP board it shows nothing,only infinite dots..can you help plz!?

    • @HighVoltages
      @HighVoltages  4 роки тому

      it might be trying to Wi-Fi, can you see wifi portal enable?

  • @dariovicenzo8139
    @dariovicenzo8139 4 роки тому +1

    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

    • @HighVoltages
      @HighVoltages  4 роки тому

      wifiManager.resetSettings() call this function f you want to reset.

    • @daaac35
      @daaac35 4 роки тому +1

      @@HighVoltages is there a command to know and use if the network does not connect and then run the wifimanager.resetSettings() call function?

    • @HighVoltages
      @HighVoltages  4 роки тому

      @@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.

  • @manumaestri
    @manumaestri 3 роки тому +1

    Oh maaan, thank you so so so much

  • @DuyNguyen-kh5tk
    @DuyNguyen-kh5tk 3 роки тому

    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 ?

    • @HighVoltages
      @HighVoltages  3 роки тому

      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.

  • @DharmeshTechZone
    @DharmeshTechZone 4 роки тому +1

    Thanks bro it perfect working 1000 like

  • @vigneshwaran6790
    @vigneshwaran6790 4 роки тому +1

    nice video, same thing i want to do for ESP32. which library you'll prefer

    • @HighVoltages
      @HighVoltages  4 роки тому

      Thank you. you can use the same library for Esp32

    • @vigneshwaran6790
      @vigneshwaran6790 4 роки тому +1

      @@HighVoltages i tried its not working

  • @akhiljose9211
    @akhiljose9211 4 роки тому +1

    Sir,
    Were to write the html code to get the UI in the web browser 192.168.4.1

  • @umairnaveed10
    @umairnaveed10 3 роки тому +2

    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.

    • @HighVoltages
      @HighVoltages  3 роки тому +1

      The wifi manager library does that.

    • @umairnaveed10
      @umairnaveed10 3 роки тому

      @@HighVoltages ok thanks for your reply. It will be very helpful if you send me the link.

  • @faizanzahid09
    @faizanzahid09 3 роки тому

    what if you want to connect to an enterprise wifi that asks for network username and password??

  • @Girlstalks3s
    @Girlstalks3s 3 роки тому +1

    Can you explain how to use this for authentication, SSID and Password (for blynk app)

  • @yawarsaeed6499
    @yawarsaeed6499 4 роки тому

    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
      @HighVoltages  4 роки тому

      currently they have the hardcoded credentials?

  • @DIYUSTHAD
    @DIYUSTHAD 5 років тому +2

    Thanks for sharing such useful information

  • @adityak3578
    @adityak3578 5 років тому +1

    ek no.

  • @kurtpogi1011
    @kurtpogi1011 4 роки тому +1

    Can i use this method to change values of variables declared in the sketch?
    if yes, how?
    thankyou sir.

    • @HighVoltages
      @HighVoltages  4 роки тому

      I will make a video about it in coming days.

    • @kurtpogi1011
      @kurtpogi1011 4 роки тому

      @@HighVoltages thankyou sir! i'll wait for it.

    • @chandhrenb335
      @chandhrenb335 3 роки тому

      @@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 ..

  • @dennisivanchavez
    @dennisivanchavez 2 роки тому +1

    Can we add html css styling to the portal?

  • @mdnasiruddin700
    @mdnasiruddin700 2 роки тому +1

    Is the AccessPoint name inside autoConnect() random?

  • @joseluizliresdomingues6921
    @joseluizliresdomingues6921 2 роки тому +1

    i mean, considering the on demand config..

  • @rahabulislam2579
    @rahabulislam2579 4 роки тому +1

    Big Thanks Brother.

  • @batrapiyushbatra
    @batrapiyushbatra 2 роки тому +1

    Big thanks

  • @PatriotaMex
    @PatriotaMex 3 роки тому +1

    My friend, this code works for esp8266 esp01 too?

    • @HighVoltages
      @HighVoltages  3 роки тому +1

      Yes it should

    • @PatriotaMex
      @PatriotaMex 3 роки тому

      @@HighVoltages thank you very much

    • @PatriotaMex
      @PatriotaMex 3 роки тому

      It not worked for me :( I made the same code but nothing appears into monitor serial

  • @rakeshkumart652
    @rakeshkumart652 4 роки тому

    error occuring........"D2 is not declared in this scope ",can anyone help me?

  • @lukstil9320
    @lukstil9320 4 роки тому +1

    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

    • @HighVoltages
      @HighVoltages  3 роки тому +1

      Thanks for sharing.

    • @lukstil9320
      @lukstil9320 3 роки тому

      @@HighVoltages Thanks for sharing, great video!

  • @rizkiadisaputra5971
    @rizkiadisaputra5971 4 роки тому +1

    if my device restart , what my wifi credentials lost?

  • @jesalmachado4763
    @jesalmachado4763 3 роки тому +1

    If I upload this code to new esp board will it work for my project ??

    • @HighVoltages
      @HighVoltages  3 роки тому

      yes it will work.

    • @jesalmachado4763
      @jesalmachado4763 3 роки тому +1

      @@HighVoltages if I am making a project with 4 channel relay for Home automation will this sketch run

    • @HighVoltages
      @HighVoltages  3 роки тому

      Yes it will

  • @sunmaddy6475
    @sunmaddy6475 2 роки тому

    Bro I'm forget my nodemcu password how can I recover broo

  • @sandeshtulsani1517
    @sandeshtulsani1517 4 роки тому +1

    great job, Brother

  • @deekrajput9704
    @deekrajput9704 Рік тому +1

    Can we use this with blynk app???

  • @hamidhasan04
    @hamidhasan04 2 роки тому

    Bro,how to make esp8266 repeater using Android in ArduinoDroid, please make a video

  • @ganjikrishna6531
    @ganjikrishna6531 5 років тому +1

    Nice job keep doing and inspiring

  • @industron22
    @industron22 2 роки тому +1

    when i restart it does not work plz help

    • @HighVoltages
      @HighVoltages  2 роки тому

      Can you explain more?

    • @industron22
      @industron22 2 роки тому +1

      @@HighVoltages after power failure it should reconnect automatically.but it doesn't

  • @0124akash
    @0124akash 2 роки тому +1

    This method work on esp32 ?

    • @HighVoltages
      @HighVoltages  2 роки тому

      Yes, you will find many other videos related to that.

    • @0124akash
      @0124akash 2 роки тому

      @@HighVoltages I can't find it sir please share any link.

  • @targetsathees1644
    @targetsathees1644 4 роки тому +1

    How to change bylnk auth code also?

  • @nitekaneshiro3188
    @nitekaneshiro3188 2 роки тому

    hi, i can't find the tzapu, have any solution?🙏

    • @HighVoltages
      @HighVoltages  2 роки тому

      download it from GitHub and add it to Arduino by adding it as a zip file.

    • @nitekaneshiro3188
      @nitekaneshiro3188 2 роки тому

      @@HighVoltages thanks

  • @hadyanal-muhithkhosy
    @hadyanal-muhithkhosy 3 роки тому

    why is my internet not connected even though wifi is already connected?

    • @hadyanal-muhithkhosy
      @hadyanal-muhithkhosy 3 роки тому

      please help me..

    • @HighVoltages
      @HighVoltages  3 роки тому

      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 ?

    • @hadyanal-muhithkhosy
      @hadyanal-muhithkhosy 3 роки тому +1

      @@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

    • @HighVoltages
      @HighVoltages  3 роки тому

      @@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.

  • @spencerliamrogers3104
    @spencerliamrogers3104 3 роки тому

    Can you set this to one of the existing buttons on the nodemcu

    • @HighVoltages
      @HighVoltages  3 роки тому

      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).

  • @iithyderabad8952
    @iithyderabad8952 4 роки тому +1

    Sir can i use it without push button

  • @sagnikchakraborty2051
    @sagnikchakraborty2051 2 роки тому

    what to do for ESP32?

  • @fyza1350
    @fyza1350 4 роки тому

    What board manager we use in this

    • @fyza1350
      @fyza1350 4 роки тому

      It says error on board manager nodemcu 1.0 module

  • @juniorgalvan8236
    @juniorgalvan8236 4 роки тому

    what about if I wanna an app for that configuration portal?

    • @HighVoltages
      @HighVoltages  4 роки тому

      android app?

    • @juniorgalvan8236
      @juniorgalvan8236 4 роки тому

      @@HighVoltages yes

    • @juniorgalvan8236
      @juniorgalvan8236 4 роки тому

      like Ewelink from Sonoff

    • @HighVoltages
      @HighVoltages  4 роки тому

      @@juniorgalvan8236 we can make android app.

    • @wavegodsco557
      @wavegodsco557 4 роки тому +1

      @@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.

  • @ngulikaquaponik376
    @ngulikaquaponik376 4 роки тому

    How if I want to connect to blynk?

    • @HighVoltages
      @HighVoltages  4 роки тому

      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.

    • @targetsathees1644
      @targetsathees1644 4 роки тому

      Can you please make one video with blynk credentials

  • @luie.no1noob
    @luie.no1noob 3 роки тому +2

    Hey can I connect to you by insta!!? Just need a small help 🙏

    • @HighVoltages
      @HighVoltages  3 роки тому

      sure email me.

    • @luie.no1noob
      @luie.no1noob 3 роки тому

      @@HighVoltages Then give the email 🙏

    • @HighVoltages
      @HighVoltages  3 роки тому +1

      @@luie.no1noob highvoltages670@gmail.com

    • @luie.no1noob
      @luie.no1noob 3 роки тому +1

      @@HighVoltages bro what code will let me know if the cofig portal is running or not?

  • @arupghosh3505
    @arupghosh3505 4 роки тому +1

    thanks.

  • @hayamaitmalk3459
    @hayamaitmalk3459 3 роки тому

    tnk you

  • @82levy5
    @82levy5 2 роки тому +1

    It's not possible to display the new IP address on webpage?

    • @HighVoltages
      @HighVoltages  2 роки тому

      it can show , but how you will access it without knowing it.

    • @82levy5
      @82levy5 2 роки тому

      @@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.