Adds NTP/TimeZone and Clock tools to @tzapu's WiFiManager
#include <WiFiManager.h>
#include <WiFiManagerTz.h>
void setup()
{
WiFiManager wifiManager;
WiFiManagerNS::init( &wifiManager );
// /!\ make sure "custom" is listed there as it's required to pull the "Setup Clock" button
std::vector<const char *> menu = {"wifi", "info", "custom", "param", "sep", "restart", "exit"};
wifiManager.setMenu(menu);
// ....
}
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 :-)
- Add more examples
- Implement minimal logic for external RTC modules coupling
- Make the Time Setup page skinnable
- ESP8266 support