Share My Creation Captive Portal with B4R - Configuring WIFI without any pain and no hardcoded - WIFI MANAGER







Instructions to install and sample to use:

But first, let me keep doing well this library and continuing updating sending to me some coffee.




Step 1:
Install the WIFIManager library through Sketch del Arduino: search for WifiManager by tzapu, my library uses the resources of this.




Step 2:
Copy the library for your library folder, my folder is this, I use Aditional Libraries, as soon as I copy it, refresh in the list next to it should already appear





Step 3:
You are read to use the example: SampleCaptive.zip

Look in the code that has already been set to access point and password "MyPortal", "mypass123". When you start the app, search for this Wi-Fi network, connect and then the WIFIManager screen will appear so you can connect to your Wifi.


HAPPY CODING BUT NOT FORGET TO BUY ME A COFFEE!!!
 

Attachments

  • LibraryCaptive.zip
    11.5 KB · Views: 618
  • SampleCaptive.zip
    801 bytes · Views: 632
Last edited:

monki

Active Member
Licensed User
Longtime User
hello Alberto,
good work.
did you write that in B4R?
Can you publish the code?
greetings monki
 

Michael1968

Active Member
Licensed User
Longtime User
Hi Alberto, great job.....is there a way to use it with esp32?
on ESP32 i get this error:

 

Michael1968

Active Member
Licensed User
Longtime User
hello Michael, do you install the WifiManger via Sketch first?

look this error:
C:\Users\MICHAE~1\Desktop\SAMPLE~1\B4R\Objects\bin\sketch\WifiManager.h:16:25: fatal error: ESP8266WiFi.h: No such file or directory
compilation terminated.
Hello Alberto, if i compile for esp8266 everything is ok..problem only with esp32
 

Michael1968

Active Member
Licensed User
Longtime User
Hello Alberto and thetahsk...
with wifimanager-esp32 it works
thanks for help

@Alberto Iglesias, can you please create a esp32 lib with
Custom Parameters option?
this would be great and helpfull
thx
Michael1968
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…