Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tobozo/wifimanagertz
A NTP/Timezone extension to @tzapu's WiFiManager
https://github.com/tobozo/wifimanagertz
arduino captive-portal esp32 ntp sntp timezone tz wifimanager
Last synced: 3 months ago
JSON representation
A NTP/Timezone extension to @tzapu's WiFiManager
- Host: GitHub
- URL: https://github.com/tobozo/wifimanagertz
- Owner: tobozo
- License: other
- Created: 2022-11-14T22:19:09.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T10:17:50.000Z (9 months ago)
- Last Synced: 2024-10-24T13:42:19.478Z (3 months ago)
- Topics: arduino, captive-portal, esp32, ntp, sntp, timezone, tz, wifimanager
- Language: C++
- Homepage:
- Size: 120 KB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: ReadMe.md
- License: License
Awesome Lists containing this project
README
# WiFiManagerTz for ESP32
Adds NTP/TimeZone and Clock tools to @tzapu's [WiFiManager](https://github.com/tzapu/WiFiManager)
![](assets/screenshot.png)
## Integration
```cpp
#include
#includevoid setup()
{
WiFiManager wifiManager;WiFiManagerNS::init( &wifiManager );
// WiFiManagerNS::init( &wifiManager, webserverPreCallback ); // using a custom callback add/override server routes// /!\ make sure "custom" is listed there as it's required to pull the "Setup Clock" button
std::vector menu = {"wifi", "info", "custom", "param", "sep", "restart", "exit"};
wifiManager.setMenu(menu);// ....
}
```
## Motivation
I made this library in order to learn how to properly use the WiFiManager, and I'm still learning, so feel free to report any WTF :-)
## Roadmap
- Add more examples
- Implement minimal logic for external RTC modules coupling
- Make the Time Setup page skinnable
~~- ESP8266 support~~## Dependencies
- https://github.com/tzapu/WiFiManager
- https://github.com/PaulStoffregen/Time## Credits / External Sources
- [@tablatronix](https://github.com/tablatronix)
- [@tzapu](https://github.com/tzapu)
- [@marciot](https://github.com/marciot)
- https://werner.rothschopf.net/microcontroller/202103_arduino_esp32_ntp_en.htm
- https://github.com/marciot/esp32-hacks
- https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv