Nice explainned. It would be interesting (if you are running a bult in webserver in the ESPXX) :1- Begin as AP (Access Point) with predefined Host. 2- Once your device get connected to the AP through built in webserver, have the ability to SCAN near by WIFI SSIDs (including your Wifi router) . 3- After selection and reboot you get logged and ESPXX became STA (station) .4- Since you are connected to it through webserver and your SOHO router asigned an IP (DHCP method) , will be outstanding to have the option to do that particular IP Fixed. It is a long process but once (in my opinion) you get it done would be easier for an "End-User" instead of using Arduino/VScode IDE.
That's a really nice idea. And it has so many applications for IoT prototypes, I guess you would need to use eeprom or some form of memory and maybe a button on a GPIO pin to use a reset to the hardcoded AP setting you mentioned, perhaps I'll give it a go in a few weeks.
@@MishMashLabs you are right ! it would need a "Factory default" (hard-Switch or Software) and should keep saved the parameters on eeprom ( ESP32XX flash memory) . If you decide to you go into that that would be interesting . Thanks for A Detailed Yet Simple to Understand Guide.
For me it does not work, i am trying to give my ESP8266 (That is functioning as a server for some domotica devices) a static IP, it is connected to my laptop hotspot. But for some reason it does not stay static..
hi i don't know if you can help me but i i have an ip adess that i gave to my esp32 when i create a webserver it works fine but when i change the esp32 adress to a static ip the webserver doesn't work i also tried to ping and i get no response coudl you help me?
Thanks for this video. I did as the video but the IP that serial sent is different from the IP that I see in my phone's hotspot.(IP is as previous). What's the problem?
Each device on a network will have a unique IP. The range should be the same, for example if your phone/hotspot IP is 192.168.0.1, your ESP can be 192.168.0.X where X can be any number between 2-254.
Thanks so much bro i really needed this for a school project ive been strugging to find a way so the ip is constant and wont change. Once again thank you so much!
hello brother,can you please try this method without router,instead of router coonect with mobile hotspot ..??? please do same with mobile subnet and gateway credntials ...
Hi there, Both are correct, the difference is Serial.println starts printing on a new line from the next Serial.print or Serial.println function. While Serial.print will continue on the same line. You may have had another error if there was an issue uploading, missing a semicolon perhaps? Thanks for the feedback!
i got some errors when i complied your gethub file, but was able to get the info to do what i needed. i guess there are a lot of different libraries out there. thanks!!!
As always people that deserves credits dont get them.. I watched perhaps 100 videos trying to to do what you made me (understand) in 4 minutes... No words to thank you and sorry for my english.
Hello, thank you, these are good and practical tutorials I compiled the code but it warned (no matching function for call to 'WiFiClass :: config (IPAddress &, IPAddress &, IPAddress &, IPAddress &, IPAddress &))) Please guide me to fix this error
@@MishMashLabs I use the 8266 range. The library of this board is installed. Set up a HTTP Web Server and Control program works without any problems, but this program displays the following warning. no matching function for call to 'WiFiClass :: config (IPAddress &, IPAddress &, IPAddress &, IPAddress &, IPAddress &)'
what if I use ESPAsyncWebServer instead of Webserver?
I am trying but cant compile: no matching function for call to 'WiFiClass::config(IPAddress&, IPAddress&, IPAddress&, IPAddress&, IPAddress&)'
Nice explainned. It would be interesting (if you are running a bult in webserver in the ESPXX) :1- Begin as AP (Access Point) with predefined Host. 2- Once your device get connected to the AP through built in webserver, have the ability to SCAN near by WIFI SSIDs (including your Wifi router) . 3- After selection and reboot you get logged and ESPXX became STA (station) .4- Since you are connected to it through webserver and your SOHO router asigned an IP (DHCP method) , will be outstanding to have the option to do that particular IP Fixed. It is a long process but once (in my opinion) you get it done would be easier for an "End-User" instead of using Arduino/VScode IDE.
That's a really nice idea. And it has so many applications for IoT prototypes, I guess you would need to use eeprom or some form of memory and maybe a button on a GPIO pin to use a reset to the hardcoded AP setting you mentioned, perhaps I'll give it a go in a few weeks.
@@MishMashLabs you are right ! it would need a "Factory default" (hard-Switch or Software) and should keep saved the parameters on eeprom ( ESP32XX flash memory) . If you decide to you go into that that would be interesting . Thanks for A Detailed Yet Simple to Understand Guide.
How to find
Local ip
Gateway
Subnet
Primary dns
Mac address
??
For me it does not work, i am trying to give my ESP8266 (That is functioning as a server for some domotica devices) a static IP, it is connected to my laptop hotspot. But for some reason it does not stay static..
hi i don't know if you can help me but i i have an ip adess that i gave to my esp32 when i create a webserver it works fine but when i change the esp32 adress to a static ip the webserver doesn't work i also tried to ping and i get no response coudl you help me?
Same problem here
Same problem 😢
Thanks for this video. I did as the video but the IP that serial sent is different from the IP that I see in my phone's hotspot.(IP is as previous). What's the problem?
Each device on a network will have a unique IP. The range should be the same, for example if your phone/hotspot IP is 192.168.0.1, your ESP can be 192.168.0.X where X can be any number between 2-254.
Where i find gatewayIP my phone is a router
??
Can you connect to anydesk to HELP me? I will pay 😭. I cant setup the yaml for home assistant
how to we remove the wifi network hosted from esp?
This is so useful and I'm so surprised... You're the only one I've seen share this information
Thanks so much bro i really needed this for a school project ive been strugging to find a way so the ip is constant and wont change.
Once again thank you so much!
did this work?
tried network id and pass of my router didnt work
hello Sir good video how to read from spiffs a IPAddress local_IP(192, 168, 1, 199); i want to put it as a variable sored in the memory
My esp8266 not connect mobile hotspot, ssid and password ok, but not connect😢😢
hello brother,can you please try this method without router,instead of router coonect with mobile hotspot ..??? please do same with mobile subnet and gateway credntials ...
thanks a lot. Worked fine for me except one error > Serial.printIn is not recognised so changed to > Serial.print
Hi there,
Both are correct, the difference is Serial.println starts printing on a new line from the next Serial.print or Serial.println function. While Serial.print will continue on the same line.
You may have had another error if there was an issue uploading, missing a semicolon perhaps?
Thanks for the feedback!
My god, i just thank you a lot, this video helped me so much that i can-t find the right words to express my joy ☺
You're very welcome. This is the reason we make videos.
Hi sir
When i search the ip address
it asks me for username and password.
What should i write?
The network id and password of your wifi router
@@MishMashLabs it didn't work
@@MishMashLabs do you have what's app number ?
i got some errors when i complied your gethub file, but was able to get the info to do what i needed. i guess there are a lot of different libraries out there. thanks!!!
Ip address is not comming
As always people that deserves credits dont get them.. I watched perhaps 100 videos trying to to do what you made me (understand) in 4 minutes... No words to thank you and sorry for my english.
Thanks for the kind words George! Please like the video and subscribe if you enjoy the style and content. This is a marathon project. Not a sprint!
Hello, thank you, these are good and practical tutorials
I compiled the code but it warned
(no matching function for call to 'WiFiClass :: config (IPAddress &, IPAddress &, IPAddress &, IPAddress &, IPAddress &)))
Please guide me to fix this error
Confirm you have the esp32 boards installed and have selected the correct board before upload.
@@MishMashLabs I use the 8266 range.
The library of this board is installed.
Set up a HTTP Web Server and Control program works without any problems, but this program displays the following warning.
no matching function for call to 'WiFiClass :: config (IPAddress &, IPAddress &, IPAddress &, IPAddress &, IPAddress &)'
@@MishMashLabs me too facing same issue
no matching function
Am using esp8266
Im going to test this, and if this solves my problems i will PRAY for you❤
did this work ?
This is greatest stuff.
Just what I needed!! Thank youuuuu
did this work ?
@@meryamhad2916it worked for me, yes
thank you for this video
it solved a big problem in my project
thank you once again
You are most welcome.
Thanks
This is wonderful stuff. You deserved a larger following.
Thanks for the support Paul!