Use newline geolocation api. make geolocation optional.
All checks were successful
Compile / Compile (push) Successful in 1m26s
All checks were successful
Compile / Compile (push) Successful in 1m26s
This commit is contained in:
parent
5dea52ebe4
commit
33dc87dfd0
5 changed files with 208 additions and 35 deletions
|
@ -42,6 +42,11 @@
|
|||
#define WAKE_ON_ACCEL_EVENTS false // useful if saving battery by not updating every minute
|
||||
|
||||
#define WEATHER_UPDATE_INTERVAL 3600 // seconds
|
||||
#define DO_GEOLOCATION true // if false then use defaults below
|
||||
|
||||
#define DEFAULT_LATITUDE 60.170833
|
||||
#define DEFAULT_LONGITUDE 24.9375
|
||||
#define DEFAULT_CITY_NAME "Helsinki"
|
||||
|
||||
#include "secrets.h"
|
||||
#if !defined(WIFI_SSID) || !defined(WIFI_PASS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue