Skip to content

PedroAraoz/WiFiManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WiFiManager

Used to enable WiFi access to pico W projects without the need to hardcode credentials. Especially useful for projects that are going to be moving around or for when you don't know the WiFi at build time.

Installing

mip

mip.install("github:PedroAraoz/WifiManager/wifimanager.py")

Manually

Download the wifimanager.py file and upload it to your pico with Thonny or MicroPico

How it works

Tries to load credentials from the credentials file. If they are not present or if they are incorrect, it will create an access point in which you can connect and through a webpage, load the credentials to be saved in plaintext.

There is NO security or encryption anywhere - use at your own risk!

Configuration

You can change the default ssid and password for the access point and also the timeout of how many seconds the manager will wait to connect to WiFi before starting the access point.

# Configure custom credentials and timeout
WiFiManager(
    ssid='YourCustomSSID',
    password='YourCustomPassword', 
    timeout=20 #seconds
)
Website

The website that the access point creates can modified by changing the _webpage() method. You can style it to your preference.

Contributions

Any contribution to the project is greatly appreciated, just open a PR.

About

WiFi Manager for the Pico W - MicroPython

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages