Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pro2_compact_receiver [2020/05/03 04:04]
werk_ag [Installing and Configuring the software]
pro2_compact_receiver [2020/05/03 04:08] (current)
werk_ag [Settings for the 4 Day Forecast]
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 ​API key. If you don't have one, get it for free here: [[https://openweathermap.org/api|https://​openweathermap.org/​api]]\\ 
-\\+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:
  
 <​code>​ <​code>​
 +
 // -------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------
-//   Dark Sky API used for 4 Days Forecast+//   OpenWeather ​API used for 12 Hours Forecast
 // -------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------
-// Sign up for an account at Dark Sky, change x'​s ​to your API key +// Sign up for an account at Open Weather ​to get your free API Key. 
-const String api_key ​= "xxxxxxxxxxxx";+const char* OpenWeather_api_key ​= "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; 
 </​code>​ </​code>​
  
-There is no need to set anything else to get the correct ​4 days forecast for your location.\\+There is no need to set anything else to get the correct ​twelve hours forecast for your location.\\
 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:
 //   ​LONGITUDE:​ 180.000 to -180.000 (negative for West)  //   ​LONGITUDE:​ 180.000 to -180.000 (negative for West) 
 // -------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------
-#define LATITUDE ​     ​39.22350 ​   // Put here your Station Latitude (up to 5 decimal places, don't use less than 4 decimal places) +#define LATITUDE ​     ​36.22350 ​   // Put here your Station Latitude (up to 5 decimal places, don't use less than 4 decimal places) 
-#define LONGITUDE ​    -8.99650 ​   // Put here your Station Longitude (up to 5 decimal places, don't use less than 4 decimal places)+#define LONGITUDE ​    -7.99650 ​   // Put here your Station Longitude (up to 5 decimal places, don't use less than 4 decimal places)
 #define ELEVATION ​    ​124 ​        // Put here your Station height above sea level in Meters (no decimal places) #define ELEVATION ​    ​124 ​        // Put here your Station height above sea level in Meters (no decimal places)
 </​code>​ </​code>​
Print/export
QR Code
QR Code pro2_compact_receiver (generated for current page)