Add WIP weather stuff
This commit is contained in:
parent
07e83e7557
commit
23b1328cba
5 changed files with 42 additions and 18 deletions
|
@ -34,6 +34,7 @@
|
|||
#define EEPROM_MAGIC2 0x0d
|
||||
#define EEPROM_VERSION 1
|
||||
|
||||
#define OPENWEATHERMAP_API_KEY ""
|
||||
#include "secrets.h"
|
||||
#if !defined(WIFI_SSID) || !defined(WIFI_PASS)
|
||||
#error "Please define WIFI_SSID and WIFI_PASS in secrets.h"
|
||||
|
@ -45,3 +46,5 @@
|
|||
|
||||
#define UPDATE_INTERVAL 60 // seconds
|
||||
#define WAKE_ON_ACCEL_EVENTS false // useful if saving battery by not updating every minute
|
||||
|
||||
#define WEATHER_UPDATE_INTERVAL 3600 // seconds
|
Loading…
Add table
Add a link
Reference in a new issue