move to own remote

This commit is contained in:
willem oldemans
2020-10-01 21:25:37 +02:00
parent 2133809f99
commit 3e24b555c8

View File

@@ -21,9 +21,9 @@ See more at http://blog.squix.ch
#include <simpleDSTadjust.h>
// Setup
#define WIFI_SSID "yourssid"
#define WIFI_PASS "yourpassw0rd"
#define WIFI_HOSTNAME "ThingPulse-weather-station-color"
#define WIFI_SSID "poes"
#define WIFI_PASS "Rijnstraat214"
#define WIFI_HOSTNAME "wifi-weather-station"
const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes
const int SLEEP_INTERVAL_SECS = 0; // Going to sleep after idle times, set 0 for insomnia
@@ -31,15 +31,15 @@ const int SLEEP_INTERVAL_SECS = 0; // Going to sleep after idle times, se
// OpenWeatherMap Settings
// Sign up here to get an API key: https://docs.thingpulse.com/how-tos/openweathermap-key/
String OPEN_WEATHER_MAP_APP_ID = "";
String OPEN_WEATHER_MAP_APP_ID = "d9b8d326bbc2bb13f9c024601afe8e5e";
/*
Go to https://openweathermap.org/find?q= and search for a location. Go through the
result set and select the entry closest to the actual location you want to display
data for. It'll be a URL like https://openweathermap.org/city/2657896. The number
at the end is what you assign to the constant below.
*/
String OPEN_WEATHER_MAP_LOCATION_ID = "2657896";
String DISPLAYED_CITY_NAME = "Zurich";
String OPEN_WEATHER_MAP_LOCATION_ID = "2747350";
String DISPLAYED_CITY_NAME = "'s-Hertogenbosch";
/*
Arabic -> ar, Bulgarian -> bg, Catalan -> ca, Czech -> cz, German -> de, Greek -> el,
English -> en, Persian (Farsi) -> fa, Finnish -> fi, French -> fr, Galician -> gl,
@@ -49,15 +49,15 @@ Portuguese -> pt, Romanian -> ro, Russian -> ru, Swedish -> se, Slovak -> sk,
Slovenian -> sl, Spanish -> es, Turkish -> tr, Ukrainian -> ua, Vietnamese -> vi,
Chinese Simplified -> zh_cn, Chinese Traditional -> zh_tw.
*/
String OPEN_WEATHER_MAP_LANGUAGE = "en";
String OPEN_WEATHER_MAP_LANGUAGE = "nl";
const uint8_t MAX_FORECASTS = 10;
// Adjust according to your language
const String WDAY_NAMES[] = {"SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"};
const String MONTH_NAMES[] = {"JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"};
const String SUN_MOON_TEXT[] = {"Sun", "Rise", "Set", "Moon", "Age", "Illum"};
const String MOON_PHASES[] = {"New Moon", "Waxing Crescent", "First Quarter", "Waxing Gibbous",
"Full Moon", "Waning Gibbous", "Third quarter", "Waning Crescent"};
const String WDAY_NAMES[] = {"zon", "maa", "din", "woe", "don", "vri", "zat"};
const String MONTH_NAMES[] = {"JAN", "FEB", "MAA", "APR", "MEI", "JUN", "JUL", "AUG", "SEP", "OKT", "NOV", "DEC"};
const String SUN_MOON_TEXT[] = {"Zon", "op", "onder", "Maan", "Age", "Illum"};
const String MOON_PHASES[] = {"Nieuwe Maan", "Waxing Crescent", "First Quarter", "Waxing Gibbous",
"Volle Maan", "Waning Gibbous", "Third quarter", "Waning Crescent"};
#define UTC_OFFSET +1
struct dstRule StartRule = {"CEST", Last, Sun, Mar, 2, 3600}; // Central European Summer Time = UTC/GMT +2 hours