improved timeauto sync

This commit is contained in:
Klemek
2021-10-25 14:41:43 +02:00
parent 74bec5e4c2
commit 7d75ef2834
4 changed files with 11 additions and 11 deletions
+4 -2
View File
@@ -4,8 +4,10 @@
#include <Watchy.h>
#define WTA_URL "http://worldtimeapi.org/api/timezone/"
#define WTA_TIMEZONE "Etc/UTC"
#define WTA_UPDATE_INTERVAL 60 //minutes
#define WTA_TIMEZONE "Europe/Paris"
#define WTA_UPDATE_SHORT_INTERVAL 30 //minutes
#define WTA_UPDATE_LONG_INTERVAL 300 //minutes
#define WTA_UPDATE_TIMEOUT 10000 //ms
class WatchySynced : public Watchy
{