Skip to content

Commit

Permalink
Merge pull request #528 from wvhn/develop
Browse files Browse the repository at this point in the history
new SV version and info on weather services
  • Loading branch information
wvhn authored May 7, 2021
2 parents 3457386 + b8af6f9 commit bb17589
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions pages/docu/weather/widget_weather.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ <h1>Weather-Widgets</h1>
The weather widgets get their information from an online weather service. Each service works
a little bit different - especially the 'location' format.
<br /><br />
<b><a href="http://www.yr.no" target="_blank">yr.no</a></b><br />
The location format must be 'Tyskland/Bayern/Würzburg'. Go to the webpage to get your location from the url.
<b><a href="http://www.met.no" target="_blank">met.no</a></b><br />
The location format must be geograpchic coordinates, e.g. 'lat=50.93331&lon=6.95'.

<br /><br />
<b><a href="http://www.openweathermap.org" target="_blank">openweathermap</a></b><br />
The location format must be 'Würzburg, DE'. Go to the webpage to get your location from the url.
The location format can be 'Köln, DE', postal code 'zip=50667,DE', Openweathermap location ID 'id=2886242' or the
geographic coordinates 'lat=50.93331&lon=6.95'.
You need to register with openweathermap to get a free API key.

<br /><br />
Expand All @@ -33,6 +34,11 @@ <h1>Weather-Widgets</h1>
Fill it into the location field. The public key is '6532d6454b8aa370768e63d6ba5a832e'.
Additionally, you need your postal code, e.g. '97070:DE'

<br /><br />
<b><a href="http://www.yr.no" target="_blank">yr.no</a></b><br />
The location format must be 'Tyskland/Bayern/Würzburg'. Go to the webpage to get your location from the url.
The yr.no service is deprecated as per smartVISU v3.1. Replacement is met.no.

<br /><br />
<b><a href="https://darksky.net/dev" target="_blank">darksky.net</a></b><br />
You need a key for that service. Go to the webpage to generate your own key.<br />
Expand Down
6 changes: 3 additions & 3 deletions version-info.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
define ('config_visu', 'smartVISU');
define ('config_version', '3.0'); // deprecated as from v3.0
define ('config_version', '3.1'); // deprecated as from v3.0
define ('config_version_major', '3');
define ('config_version_minor', '0');
define ('config_version_revision', 'a');
define ('config_version_minor', '1');
define ('config_version_revision', '0');
?>

0 comments on commit bb17589

Please sign in to comment.