Enter Blynk Credentials Over the Air in ESP32 or NodeMCU board | ESP32 projects | ESP8266 projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 เม.ย. 2020
  • In this video I have shown how you can enter the wifi ssid name, password and blynk authentication token wirelessly to your ESP32 or NodeMCU board though your web browser. So now no need to hard code all the things inside the code.
    You can change the credentials anytime you want without updating the code. Have a look......
    Goto Blynk forum for more help : community.blynk.cc
    You can support me and also get benefitted on Patreon :- / techiesms
    Subscribe now to watch some amazing videos coming up soon.
    bit.ly/techiesms_youtube
    _________________________________________________________________
    Important Links
    Goto Blynk forum for more help : community.blynk.cc
    Link for OTABlynkCredentials library & Code :- bit.ly/2VKjbB0
    _________________________________________________________________
    Now you can get free PCB with every order of techiesms T-shirt or techiesms pocket notebook.
    You can buy the merchandise from here,
    techiesms.com/merchandise/
    _________________________________________________________________
    Buy the components from here
    Visit my Amazon Storefront for purchasing any components you need for this project or any other project :-
    bit.ly/techiesms-Amazon-Store
    _________________________________________________________________
    Subscribe Now :- bit.ly/techiesms_youtube
    You can support me and also get benefitted on Patreon :- / techiesms
    Facebook :- / techiesms
    Twitter :- / imtechiesms
    Instagram :- / techiesms
    Website :- www.techiesms.com
    WhatsApp number :- +91 82000 79034
    _________________________________________________________________
    #techiesms
    explore | learn | share
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 334

  • @ankitjain-bv3pd
    @ankitjain-bv3pd 4 ปีที่แล้ว +12

    Brother you did wonderful work in this tutorial.
    Thanks for the amazing information and code which u was shared with us
    ...

  • @riteshmishra8110
    @riteshmishra8110 4 ปีที่แล้ว +3

    Excellent !!, Actually you're my role model. I am from IT industries and Robotics is my hobby, I learned so many things from your channel. I got interested in robotics because of you only.
    आपके इस कोशिश से कई लोगों का फायदा हो रहा हैI
    If possible please make energy meter on blank platform
    Thanks !!

  • @technonew1498
    @technonew1498 4 ปีที่แล้ว +2

    Such an amazing achievement that you share with us. I am glad to thank you to give helpful and creative ideas. I am waiting for the same thing possible with the internet and manual control of home appliances.

  • @maliarif2023
    @maliarif2023 3 ปีที่แล้ว +1

    I love your projects, incredible , wonderful. Totally worthy for IoT projects. Thanks

  • @jcdock
    @jcdock 4 ปีที่แล้ว

    Great video, this will allow me to share some of my projects because all their credentials are hard coded at the moment

  • @kenkankan
    @kenkankan 3 ปีที่แล้ว

    Wow, it is what I want to do and just wonder how long I need to work on this. Now, it is 1 min work. Thanks so much.

    • @techiesms
      @techiesms  3 ปีที่แล้ว

      Glad it helped!

  • @dTnbilim
    @dTnbilim 3 ปีที่แล้ว +1

    Also I am junior full stack developer so I understood you very well and I would love to see more explanation about code :) It's easy to when you explain :+1

  • @jynkotech
    @jynkotech 4 ปีที่แล้ว +5

    you are one of the best best youtuber in this world

  • @robinborland6276
    @robinborland6276 3 ปีที่แล้ว +1

    Thanks very much for the very useful code. FYI I had to install the AsyncTCP library from Github to get it to work. Regards

  • @mukeshindian1028
    @mukeshindian1028 3 ปีที่แล้ว

    Nice & Hard work.No any other video like this on youtube on this topic

  • @piyushtanwar1309
    @piyushtanwar1309 3 ปีที่แล้ว

    You got amazing tutorials bro keep it up!!!!

  • @maadhurdhananiwala6546
    @maadhurdhananiwala6546 3 ปีที่แล้ว +2

    great job! but I wanted to know can I use this code for the home automation project as shown in one of the videos where u use siniric to control over the product for manul with feedback, can u let me know if it's possible that we can remove the blynk libraries and use siniric to type myApi key by air to esp32.

  • @dr.hrituraj
    @dr.hrituraj 3 ปีที่แล้ว

    Well real hardwork goes behind this kind of effort...
    👍👍👍
    Super Thumbs up....
    Your Passion can be seen...

  • @tikeshwardewangan1158
    @tikeshwardewangan1158 4 ปีที่แล้ว

    Yes sir.. jarror...bnaiyega...is pr..
    Video mst h..aj ki.. coding ♥️...
    Thank u sir mne bhi ye bola tha..video bnane ko.♥️🚀

  • @sakshamjain240
    @sakshamjain240 4 ปีที่แล้ว

    Awesome work bhai, it is really a very cool and useful feature. I am hoping to see more videos on NodeMcu. More power to your work. 🔥❤️🤓

  • @almobarmij
    @almobarmij 4 ปีที่แล้ว

    Very great explaination, and waiting for the websockets, js series

  • @ragilprasetiyo302
    @ragilprasetiyo302 3 ปีที่แล้ว +1

    very good idea, I want to ask what if we use a server other than blynk for example using a local server using an ip address? which part should I add the program to my local server?
    Thanks sir

  • @swapnilkute5917
    @swapnilkute5917 4 ปีที่แล้ว

    Yes bro.... Make that series.... Will help us all diy guyz a Lott....!

  • @Ashok-tm5bz
    @Ashok-tm5bz 4 ปีที่แล้ว

    Yes. We need that series

  • @rajeshbiswas6003
    @rajeshbiswas6003 4 ปีที่แล้ว +4

    Sir please you continue to making the searise 😄❣️

  • @krishnakoppisetti3922
    @krishnakoppisetti3922 4 ปีที่แล้ว +4

    You're a genius! ❤️

  • @tammanahiteshkrishnakumar3402
    @tammanahiteshkrishnakumar3402 4 ปีที่แล้ว

    You are awesome brother. It is really a great video to learn from

  • @turveyles
    @turveyles 3 ปีที่แล้ว

    Great break down of the code . Only one question is there a way to autoreset?

  • @ammarsathar2730
    @ammarsathar2730 4 ปีที่แล้ว

    Your videos are very helpful! Thanks alottt

  • @eledtronicaeledtronica7231
    @eledtronicaeledtronica7231 3 ปีที่แล้ว +2

    Very good tutorial, friend, I only have one query ... how can I change the SSID, PASS or AUTH TOKEN over and over again, in case you go to another place that has another WiFi, please ... kind regards

  • @micgamix
    @micgamix 3 ปีที่แล้ว

    First of all, Merry Christmas. Excellent contribution to the esp8266 module. I have a problem when loading the code, I can delete the eeprom, could you explain how it is done? Thank you very much.

  • @eledtronicaeledtronica7231
    @eledtronicaeledtronica7231 3 ปีที่แล้ว +1

    In the esp8266 node MCU in which pin the button and GND should be connected ?, please and in the case of the esp8266 01S, also where does the button go? ... thanks.

  • @raghuannavarapu9982
    @raghuannavarapu9982 4 ปีที่แล้ว

    No job bro I can't afford to subscribe your plans .but this is the channel which I daily use to check for new video

  • @phenexledlighting7230
    @phenexledlighting7230 4 ปีที่แล้ว +1

    Bro you did wonderful work in this tutorial.
    Thanks for the amazing information and code which u was shared with us.
    Can you please make tutorial using android app using mit app inventor.

  • @burhanuddinbhiwaniwala618
    @burhanuddinbhiwaniwala618 3 ปีที่แล้ว

    GREAT VIDEO sir.... I was thinking is it possible to use Nextion display to enter WiFi credentials without hard coding or without creating a Soft AP

  • @Mr.JayantaJi
    @Mr.JayantaJi 4 ปีที่แล้ว

    Yes sir, please make a video separate series on WebSocket server and JavaScript.

  • @nehru123456
    @nehru123456 4 ปีที่แล้ว

    Hi... very nice project and very useful..looking more projects from you

  • @arhumnoman9709
    @arhumnoman9709 2 ปีที่แล้ว

    what a great man. love your work sir. Thanks aa lot

  • @abdelrazekshamma3643
    @abdelrazekshamma3643 ปีที่แล้ว

    Any idea how to add switch button to the same setup page of wifi manager?

  • @tridwipdhali
    @tridwipdhali 4 ปีที่แล้ว

    You are truly genius sir.. 🧡

  • @LifeOfEhan
    @LifeOfEhan 3 ปีที่แล้ว +1

    Hi,
    First of all, appreciate your hard work and elegant explanation.
    I modified your code to work with Firebase Arduino, at first it didn't work because your code uses ArduinoJson v6.x.x whereas, FirebaseArduino.h is not compatible with this version, rather v5. I had to change your json parsing method from v6 to v5 style. I also added another text input field in HTML to get firebase host address along with authentication token. I tested it on my firebase project, works like a charm.
    However, I found that the reset button method doesn't work, once the credentials are stored, reset will erase the EEPROM data successfully, but would not start AP again. Code always gets true return from _testWifi(). I checked it by forcing false return in this function, it starts AP then.
    Can you check again if it is working smoothly in your code? or can you help resolve the problem?
    PS: you can make a video with firebase credentials instead of Blynk, this is missing on youtube, would be useful for audience.

  • @seranjeevic
    @seranjeevic 4 ปีที่แล้ว

    This channel always be rocked.....by creating a innovative projects....
    And my request to make a project by combine this "credentials code" with iot "with and without internet manual switch code" and do a new video for this......
    ""I am eagerly waiting for this new video""

  • @eledtronicaeledtronica7231
    @eledtronicaeledtronica7231 3 ปีที่แล้ว +1

    this procedure works for ESP8266 01S ?? and as it is possible to do it, to see if you can send me some information, please. Thank you.

  • @Luizfelipe99421
    @Luizfelipe99421 3 ปีที่แล้ว +1

    I had to add a line in your code, because the AP was not turning off when the NodeMCU was connected back to the WiFi. I added WiFi.softAPdisconnect(true); in the credentials_get() fuction, and now it's fixed.

  • @samanbondla6242
    @samanbondla6242 3 ปีที่แล้ว

    but to run this we need dual channel network acceleration, as the blynk needs mobile data and the node mcu needs wifi.
    is there any other solution for this?

  • @NEWBI3GAM1NG
    @NEWBI3GAM1NG 4 ปีที่แล้ว

    thank you sir, very helpful code.. it means no hard coding again just reset then put again the credentials is that right sir techiesms?

  • @renaldsurpris115
    @renaldsurpris115 4 ปีที่แล้ว +1

    Good explanation and you are funny. Can it work with other iOT servers?

  • @gavaneavinash
    @gavaneavinash 3 ปีที่แล้ว +1

    Hi Sachin great job👍.
    The reason why your esp8266 doesn't get auto reset is you need to use ESP.reset and not ESP.restart

    • @ASPERTECH786
      @ASPERTECH786 2 ปีที่แล้ว

      (ESPAsyncWebserver.h : No such file or directory )
      Dear friends this problem occur
      Kindly plz help me
      Thanks a lot
      How can i add this Library i can't found it on library manager and chrome

  • @shakerileiwat4341
    @shakerileiwat4341 4 ปีที่แล้ว +1

    Wonderful , great work , I love it ♥

  • @soovui
    @soovui 4 ปีที่แล้ว +1

    Hello Bro, it is a great work and brilliant idea. I wish you can teach us on how to fill in Static IP, Gateway, Subnet, DNS1 and DNS2. Thanks a lot for your kind sharing and very much appreciated. if I can fill in Static IP Gateway, Subnet, DNS1 and DNS2, cant wait you teach us all.

  • @gonelamanuprakash4487
    @gonelamanuprakash4487 4 ปีที่แล้ว

    ya bro teach us Java and Web Socket series... Thank you for this detail code explanation.

  • @dassajityadav5555
    @dassajityadav5555 3 ปีที่แล้ว

    Thanks sir your explanation and demo is superb

  • @SPARKELECTRONICS
    @SPARKELECTRONICS 7 หลายเดือนก่อน

    Thank you. But now This old blynk is closed na ?
    Only Blynk IOT V2.0 only Available.

  • @techieelectro
    @techieelectro 4 ปีที่แล้ว

    Awesome project sir..👍👌
    Never seen before ...

  • @dr.hrituraj
    @dr.hrituraj 3 ปีที่แล้ว

    May be exploring javascript library more has a way out...
    Javascript library modification can just be awesome brother..

  • @garethshanks8290
    @garethshanks8290 3 ปีที่แล้ว +1

    how can i add code to make it reboot after say 5 mins if in access point mode? for example we have many power cuts my arduino board will boot up faster than my router and i don't want to have to go around and manually reset my board all the time? as it will be outside as using it as a water tank sensor. also can i make it so it only changes the wifi not the char auth? thanks in advance.

  • @simon.pasino
    @simon.pasino 3 ปีที่แล้ว

    Hi, when I press for more than 4 seconds the reset button on my NodEMCU ESP-32S don't erase the SSID, password and token information. From the serial monitor, the board try to re-connect to the previous input data loaded.

  • @sunitapatil381
    @sunitapatil381 3 ปีที่แล้ว

    Thank you sir , for this wonderful vedio . sir i have one moew doubt suppose one more time i want to change ssid and passsword how to do that

  • @techandtoys2055
    @techandtoys2055 4 ปีที่แล้ว

    Great tutorial. Can you make a tutorial to automate curtains/window blinds using blynk and esp

  • @adityak3578
    @adityak3578 4 ปีที่แล้ว

    thats mux in relay? so it cannot run more than one relay or its a io expander?

  • @junrel46
    @junrel46 4 ปีที่แล้ว

    Sir i am nothing about of coding ,
    what if you have blynk sever how to attach the ip address direct to your code

  • @drcanalli
    @drcanalli 3 ปีที่แล้ว

    Thank you very much Sachin Soni for the beautiful work.
    A Question: I switched the name esp_ssid and esp_pass but they didn't write to ESP. I tried to erase all the memory, but now only the information ESP_ and the MAC number of the device appears.
    Can someone help me?

  • @muruganjo3931
    @muruganjo3931 2 ปีที่แล้ว +2

    i have a problem in this code during compiling it shows "error compiling for board nodemcu 1.0 (ESP-12E MODULE) please give me a solution

  • @prasantakhan3442
    @prasantakhan3442 4 ปีที่แล้ว +1

    Thank You dada. I am looking for this code form many days ago. Thank you so much. I am able to include this code to my 4 Chanel relay with push button,.

    • @shahrozali8486
      @shahrozali8486 3 ปีที่แล้ว

      yay dosra usa blynk ka code kaha say download karna hay koi bta sakta hay please?

    • @technomena9651
      @technomena9651 3 ปีที่แล้ว

      great, but can you give the code

  • @madhukeshnp
    @madhukeshnp 4 ปีที่แล้ว

    There is already a library called Wifimanager. And also a OndemandPortal example. After watching the entire video i felt that was more handy with automatic portal login especially on iPhone's. I did not find anything new in this. Correct me if i am wrong. I am not trying to say that the tutorial is useless or anything negative, just my opinion on it.
    Can you please make a tutorial where in we can control multiple esp8266 boards with ESPURNA firmware? Because to control individual boards we need to login to its AP every time and its annoying. If you make a tutorial on this it would be helpful, and also explain how to schedule devices.
    Thank you.

  • @unnisathyadas4598
    @unnisathyadas4598 4 ปีที่แล้ว

    Now i know how the wifi smart bulbs work.. Thanks bro..😍😍😍

    • @techiesms
      @techiesms  4 ปีที่แล้ว +2

      Congratulations🎉

    • @amirtelecom6898
      @amirtelecom6898 4 ปีที่แล้ว

      @@techiesms
      Hi sir could you give us the IP address of the phone

  • @animane6102
    @animane6102 3 ปีที่แล้ว +1

    Bro 😎 great project. Can make video on how did you make labrary file .

  • @stevenarisnugroho8462
    @stevenarisnugroho8462 3 ปีที่แล้ว

    Great tutorial, and sir.. can you make a video about esp32 login to web wifi? Like after you connect the wifi it request a login on a web.

  • @scienceoftheuniverse9155
    @scienceoftheuniverse9155 3 ปีที่แล้ว

    Please tweak this library so it can be use with ttgo esp32 sim800l. Make a provisions where you can put the ISP name and password and also blink authotoken. Thank you for such a great effort

  • @saharshsinha5349
    @saharshsinha5349 3 ปีที่แล้ว

    Does this work with devices which aren't driven by Blynk but another application?

  • @abdrahimkasiman5256
    @abdrahimkasiman5256 2 ปีที่แล้ว

    Easy explanation. Very useful.

  • @padmanabhankum5923
    @padmanabhankum5923 4 ปีที่แล้ว

    Really superb sir ,pls make tutorial on html and js pls.Really good content,which iam searching for, superb sir..

  • @charanvanapalli1165
    @charanvanapalli1165 4 ปีที่แล้ว

    Sir can we display ECG graph in blynk app, if possible please try to make a video on that

  • @rusiruthilankasamarawickar5067
    @rusiruthilankasamarawickar5067 2 ปีที่แล้ว

    Hello... can i know how to add oled display for this code

  • @serajsersawi5786
    @serajsersawi5786 2 ปีที่แล้ว

    is it possible to implement the reset using code? how can I do that?

  • @TechnologyWithSaikat
    @TechnologyWithSaikat 4 ปีที่แล้ว +4

    Yes sir, creat Java and Web Socket series.

  • @TheTUKAI27
    @TheTUKAI27 3 ปีที่แล้ว

    I have used the wifi manager function it's works great on esp8266 but when I donit in esp32 after reboot it shows (invalid token

  • @hayder.ismael
    @hayder.ismael ปีที่แล้ว

    Is there any way to do so for Arduino IoT Cloud ? it will be super helpful.

  • @wisegcorporation569
    @wisegcorporation569 2 ปีที่แล้ว

    Good day sir, I am having a problem, I was able to update my EEPROM with the correct ssid and authentication, and my nodemcu is connected to the wifi but the blynk app still showing my device is offline.

  • @anggorotriatmojo1200
    @anggorotriatmojo1200 3 ปีที่แล้ว

    What if i wanted to add another parameter, what changes do i need to make?

  • @keomonorom4458
    @keomonorom4458 2 ปีที่แล้ว

    i have one question sir. i can not use this code for esp32. how to do sir?
    thank you

  • @nfcradio4622
    @nfcradio4622 10 หลายเดือนก่อน

    Is there any plug in available for Arduino to upload eeprom data Like "ESP32 sketch data upload" or "ESP8266 sketch data upload "

  • @israelemmanuel8314
    @israelemmanuel8314 3 ปีที่แล้ว

    honestly this is one of the best tutorial videos i have seen.... Got a lot of insights.......... please i will love to connect with you, how can i be able to connect with you

  • @GautamKumar-hd8hd
    @GautamKumar-hd8hd 4 ปีที่แล้ว

    Yes Sir i want to learn about Java Script,Websocket and what ever you used in this project.
    So Can you please make that episode.

  • @karanparve1734
    @karanparve1734 4 ปีที่แล้ว

    Yes, Sachin Sir, Create Java and Web socket series... :)

  • @evanwilliam9582
    @evanwilliam9582 2 ปีที่แล้ว

    Can you dynamically change the WiFi ssid ? BY CONDITIONS

  • @syedabubakar6858
    @syedabubakar6858 3 ปีที่แล้ว

    how to initiate Blynk connection with port 8080 instead of 80 ,, how to change the port number from 80 to 8080 in this code ? please help

  • @flaviomlemos
    @flaviomlemos 2 ปีที่แล้ว

    Thank you for all your help.

    • @techiesms
      @techiesms  2 ปีที่แล้ว

      You are very welcome

  • @user-wz6hg1ph4o
    @user-wz6hg1ph4o 4 ปีที่แล้ว

    please look into WiFi manager with blynk for esp8266 and esp32 and make a video about it. the wifi manager interface looks better

  • @farhanhakimi1630
    @farhanhakimi1630 3 ปีที่แล้ว

    1 question can this code used on esp32 cam . If can how can it be done ?

  • @iftikharkhan5257
    @iftikharkhan5257 4 ปีที่แล้ว

    nice work and idea may be i make a project like that,thank,s alot of...

  • @pawankumar-xv9lu
    @pawankumar-xv9lu 3 ปีที่แล้ว +2

    Brother, you really won my heart I was finding this solution for very long, and here you go.
    I will really support you.
    I just need one more help from you, can you make a Blynk code to work without the internet, actually, I was trying to build my project with ttp223 touch switches with Blynk app, both are working side by side means when I turn on the touch switch the button in Blynk app get turn simultaneously on and vice-versa.
    But this only happens when the Blynk app is connected to the internet, without internet even the physical touch switches are not working.
    Can you help me with this - how can I create that project in which the touch switches works with or without the internet along with Blynk app.
    And once again really thanks, brother, one more thing I want your new series on Javascript and Websockets.

  • @armanomar7280
    @armanomar7280 3 ปีที่แล้ว

    thanks bro doing great tutorial

  • @siliconhub6492
    @siliconhub6492 4 ปีที่แล้ว +1

    sir, please tell us how you converted the image to an array for your m5stick c

    • @chandanbhardwaj640
      @chandanbhardwaj640 3 ปีที่แล้ว

      Bhai aap ke pass yh OTABlynkCredential library ka link hoga

  • @shourovpal2168
    @shourovpal2168 2 ปีที่แล้ว

    my nodmcu esp12-E Dosen't support this code.what i need to change for using this code?

  • @hairulalam1549
    @hairulalam1549 2 ปีที่แล้ว

    on my arduino idea there is an error when uploading the program
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).
    please solve my friend

  • @ec6285
    @ec6285 3 ปีที่แล้ว

    Hi,is there any way to save more than 1 wifi credentials?

  • @MrTalhakamran2006
    @MrTalhakamran2006 3 ปีที่แล้ว

    Can u run blynk loop and esp loop together in code?

  • @dassajityadav5555
    @dassajityadav5555 3 ปีที่แล้ว

    Nice sir i try and use 1 button in blynk to reset credential password working verywell

    • @dassajityadav5555
      @dassajityadav5555 3 ปีที่แล้ว

      But i want that button press for more then 4 second then password reset and also their is link so that on click we can open web 192.168.4.1 on single plateform like in blynk it this possible

  • @neerajdarwai8621
    @neerajdarwai8621 3 ปีที่แล้ว

    Compiling Ota credentials lib. Is facing difficulty. Getting error in compiling for board nodemcu, can you help

  • @talhaijazprojectlimited5295
    @talhaijazprojectlimited5295 2 ปีที่แล้ว

    Bro which button push to erase credentials of wifi ssd and auth token

  • @borisjelcic1197
    @borisjelcic1197 4 ปีที่แล้ว

    You are a genius please make the Webserver video using java or Html code.

  • @raghuannavarapu9982
    @raghuannavarapu9982 4 ปีที่แล้ว

    Man I linked nodemcu with my air cooler but with only my router credentials. But it will help me alot to change that credentials OTA

  • @HarshanaSamararatne
    @HarshanaSamararatne 2 ปีที่แล้ว

    Hi, thanks for sharing the splendid video. I was able to do it successfully on a nodeMCU, but the Wi-Fi settings doesn't save after a power offing for some time. Do you think I have done anything wrong? please respond if you have free time. thank you.

    • @techiesms
      @techiesms  2 ปีที่แล้ว +1

      Actually now you don’t need to follow this technique
      As the new Blynk app has this feature BUILTIN

    • @HarshanaSamararatne
      @HarshanaSamararatne 2 ปีที่แล้ว

      @@techiesms so how should I do it?

  • @TechnologyWithSaikat
    @TechnologyWithSaikat 4 ปีที่แล้ว

    Great and Very Helpful Video Sir....