WiFiManager - An Essential ESP32 library!

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • 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 & TH-cam:
    / 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
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    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

  • @peter.stimpel
    @peter.stimpel 2 ปีที่แล้ว +1

    "use of atoi" ... kicked my off my chair. LOL. Nice one, did not know about this project before.

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

    The simplest and most intuitive tutorial that I found!

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

    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.

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

    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 2 ปีที่แล้ว

    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.

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

    BRILLIANT, I've been looking for something like this for quite a while. THANK YOU! :) Hermann

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

    Once again, Another excellent vid Brian.

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

    Thanks man, I wasted 2 days banging my head on the table :D you are my savior

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

    Thanks for that Brian will have to watch it a few times to get my head round it.

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

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

    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!

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

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

    Most useful lib. You've just earned yourself a like, sub, and now a comment too

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

    Valuable Resource thanks for sharing .

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

    this is great, thanks Brian!

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

    Thanks for a great video.

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

    looking forward to OTA video, nice stuff

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

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

    Great video. Thanks

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

    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 ปีที่แล้ว +7

      With great power comes great scope creep 😅

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

    Nice video. I originally got this working watching DronebotWorkshop's video. Yours adds more information that is additionally helpful. Thanks!

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

    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

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

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

  • @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 ปีที่แล้ว +1

      Looks cool David, thanks for sharing!

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

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

  • @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 ปีที่แล้ว +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?

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

    Thank you for your excellent video! Do you know how to use the WifiManager on WiFiNINA of Arduino Nano 33 families?

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

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

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

    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!

  • @MrThermike
    @MrThermike 18 วันที่ผ่านมา

    Thank you for your helpful video! I was wondering where does the WiFiManager save the SSID and password. Did you come across this case?

    • @BrianLough
      @BrianLough  17 วันที่ผ่านมา

      It gets saved to flash memory of the esp32. I don't think wifi manager actually saves it though, I believe the esp32 does this regardless of wifi manager, and wifi manager just makes use of this

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

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

    Do you know if something similar is available in Esspressif library?

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

    Really like this manager but would like an implementation for Arduino NANO RP2040 Connect. Is anyone working on this ?

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

  • @NicksStuff
    @NicksStuff 4 หลายเดือนก่อน +1

    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  4 หลายเดือนก่อน +1

      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 4 หลายเดือนก่อน

      @@BrianLough Thank you!
      So I was right to be concerned

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