From 109e26b2b93a2fb6400cec9f39fb1ad29004456c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sat, 14 Apr 2018 23:23:06 +0200 Subject: [PATCH] Add more documentation for WU params --- settings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings.h b/settings.h index fa090fe..ec783ec 100644 --- a/settings.h +++ b/settings.h @@ -44,6 +44,9 @@ const int SLEEP_INTERVAL_SECS = 0; // Going to Sleep after idle times, set 0 f // http://api.wunderground.com/api/WUNDERGROUND_API_KEY/conditions/q/WUNDERGROUND_COUNTTRY/WUNDERGROUND_CITY.json // e.g. http://api.wunderground.com/api/808ba87ed77c4511/conditions/q/CH/Zurich.json // e.g. http://api.wunderground.com/api/808ba87ed77c4511/conditions/q/CA/SAN_FRANCISCO.json <- note that in the US you use the state instead of country code +// If you want to have control over the exact weather station ("observation location") that WU uses you need to replace +// the city with "pws:STATION_ID". So, for the Aquatic Park in San Francisco you'd use "pws:KCASANFR359". +// Alternative query options are documented at https://www.wunderground.com/weather/api/d/docs?d=data/index&MR=1#standard_request_url_format const String DISPLAYED_CITY_NAME = "Zurich"; const String WUNDERGRROUND_API_KEY = "";