Use newline geolocation api. make geolocation optional.
All checks were successful
Compile / Compile (push) Successful in 1m26s

This commit is contained in:
Lewis Jackson 2023-06-02 00:04:53 +03:00
parent 5dea52ebe4
commit 33dc87dfd0
5 changed files with 208 additions and 35 deletions

View file

@ -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)