{"id":13802106,"url":"https://github.com/ferreira-igor/micropython-wifi_manager","last_synced_at":"2025-04-26T11:32:05.620Z","repository":{"id":48142931,"uuid":"333979713","full_name":"ferreira-igor/micropython-wifi_manager","owner":"ferreira-igor","description":"WiFi Manager for ESP8266 and ESP32 using MicroPython.","archived":false,"fork":false,"pushed_at":"2023-10-09T08:44:05.000Z","size":43,"stargazers_count":50,"open_issues_count":5,"forks_count":25,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-08-05T00:07:03.347Z","etag":null,"topics":["esp32","esp8266","library","micropython","python","wifi","wifi-configuration","wifimanager"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferreira-igor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-01-28T23:06:33.000Z","updated_at":"2024-05-31T19:23:22.000Z","dependencies_parsed_at":"2024-01-29T19:40:35.808Z","dependency_job_id":null,"html_url":"https://github.com/ferreira-igor/micropython-wifi_manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferreira-igor%2Fmicropython-wifi_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferreira-igor%2Fmicropython-wifi_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferreira-igor%2Fmicropython-wifi_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferreira-igor%2Fmicropython-wifi_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferreira-igor","download_url":"https://codeload.github.com/ferreira-igor/micropython-wifi_manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224032184,"owners_count":17244373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp8266","library","micropython","python","wifi","wifi-configuration","wifimanager"],"created_at":"2024-08-04T00:01:36.105Z","updated_at":"2024-11-11T01:15:49.058Z","avatar_url":"https://github.com/ferreira-igor.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Communications"],"readme":"# WiFi Manager\n\nWiFi Manager for ESP8266 and ESP32 using MicroPython. It might work in any other board since it only uses standard MicroPython libraries, but that's not tested.\n\n![ESP8266](https://img.shields.io/badge/ESP-8266-000000.svg?longCache=true\u0026style=flat\u0026colorA=CC101F)\n![ESP32](https://img.shields.io/badge/ESP-32-000000.svg?longCache=true\u0026style=flat\u0026colorA=CC101F)\n\n## What's new?\n\nVersion 2.0 comes with some improvements:\n- Better documentation (I hope);\n- Some aesthetical changes in the code;\n- Removal of unnecessary messages;\n- Removal of the ability to set the ip address (to avoid unexpected problems);\n- Option to reboot after network configuration (needs improvement);\n\n## Wishlist\n\n- [ ] Allow user to customize CSS;\n- [ ] Custom fields for extra configuration (like mqtt server, etc)\n- [ ] Turn this into a real python library with the option to be installed using pip;\n\n## How It Works\n\n- When your device starts up, it will try to connect to a previously saved wifi.\n- If there is no saved network or if it fails to connect, it will start an access point;\n- By connecting to the access point and going to the address 192.168.4.1 you be able to find your network and input the credentials;\n- It will try to connect to the desired network, and if it's successful, it will save the credentials for future usage;\n- Be aware that the wifi credentials will be saved in a plain text file, and this can be a security fault depending on your application;\n\n## Installation and Usage\n\n```python\n# Download the \"wifi_manager.py\" file to your device;\n\n# Import the library:\nfrom wifi_manager import WifiManager\n\n# Initialize it\nwm = WifiManager()\n\n# By default the SSID is WiFiManager and the password is wifimanager.\n# You can customize the SSID and password of the AP for your needs:\nwm = WifiManager(ssid=\"my ssid\",password=\"my password\")\n\n# Start the connection:\nwm.connect()\n```\n\n## Methods\n\n### .connect()\n\nTries to connect to a network and if it doesn't work start the configuration portal.\n\n### .disconnect()\n\nDisconnect from network.\n\n### .is_connected()\n\nReturns True if it's connected and False if it's not. It's the simpler way to test the connection inside your code.\n\n### .get_address()\n\nReturns a tuple with the network interface parameters: IP address, subnet mask, gateway and DNS server.\n\n## Notes\n\n- Do not use this library with other ones that works directly with the network interface, since it might have conflicts;\n\n## Thanks To\n\nhttps://github.com/tayfunulu/WiFiManager/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferreira-igor%2Fmicropython-wifi_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferreira-igor%2Fmicropython-wifi_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferreira-igor%2Fmicropython-wifi_manager/lists"}