WiFiManager - An Essential ESP32 library!

  Переглядів 29,445

Brian Lough

Brian Lough

День тому

WifiManger is a library you add to your project where if the ESP32 cannot connect to your WiFi, it will host its own network that you connect to and you can then add your Wifi details from the included webpage.
0:00 Intro
0:29 What is WiFiManager
1:38 Installation
2:05 Use Case 1 - Just WiFi
2:59 Use Case 2 - WiFi + Config
7:57 Use Case 3 - Custom Input
10:42 Alternative Libraries
11:52 Sign-Off
---------------------------------
Links:
---------------------------------
Code Examples: github.com/witnessmenow/ESP32...
WiFiManager Github: github.com/tzapu/WiFiManager
Tablatronix Twitter & UKposts:
/ tablatronix
/ @tablatronix
---------------------------------
My Discord:
---------------------------------
Come hang out and talk about this video or any project you are working on!
/ discord
---------------------------------
Github Sponsorship:
---------------------------------
I have set up a Github Sponsorship page, it's similar style thing to patreon. Github sponsorships help support videos like these plus the open source projects I create.
github.com/sponsors/witnessme...
Some people have said they would prefer a once off way of supporting the channel, here is a Paypal link if you would prefer that!
www.paypal.me/bloughyt
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - / witnessmenow
Instagram - / brian_lough
Instructables: witnessmenow - www.instructables.com/member/...
*= Affiliate Links

КОМЕНТАРІ: 59
@tablatronix
@tablatronix 2 роки тому
Wonderful video, thanks brian, raw string literal.. learned something today! Noice. Yay web flash! I have been looking into this also as it works wonders for a few libs I use like tasmota, OMG etc
@frentez_offline
@frentez_offline Рік тому
The simplest and most intuitive tutorial that I found!
@DevelopWithDan
@DevelopWithDan 2 роки тому
This is fantastic. I first found your channel because of your wifi manager video back in the day. Thanks for years of great content.
@AlexKite68
@AlexKite68 2 роки тому
Thank you! You've explained the complexity of WiFiManager in a very simple way! Also awaiting your announced WiFi-flash video.
@peter.stimpel
@peter.stimpel 2 роки тому
"use of atoi" ... kicked my off my chair. LOL. Nice one, did not know about this project before.
@Colin_Ames
@Colin_Ames 2 роки тому
I always enjoy listening to someone who knows their subject, even if I don't fully understand the content.
@BrianLough
@BrianLough 2 роки тому
Thanks Colin, this is kind of an extra weird one as it brings in html/JavaScript into the mix too, as if Arduino/c++ wasn't complicated enough 😅
@GOk2Sea
@GOk2Sea Рік тому
Thank you Brian. The concept of a web front end to control a micro controller isn't new. However, your video gives it new life. This is a very useful approach for limited hardware or offline operation.
@nigel1964
@nigel1964 2 роки тому
Thanks for that Brian will have to watch it a few times to get my head round it.
@hstrinzel
@hstrinzel 2 роки тому
BRILLIANT, I've been looking for something like this for quite a while. THANK YOU! :) Hermann
@PatrickFelstead
@PatrickFelstead 2 роки тому
this is great, thanks Brian!
@ismzaxxon
@ismzaxxon 2 роки тому
Once again, Another excellent vid Brian.
@Tony770jr
@Tony770jr 2 роки тому
Good video. I've been using that library on two ESP32 projects. It works well and I'm using custom inputs as well..
@deniskunstelj341
@deniskunstelj341 Рік тому
Thanks man, I wasted 2 days banging my head on the table :D you are my savior
@rklauco
@rklauco 2 роки тому
Thanks a lot for this!!! I wanted to use wifimanager some time ago, but exactly as you described - got so lost in too many options that I gave up. This helps a lot.
@BrianLough
@BrianLough 2 роки тому
Hope it helps Robert!
@ilSySTeMli
@ilSySTeMli 2 роки тому
Valuable Resource thanks for sharing .
@toblum
@toblum 2 роки тому
Great youtube content, as always! I wish I had a video like this when I started my projects. I often used IotWebConf as a WifiManager recently. Quick to implement if it fits in your project.
@aryelinux9676
@aryelinux9676 2 роки тому
Thanks for a great video.
@jovanmitrovski1739
@jovanmitrovski1739 2 роки тому
looking forward to OTA video, nice stuff
@alexrossouw7702
@alexrossouw7702 2 роки тому
Most useful lib. You've just earned yourself a like, sub, and now a comment too
@DigicoolThings
@DigicoolThings 2 роки тому
Nicely done, and some really useful and detailed information. Oh, and I didn’t actually notice any focus issues, just your reminder that their apparently were some. 😎
@BrianLough
@BrianLough 2 роки тому
Yeah it was not bad enough to not use the footage, but just bad enough that it annoyed me the entire time I was editing it , that lovely in focus lcsc box with a slightly blurry me 😅
@UnexpectedMaker
@UnexpectedMaker 2 роки тому
Nice! Tablatronix has done some great work maintaining and adding to the WiFimanager project - but I do miss the days of where it was much simpler to implement and use ;)
@BrianLough
@BrianLough 2 роки тому
With great power comes great scope creep 😅
@miriamramstudio3982
@miriamramstudio3982 2 роки тому
Great video. Thanks
@whitneydesignlabs8738
@whitneydesignlabs8738 2 роки тому
Nice video. I originally got this working watching DronebotWorkshop's video. Yours adds more information that is additionally helpful. Thanks!
@davechatting
@davechatting 2 роки тому
Nice video for a super useful library! It needs some work but you might find our YoYoWiFiManager interesting - it has a couple of interesting tricks, notably setting WiFi credentials for multiple devices through one web interface - I used it in my ThreeWiFiMeters project (all of these are on github)
@BrianLough
@BrianLough 2 роки тому
Looks cool David, thanks for sharing!
@fredflintstone1
@fredflintstone1 2 роки тому
Great a new video Brian either that or I have missed a load🙂
@BrianLough
@BrianLough 2 роки тому
The video factory is slowly coming back online 😅
@MiggyManMike
@MiggyManMike 2 роки тому
I do love the wifimanager library, i used it on most of my esp8266 projects but personally I do prefer to keep the application configuration interface on a running webserver so that I can change it on the fly without the need to restart the mcu.
@BrianLough
@BrianLough 2 роки тому
I think that makes sense for configurations you might want to change regularly, but for things that don't change that often or maybe even that you don't want end users messing with, Wifimanager does work out ok for it
@carlosgardel4729
@carlosgardel4729 2 роки тому
Can you share your project?
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 2 роки тому
I'm working on a non Arduino based version, as I’m not an Arduino fan boy. Plus I like to know what’s going on behind any statement that has a "begin" in it. Way too easy to use the library and get it running in 5min, FreeRTOS is my hair shirt that I have to endure. :-) Still a nice and easy video to follow
@davidhudd5777
@davidhudd5777 2 місяці тому
Brian this video is the best by far that I have found at explaining the option of adding custom text and number boxes to WiFiManager. I do have one question though. For my project I want the uswer to have the option of changing the values in the custom text box without the need to re-enter the WiFi credentials. The user can trigger the portal by pressing a button once setup is complete (and WiFi credentials have been verified OK). Is it possible to trigger the WiFiManager to launch wihout the need to enter credentials please? Thank you
@tlamont941
@tlamont941 2 роки тому
Great video, I want to use the webpage as part of my ESP-NOW work, On the sensor it still won’t connect to the WiFi but I can use the webpage to allow the user to set channel no, encryption keys etc. For the receive it will be perforce to allow the user to setup details then connect to wifi.\
@MrThermike
@MrThermike 3 години тому
Thank you for your helpful video! I was wondering where does the WiFiManager save the SSID and password. Did you come across this case?
@Andrzej_Krajewski
@Andrzej_Krajewski Рік тому
What is the command to trigger the setup on demand? I understand you set up the network connection and then you can summon the setup window being still connected to the network. What is the line again? Brian triggers it by double reset but I can't see the whole code. Great video, thanks.
@anasqai
@anasqai 2 роки тому
I am thinking of a small digital paste at wall at areas of "wifi connection of ..." Like that title on top of it, the "Wifi Strength"(if at this area) and manual writing of % of disconnection(if move) maybe? Good idea right?
@MiemChan
@MiemChan 2 роки тому
Thank you for your excellent video! Do you know how to use the WifiManager on WiFiNINA of Arduino Nano 33 families?
@danielcamps7022
@danielcamps7022 2 роки тому
Hi Brian, I’m quite new to using the ESP boards and I’ve managed to get my project up and running but I’m trying to implement on demand portal functionality. Doing so is causing issues and I cannot get it to work with Autoconnect. I’ve read that you cannot use both, yet you mention being able to (unless I have missunderstood) Any help will gratefully received. Thanks!
@ChrisS-oo6fl
@ChrisS-oo6fl 2 роки тому
Just use ESPhome with a single line ya got your own AP fired up. You can also Use secrets to hardline your regular credentials and also fire up MQTT just as easy.
@andrewbarnard3229
@andrewbarnard3229 2 роки тому
this is nice but how much does it take when uploaded to the esp, the standard wifi code already uses to much
@raylanza3926
@raylanza3926 Рік тому
Really like this manager but would like an implementation for Arduino NANO RP2040 Connect. Is anyone working on this ?
@chadreshpatel2339
@chadreshpatel2339 Рік тому
Do you know if something similar is available in Esspressif library?
@NicksStuff
@NicksStuff 3 місяці тому
Is it possible to extract your WPA PSK from the ESP flash afterwards? I'm hesitant to put ESP32 outside for that reason
@BrianLough
@BrianLough 3 місяці тому
Yes, regardless of how you connect to the wifi with the esp (wifimanager or not) the ssid and password are written to flash memory and can be read back github.com/witnessmenow/ESP-Web-Tools-Tutorial/blob/main/CodeExamples/BlinkWhenConnected/BlinkWhenConnected.ino#L44 There maybe some ways to secure against this, but I don't know them
@NicksStuff
@NicksStuff 3 місяці тому
@@BrianLough Thank you! So I was right to be concerned
@darkosariclukendic7064
@darkosariclukendic7064 2 роки тому
Hello. Thank you for your effort. Unfortunately SPIFFS are no longer available. Can you point me to some other solution?
@BrianLough
@BrianLough 2 роки тому
For what board? LittleFS is the replacement on the esp8266 as far as I know
@Ernescme
@Ernescme 2 роки тому
Maybe I missed something, but basically if the ESP32 cannot connect, it will host the config portal which is available by anyone so anyone can enter WiFi credentials for a malicious network, for example?
@BrianLough
@BrianLough 2 роки тому
The config portal SSID is password protected, so it being in config mode doesn't necessarily mean it's open. With my setup, someone with physical access to project (to double reset) and who knew the config portal wifi password would be able to configure the device to work on a different network. (And get access to api keys that are configured)
@sharedinventions
@sharedinventions 2 роки тому
What about IotWebConf? (Not just because I have developed it. :)
@BrianLough
@BrianLough 2 роки тому
Cool, what are the advantages of it?
@sharedinventions
@sharedinventions 2 роки тому
@@BrianLough Not completely sure, as I don't use WiFiManager any more. :) But the initial idea was to share the same admin gui for developers to provide their own configuration, that also manages WiFi status. I believe, I have made a good job on that. The whole IotWebConf system is highly customizable, and developer-friendly.
@HeathLedgersChemist
@HeathLedgersChemist 2 роки тому
alot???
Cheap Remote Monitoring for ANY 3D Printer! #3dprinting
13:56
Nero3D the Canuck Creator
Переглядів 45 тис.
How to get a FREE HYPERCHARGE SKIN!
02:07
Brawl Stars
Переглядів 15 млн
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Переглядів 3,7 млн
Debugging the Arduino Uno or Nano! (No extra hardware needed!)
6:58
J's e-shack
Переглядів 55 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 565 тис.
#419 ESP32 Audio Tutorial with lots of examples
13:48
Andreas Spiess
Переглядів 221 тис.
#224 🛑 STOP using Serial.print in your Arduino code! THIS is better.
26:39
Picoclick-C3 is the most advanced ESP32 based IOT button | makermoekoe
14:20
DIY PISO WIFI USING EAP110  - 1400PHP ONLY
26:41
DIY PINOY
Переглядів 38 тис.
Cheap and Easy to Use ESP32 Screen!
8:21
Brian Lough
Переглядів 99 тис.
Is this Best ESP32 board? New T-Display S3 ESP32S3
10:17
Volos Projects
Переглядів 338 тис.
Бюджетная видеокарта за 5000 рублей
17:47
Nitroxsenys
Переглядів 13 тис.
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 608 тис.
RTX 4070 Super слишком хороша. Меня это бесит
15:22
Рома, Просто Рома
Переглядів 88 тис.