Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
pro2_compact_receiver [2020/05/03 04:04] – [Installing and Configuring the software] werk_ag | pro2_compact_receiver [2020/05/03 04:08] (current) – [Settings for the 4 Day Forecast] werk_ag | ||
---|---|---|---|
Line 107: | Line 107: | ||
- | ===== Settings for the 4 Day Forecast ===== | + | ===== Settings for the 12 Hours Forecast ===== |
- | In order to use the 4 Day Forecast, you need to have a Dark Sky API key. If you don't have one, get it for free here: https://darksky.net/dev | + | In order to use the 12 Hours Forecast, you need to have a OpenWeather |
- | \\ | + | Choose the free 5 day / 3 hour Forecast.\\ |
Once you have your API key, insert it in the Credentials.h file: | Once you have your API key, insert it in the Credentials.h file: | ||
< | < | ||
+ | |||
// -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
- | // Dark Sky API used for 4 Days Forecast | + | // OpenWeather |
// -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
- | // Sign up for an account at Dark Sky, change x' | + | // Sign up for an account at Open Weather |
- | const String api_key | + | const char* OpenWeather_api_key |
</ | </ | ||
- | There is no need to set anything else to get the correct | + | There is no need to set anything else to get the correct |
Just make sure you have correctly placed your location on the Config_Option.h\\ | Just make sure you have correctly placed your location on the Config_Option.h\\ | ||
Line 135: | Line 137: | ||
// | // | ||
// -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
- | #define LATITUDE | + | #define LATITUDE |
- | #define LONGITUDE | + | #define LONGITUDE |
#define ELEVATION | #define ELEVATION | ||
</ | </ |