No need of writing wifi credentials in the code | ESP8266 Smart Config | ESP8266 projects

  Рет қаралды 121,658

techiesms

techiesms

Күн бұрын

Пікірлер: 192
@jacquesgilbert2774
@jacquesgilbert2774 6 жыл бұрын
Nice, but you can do as well or, in my opinion, better with the WiFIManager library for ESP8266: 1- It does not require a mobile app, you can configure it from a browser 2- It stores the credentials in non volatile memory so you don't need to reenter them 3- It works well with ArduinoOTA, which allows you to upload program updates via WiFi 4- I am weary of using a mobile app, where I cannot see all the code and I cannot be certain that it will be updated and work with the next version of the OS.
@vishnudileesh1243
@vishnudileesh1243 6 жыл бұрын
Any help on doing the same with mongoose os? Thanks
@achhintkumarupadhyay4363
@achhintkumarupadhyay4363 5 жыл бұрын
Could you please explain how to do the same thing using WiFIManager library ?
@LatinDanceVideos
@LatinDanceVideos 5 жыл бұрын
Thanks for the tip. This looks promising randomnerdtutorials.com/esp32-over-the-air-ota-programming/
@ghazaleahmadi5729
@ghazaleahmadi5729 4 жыл бұрын
is it possiable to use this library for esp32?
@BrianLough
@BrianLough 6 жыл бұрын
You should check out WiFi Manager (search for esp8266 wifi manager) - It will try connect to the last used WiFi details - If that fails it will create a new access point which you connect to with your phone - You then open your web browser on your phone and it will redirect you to the page automatically, put in your wifi details. - It will then restart your esp8266 and repeat the above So it doesn't require an app or it only asks for details when its needed.
@utkarshdeoli
@utkarshdeoli 8 ай бұрын
well but app is more convinient if you want to make a fullfleded product you can just program an app and everything in that app so that the coustomers don't need to close the app
@boontecklee3361
@boontecklee3361 4 жыл бұрын
Very helpful video. I have 2 questions: 1. If I have a network of 3 or more ESP32, how do I direct the settings to each of them? 2. How can I protect the ESP credentials from being changed by unauthorized person with the same method?
@billcaruso7050
@billcaruso7050 3 жыл бұрын
Thank you! You always make tough problem solutions easy to understand and implement! Now I can, thanks to you, deploy an ESP8266-based wifi product I have been thinking about for several months!
@bibekthapa1154
@bibekthapa1154 2 жыл бұрын
in my case, it is working but whenever electricity is gone, it require ssid and password to be inject.
@ashvlogs6556
@ashvlogs6556 4 жыл бұрын
ESP8266 Nodemcu i have sucessfully finished all the steps correct connected it to com 6 because while connecting to com3 it was showing error but for some reason after the actual wifi is connected it still shows network not available and when i am trying to reset i am not ale to help me Also now when I am seeing the WiFi name is also not available and when I tried re uploading the code in 0x00000 etc and redoing still not working pls help me
@jesperkped
@jesperkped 6 жыл бұрын
Yeah, I just hope you don't get uninvited guests that reconfigure your devices. If this was to be an option in my home, there had to be some sort of administration check to allow for the change of the wireless settings.
@techiesms
@techiesms 6 жыл бұрын
Most useful video for our iot projects, isn’t it? I mean what can me better than not at all entering the wifi credentials. Just change it anytime on the go😉
@princechauhan3363
@princechauhan3363 6 жыл бұрын
techiesms yehh....
@DNYTechnical
@DNYTechnical 6 жыл бұрын
Kya every time wifi details ko upload karna parega ya Akbar upload karne me bad next time tak wo rahjayega
@jeevakkuwar
@jeevakkuwar 3 жыл бұрын
Can this work with esp32?
@MrTalhakamran2006
@MrTalhakamran2006 4 жыл бұрын
So what will happen when the board will get powered off and is powered on again. Will it remember that user id and password. Since you provided the ssid and passwd in setup via cellphone when it will restart will it be waiting for your cellphone to send the wifi password?
@subhabratabasu266
@subhabratabasu266 5 жыл бұрын
But in any case if the esp8266 get turned off After turn it on again the esp8266 doesn't connect with the previous wifi automatically So if you have any solution regarding this please tell me
@jynkotech
@jynkotech 4 жыл бұрын
Sir this video is very help full for me and can you tell me that in which variable you saved the ssid and pass so I can later be use it for my blynk program.
@SafdarMunir
@SafdarMunir 2 жыл бұрын
Can you guide about how a smart switch works(like sonnoff ) how they connect the board with mobile app then upload the wifi crediential
@dansarduinoandespprojects3795
@dansarduinoandespprojects3795 3 жыл бұрын
If esp get disconnected from main power then one have to again enter wifi credentials. Is there any way to save it and change it only when required
@zafariqbalpatel1821
@zafariqbalpatel1821 4 жыл бұрын
But 1 problem I found every power on I needs to set password... could you please help me on same
@kmrkmr2526
@kmrkmr2526 6 жыл бұрын
how to change the code so that my device will enter into a.p mode only if it could not connect to previously stored ssid?
@ingenierocristian
@ingenierocristian 3 жыл бұрын
Hi, I need to make an I2C communication between an Esp 32 and Esp8266, where can I find info about?
@jayakrishna-xx4io
@jayakrishna-xx4io 4 жыл бұрын
Very productive but if we do so any one can misuse ours.. And I have a dought brother..is it necessary to replace the code to connect with the app or we can directly connect to it
@varunaggarwal1510
@varunaggarwal1510 3 жыл бұрын
I want to build my own app(using react nstive) to do the same alongside remembering the IP or use mDNS or some other means to avoid static ip config.. any help please
@mail2abir
@mail2abir 6 жыл бұрын
Can you make a project on 3 ways smart switch? The switch can be operated by manual 2 way switch (a physical switch) plus can be operated from mobile plus can be operated by Alexa or Google assistant. It would be great help. No good video available on KZbin.
@mayankpandey3698
@mayankpandey3698 5 жыл бұрын
Did you get any solution for the same?
@TheSalik42
@TheSalik42 5 жыл бұрын
Hi, I have a problem. When I connect to the ESP8266 with phone (AP mode) then there is notification on my phone of "no internet access" and no data transfer from phone to ESP. Can you tell me the problem??
@L8rCloud
@L8rCloud 3 жыл бұрын
I want MY app to connect my IoT device during the setup process and I want to choose whether I do it Manually OR Automatically. What is the logic of the Mobile side of things and what should I be searching for in Google? Much appreciated if anyone could point me in the right direction. (happy to do the work myself - Been looking for a week but I don't have a clue what to look for) Thanks!
@tushthushan5590
@tushthushan5590 3 жыл бұрын
Is there no way to stop the reset on a power on ?. Because all the relays are on.
@jithin_isaac
@jithin_isaac 6 жыл бұрын
hey great work! but this process needs to be done everytime the esp is reset/powered off right? Isn't that not serving the purpose finally? can the entered ssid and password be stored into the memory of the esp in some way?
@techiesms
@techiesms 6 жыл бұрын
Yes we can store it in eeprom But see, all this depends upon the application of your project For some projects, my code will perfectly work While in some other your idea will work
@jithin_isaac
@jithin_isaac 6 жыл бұрын
techiesms yeah that true.. We can put the smartconfig code under an if loop and call it whenever we want to change the ssid-password by the click of a extra button placed on the pcb.. and then store these credentials in the eeprom.. thanks!
@techiesms
@techiesms 6 жыл бұрын
Yaa exactly That’s the perfect process
@gowthamrajg4004
@gowthamrajg4004 5 жыл бұрын
@@jithin_isaac Great Thanks
@gowthamrajg4004
@gowthamrajg4004 5 жыл бұрын
@@techiesms Is there any other process in which we can able to do smart config without extra hardware like switch or push button. I need to connect esp8266 with already connected wi-fi and in parallel it have to scan for any new smart config request. Is it possible?
@CharudattUplap
@CharudattUplap 4 жыл бұрын
Why don't you use this WiFi Manager in All your current project ? You can also use the Blynk Token Add on
@nubx3036
@nubx3036 3 жыл бұрын
what kind of import duties you have to pay for an order from jlcpcb
@jaspindersingh8019
@jaspindersingh8019 6 жыл бұрын
which driver you used to make communicate between your pc and esp8266 i've IDE but no driver for windows pls reply
@techiesms
@techiesms 6 жыл бұрын
kzbin.info/www/bejne/mqO9goaqhM-jnas Watch this
@mahesh_d
@mahesh_d 6 жыл бұрын
Please help me as the problem is, whenever the esp8266 turns on / power came, it triggeres all the relay to high state. That cause all the switch to turn on. Please tell me the solution
@webslinger2011
@webslinger2011 4 жыл бұрын
If we can change the ssid and password, how to prevent others from using the same app then hacking into my setup by just doing the same?
@JayGamzTV
@JayGamzTV 4 жыл бұрын
How to buy your pcb board? Do you have a extra pcb sir?
@Bikram3458
@Bikram3458 4 жыл бұрын
Hi.. Nice one. Can u plz share how to push configuration to Nodemcu or Arduino board through an c# or any other windows application.
@matejhlaca5171
@matejhlaca5171 6 жыл бұрын
If I understnd well...every time the esp rebot (was disconected from power and reconected) you need Smart Config to put the credentials into esp??
@techiesms
@techiesms 6 жыл бұрын
Yes, you got it right But in case you want one default wifi credentials for our esp to get connected with you have to enter the credentials in the program and put a condition like If we are getting nothing from smart config for more than 1 min then connect to my default router
@romeosiera5188
@romeosiera5188 5 жыл бұрын
@@techiesms could you make video of this?
@rishabhlavhale3096
@rishabhlavhale3096 6 жыл бұрын
Awsm project sir... I had a question.. Whenever we turn on the project every time we need to enter the password ?? Or we can enter only once and switch many times with the same password without entering next time..
@techiesms
@techiesms 6 жыл бұрын
No for the code which I have uploaded You have to enter wifi credentials every time you turn on esp
@parveensharma1558
@parveensharma1558 3 жыл бұрын
Thank you… If I create own app then what will do in coding Please help
@musabaybek1957
@musabaybek1957 5 жыл бұрын
So good video, thank you. But the thing that I didn't understand is how the esp8266 gets the wifi credentials from the phone application. As I understand, esp8266 was not in the Access Point mode and also was not connected to internet by any way. So, how the phone app was able to send credentials to the microcontroller?
@ashwini5775
@ashwini5775 3 жыл бұрын
It is in station mode
@ishanisengupta9807
@ishanisengupta9807 5 жыл бұрын
I am facing two problems 1. getting an error:espcomm_upload_mem failed 2. don't have any access to adafruit please help
@kish00n
@kish00n 4 жыл бұрын
Do I have to connect the board to wifi manually, Everytime I power it up?
@MrTalhakamran2006
@MrTalhakamran2006 4 жыл бұрын
I have the same concern. I wish esp8266 had a non flash memory which user could have access to ;)
@technokhan7429
@technokhan7429 3 жыл бұрын
@@MrTalhakamran2006 it has. there is another method to do so . search wifimanager for esp. but it doesn't have any fancy app, you have to access the configuration via webpage
@soovui
@soovui 6 жыл бұрын
Hi Superb, I got a question. If I successfully connected for the 1st time, do I need to do the same time every time the esp reboot or reset?
@techiesms
@techiesms 6 жыл бұрын
Yes For the code which I have uploaded on GitHub you have to
@jimb032
@jimb032 6 жыл бұрын
techiesms really? Why not store it to the eeprom and if it can't reconnect then start the hotspot. It's easy. Code already exists for that-its been done many times.
@saraha2647
@saraha2647 2 жыл бұрын
Sir, can we encrypt the wifi credentials for safety??
@patelanant2737
@patelanant2737 6 жыл бұрын
sir i work on "Home Automation using NodeMCU and Google Assistant | Voice Activated | Blynk, IFTTT, Arduino IDE" this project can you guide me how to use this app on this project.
@princechauhan3363
@princechauhan3363 6 жыл бұрын
Really.... I have completed this 3 days ago....but it is helpful😍😍😍
@hatimbori1700
@hatimbori1700 4 жыл бұрын
Hi
@subratadey
@subratadey 6 жыл бұрын
Can you make a IR device that can learn my remote codes and using http or mqtt i can control the device? Thanks.
@david777311
@david777311 6 жыл бұрын
Your circuite is so simple and can you Explain about Output leakage of Esp 01 and mini. What about if power switch off and turn on again how can it stable last status. Every power on off esp gives High to Low signal and low to high signal for mili seconds that a bug of esp
@MrInfo-tt1mx
@MrInfo-tt1mx 4 жыл бұрын
Kindly reply,...anyone using esp config app can change credentials of my esp device??how to make it secure
@M.mahmoudi91
@M.mahmoudi91 6 жыл бұрын
Hi my nodemcu not work just error "warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed" may you help me?
@SDPakhtoon
@SDPakhtoon 6 жыл бұрын
how we can make communication between 2 ESP8266 modules without internet?
@mashurshalehin4972
@mashurshalehin4972 3 жыл бұрын
Will the esp remember the credentials after a power cut?
@user-or1lu3ku3m
@user-or1lu3ku3m 6 жыл бұрын
So how do you manage security, or is it security by obscurity
@lDragonAzul
@lDragonAzul 6 жыл бұрын
No es lo mismo si le creamos un punto de wifi hotspot?
@juv4116
@juv4116 5 жыл бұрын
Hello,is it necessary to build that circuit in order to change to ssid and password of esp? thank you
@techiesms
@techiesms 5 жыл бұрын
Noo
@juv4116
@juv4116 5 жыл бұрын
@@techiesms Thanks a lot
@mukeshindian1028
@mukeshindian1028 4 жыл бұрын
Thanks for this great effort How to provide SSID & PASS to blynk by adding smartconfg code in setup area?
@soufianechekroud497
@soufianechekroud497 5 жыл бұрын
firstly thank you for your efforts so can i integrate this code with blynk code?
@satyabratdas4402
@satyabratdas4402 5 жыл бұрын
Hllo sir, I want to make the wifi smart config app, could you please guide me and I have been working with thunkable, app inventor, just share with me the blocks.
@ashishmacwan13
@ashishmacwan13 5 жыл бұрын
hey, thank you for making this video. I was upset since last 2 days because of finding the method how syska smart bulb is connected to wifi network.finally after 2 days research I found the logic behind that.
@fl7977
@fl7977 6 жыл бұрын
What App did You use at 0:14 to controll the esp?
@kmrkmr2526
@kmrkmr2526 6 жыл бұрын
bayya .I wanted to ask the same question since three days.(how to change my code so that i could use the app you used in smallest iot button?) but you answered it without even asking:D
@piduruvenkat8619
@piduruvenkat8619 6 жыл бұрын
is there a way to extract the obtained ssid and password and save them using smartconfig??
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 5 жыл бұрын
Hai bro how to do If u couple of esp8266 with smartconfig or more than two esp
@I_am_smooth_as_butter
@I_am_smooth_as_butter 4 жыл бұрын
Bro it's good could you please tell me how to connect it with blynk.. without hardcode password..i can't combine 2 sketches
@discovery88hl
@discovery88hl 6 жыл бұрын
Hi bro, If the power shutdown, when the reconnect power again, we have to smartconfig again wifi?? Right???
@techiesms
@techiesms 6 жыл бұрын
Yes But soon I’ll upload another video in which you don’t need to do that again Nd again
@gowthamrajg4004
@gowthamrajg4004 5 жыл бұрын
@@techiesms Have you done with this tutorial. Actually i am looking for the same. Can you give me the link.
@j0539h
@j0539h 6 жыл бұрын
i dont get it, a sonoff is way cheaper to buy then making it wih these parts.
@francisframil4763
@francisframil4763 5 жыл бұрын
good one....can we create an app for mqtt with mit app inventor..???
@TopEndTutorial
@TopEndTutorial 6 жыл бұрын
If there are four to five nodemcu than how to smart configure
@mail2abir
@mail2abir 6 жыл бұрын
Excellent! I have a question. I want to make project where I want to control all switch in a switch board. Planning to use Wemos D1 mini with 4 channel relay. Can one Hi-link AC to DC 5v converter provide sufficient current to all components?
@techiesms
@techiesms 6 жыл бұрын
Yes
@techiesms
@techiesms 6 жыл бұрын
Make sure you use the relay board which works on 5v
@mail2abir
@mail2abir 6 жыл бұрын
Thanks a lot for the guidance.
@BubbleBassBackShots
@BubbleBassBackShots 6 жыл бұрын
Can you give a step by step tutorial on how to turn an led on and off via esp8266 and Arduino Uno from an app
@NCREATIONS7
@NCREATIONS7 4 жыл бұрын
Are but where to upload the code?
@philbowles3240
@philbowles3240 5 жыл бұрын
Solution without problem: a lot of decent firmware alredy allows AP mode that can easily be accessed by any web browser
@AntoniusTeixeira
@AntoniusTeixeira 6 жыл бұрын
Very nice project. Congrats. Any chance to share the gerber files for the pcb? Thank you
@techiesms
@techiesms 6 жыл бұрын
100% chances Give me your mail id
@AntoniusTeixeira
@AntoniusTeixeira 6 жыл бұрын
antonio.j.teixeira@gmail.com Thank you very much.
@soumndl
@soumndl 6 жыл бұрын
What to do if I want to update ssid and password???
@varunsahni7825
@varunsahni7825 5 жыл бұрын
Can u please give the schematic of your pcb.
@ppkcreative
@ppkcreative 6 жыл бұрын
Wonderful!! Can you share the Gerber file link for the PCB ?
@hassanahmad9597
@hassanahmad9597 3 жыл бұрын
is that app available on ios devices?
@saikrishnabendalam2375
@saikrishnabendalam2375 6 жыл бұрын
Very nice better than uploading code everything time
@indiantiger4488
@indiantiger4488 6 жыл бұрын
Bro is it even possible to handle the credentials for Esp826612e (Nodemcu) ??
@techiesms
@techiesms 6 жыл бұрын
Yes definitely The same code will work
@subhabratabasu266
@subhabratabasu266 6 жыл бұрын
Can I do same thing with ESP 32 ??
@tusharsuryawanshi6100
@tusharsuryawanshi6100 4 жыл бұрын
APPLICATION NOT ABLE TO DETECT SSID
@nishantpandey4780
@nishantpandey4780 4 жыл бұрын
how to add the 4 relay by this ic?
@parasnathbumb6564
@parasnathbumb6564 6 жыл бұрын
How to use eeprom of esp8266 and sort ssid and pass and config ip addre
@techiesms
@techiesms 6 жыл бұрын
You can use the example code of eeprom inside arduino ide
@GarvThakkar
@GarvThakkar 6 жыл бұрын
Do we need to connect to WiFi everytime with espwifi config app
@techiesms
@techiesms 6 жыл бұрын
Whenever you turn on the esp you have to follow this step
@oscargr_
@oscargr_ 6 жыл бұрын
There are better ways. I made a internet clock with a small TFT display that I can switch into "setup" mode if I need to switch it to another WiFi network. I copied that part of the code from internet, not claiming it's my own. Basically the trick is to store the credentials in eeprom at runtime. So next time you power on, it checks if credentials are stored. If yes, use those, if those can't connect, go into "setup" mode.(where you can change credentials and store those in eeprom) Google is your best friend.
@njoyaahmed2360
@njoyaahmed2360 3 жыл бұрын
how to send a data on esp8266 please?
@mohammadanish1380
@mohammadanish1380 3 жыл бұрын
Esp 8266 Sir mobile se programming ki video banao please sir
@shivam3020
@shivam3020 5 жыл бұрын
will it work for node mcu?
@GurinderSingh
@GurinderSingh 3 жыл бұрын
Can I use without internet
@princechauhan3363
@princechauhan3363 6 жыл бұрын
Late night.... I'm waiting for your video 😂😂😂
@faisalmaulanasafii9422
@faisalmaulanasafii9422 3 жыл бұрын
good job brohh, really nice video, help my project a lot 👌
@thenewtechguy8526
@thenewtechguy8526 5 жыл бұрын
Don't really see the point of this. This is not secure.
@SafdarMunir
@SafdarMunir 2 жыл бұрын
Thank you for this great video
@Elpoyoloco1
@Elpoyoloco1 5 жыл бұрын
How to do this on a raspberry pi 3 b ? im running android things
@homoud.alyahya
@homoud.alyahya 5 жыл бұрын
Petros Petrakis have a look to this for RPI randomnerdtutorials.com/esp32-over-the-air-ota-programming/
@AhmedEu
@AhmedEu 4 жыл бұрын
Will it work with esp12
@neerajantil9890
@neerajantil9890 6 жыл бұрын
Sir mqtt stop working after 2 hours . What can i do?
@techiesms
@techiesms 6 жыл бұрын
You need to give a ping at regular intervals Otherwise the connection get closed
@neerajantil9890
@neerajantil9890 6 жыл бұрын
techiesms sir could u please send the code for that ping command
@SolutionFinder
@SolutionFinder 5 жыл бұрын
Can u send PCB file..??
@prashantuniyal
@prashantuniyal 6 жыл бұрын
Its really very helpful. Thank you so very much mate :)
@aravindhanvivekanandhan5649
@aravindhanvivekanandhan5649 5 жыл бұрын
If u have any project like hub based esp8266 cone ft nearby esp device like QR code
@taranagnew436
@taranagnew436 5 жыл бұрын
will this work on a NodeMCU too?
@techiesms
@techiesms 5 жыл бұрын
Yes
@MANISHGUPTA-fr6ik
@MANISHGUPTA-fr6ik 6 жыл бұрын
Grt videos sir Sir plz give a tutorial for pcb making softwares
@TechnologyWithSaikat
@TechnologyWithSaikat 5 жыл бұрын
Sir, can we do this on node MCU?
@techiesms
@techiesms 5 жыл бұрын
Yes
@bhaumikpatel8797
@bhaumikpatel8797 3 жыл бұрын
Sir pls provide garbar file for pcb.
@033_subhodiproy3
@033_subhodiproy3 5 жыл бұрын
Pcbs are not of $2
@Nithin7860
@Nithin7860 6 жыл бұрын
Thank you so much Sachin...
@xgrapher
@xgrapher 5 жыл бұрын
nice! very helpful video
@praveentechnical
@praveentechnical 6 жыл бұрын
is it possible to connect to same mobile hotspot ?
@techiesms
@techiesms 6 жыл бұрын
Means?
@praveentechnical
@praveentechnical 6 жыл бұрын
smart config will scan only avilable ssid right i switch of wifi scanning and switched on my personal hot spot ....then i opened my esp8266 config app ..trying to find my hot spot...
@techiesms
@techiesms 6 жыл бұрын
No no You can’t do that You have to connect with external router
@praveentechnical
@praveentechnical 6 жыл бұрын
thanks bro....your videos was helpful..
The BEST EVER IOT Project using ESP32 🔥🔥 | PCBGOGO
19:44
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 114 МЛН
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 639 М.
MOST! Powerful & Versatile IR Blaster | KME Smart | PCBGOGO
10:43
Arduino UNO & ESP8266 and control using smartphone
9:47
Be Smart nothing impossible
Рет қаралды 742 М.