Skip to content

tobozo/WiFiManagerTz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WiFiManagerTz for ESP32

Adds NTP/TimeZone and Clock tools to @tzapu's WiFiManager

Integration

#include <WiFiManager.h>
#include <WiFiManagerTz.h>

void 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<const char *> 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

Credits / External Sources