|
| 1 | +#pragma once |
| 2 | + |
| 3 | +// secrets.h |
| 4 | +// Define your WIFI and OpenWeatherMap API key and location in this file |
| 5 | + |
| 6 | +#define WIFI_SSID "{wifi ssid}" |
| 7 | +#define WIFI_PASSWORD "{wifi password}" |
| 8 | + |
| 9 | +#define OWM_KEY "{OpenWeatherMap.com key}" |
| 10 | +#define OWM_LOCATION "Your City" |
| 11 | +//example |
| 12 | +//#define OWM_LOCATION "New York,US" |
| 13 | + |
| 14 | +// update the weather at this interval, in minutes |
| 15 | +#define UPDATE_INTERVAL 15 |
| 16 | + |
| 17 | +// Set to true to show temperatures in Celsius, false for Fahrenheit |
| 18 | +#define OWM_METRIC false |
| 19 | + |
| 20 | +// temperature will display in red at or above this temperature |
| 21 | +// set to a high number (i.e. >200) to not show temperatures in red |
| 22 | +#define METRIC_HOT 32 |
| 23 | +#define ENGLISH_HOT 90 |
| 24 | + |
| 25 | +/* |
| 26 | +Arabic - ar, Bulgarian - bg, Catalan - ca, Czech - cz, German - de, Greek - el, |
| 27 | +English - en, Persian (Farsi) - fa, Finnish - fi, French - fr, Galician - gl, |
| 28 | +Croatian - hr, Hungarian - hu, Italian - it, Japanese - ja, Korean - kr, |
| 29 | +Latvian - la, Lithuanian - lt, Macedonian - mk, Dutch - nl, Polish - pl, |
| 30 | +Portuguese - pt, Romanian - ro, Russian - ru, Swedish - se, Slovak - sk, |
| 31 | +Slovenian - sl, Spanish - es, Turkish - tr, Ukrainian - ua, Vietnamese - vi, |
| 32 | +Chinese Simplified - zh_cn, Chinese Traditional - zh_tw. |
| 33 | +*/ |
| 34 | +#define OWM_LANGUAGE "en" |
0 commit comments