iobroker.swiss-weather-api
Advanced tools
Comparing version
{ | ||
"common": { | ||
"name": "swiss-weather-api", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"news": { | ||
"0.9.2": { | ||
"en": "Function Update: The current weather information is provided as a 'Current_Hour' object. Every hour this information is updated. This is done every hour by copying the corresponding values from forecast.day.<current time>. So no new http request will be executed. The values are only copied from the forecast objects. This makes it easier to display the current weather in the visualization." | ||
}, | ||
"0.9.1": { | ||
@@ -7,0 +10,0 @@ "en": "Minor bugfixing (Handling Adpater State, Handling when no Internet-Connection is available, reduce Rest-Calls." |
{ | ||
"name": "iobroker.swiss-weather-api", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "Connects to SRF Weather API (https://developer.srgssr.ch/apis/srf-weather)", | ||
@@ -27,3 +27,4 @@ "author": { | ||
"@iobroker/adapter-core": "^2.5.0", | ||
"follow-redirects": "^1.14.1" | ||
"follow-redirects": "^1.14.1", | ||
"node-cron": "^3.0.0" | ||
}, | ||
@@ -30,0 +31,0 @@ "devDependencies": { |
@@ -15,2 +15,16 @@  | ||
#Attention!!! | ||
**SRG has completely rebuilt its API. The old API (<= adapter version 0.3.2) is NOT supported anymore. From adapter version 0.9.x the new API of the SRG is used. That's why a new SRG APP (eg product "Freemium") must be created (https://developer.srgssr.ch/apis/srf-weather). See also Readme, chapter "Getting started" (below). Please also note that the new API will also create completely new objects.** | ||
**The good news is that the new API also provides more data. ;)** | ||
**Update procedure** | ||
So my recommendation for the update from 0.3.2 to 0.9.x is: | ||
- remove the old adapter before installing version 0.9.x. | ||
- please note that the data-objects will be removed accordingly as well. | ||
- create a new freemium app on srg developer portal (https://developer.srgssr.ch/apis/srf-weather) | ||
- install new version 0.9.x and set configuration with new consumerkey and consumersecret | ||
- on startup, the new adapter will create new, different data-objects. | ||
## swiss-weather-api adapter for ioBroker | ||
@@ -42,2 +56,5 @@ | ||
### 0.9.2 | ||
* (baerengraben) Function Update: The current weather information is provided as a forecast.current_hour object. Every hour this information is updated. This is done every hour by copying the corresponding values from forecast.60minutes.day0.<current_time>. So no new http request will be executed. The values are only copied from the forecast objects. This makes it easier to display the current weather in the visualization. | ||
### 0.9.1 | ||
@@ -44,0 +61,0 @@ * (baerengraben) Fix to reduce amount of Rest-Calls: https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/41 |
Sorry, the diff of this file is too big to display
4334417
0.3%5781
6.98%147
13.08%3
50%+ Added
+ Added
+ Added