Skip to content

Commit

Permalink
https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/42
Browse files Browse the repository at this point in the history
  • Loading branch information
baerengraben authored and baerengraben committed May 31, 2021
1 parent 1524f5a commit 383ba48
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ The first query is made 10s after the adapter was started. After the first start

## Changelog

### 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
* (baerengraben) Fix to reduce amount of Rest-Calls: https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/41
* (baerengraben) Fix for https://github.com/baerengraben/ioBroker.swiss-weather-api/issues/32 (Crashes when no Internet Connection is available)
Expand Down
5 changes: 4 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"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": {
"en": "Minor bugfixing (Handling Adpater State, Handling when no Internet-Connection is available, reduce Rest-Calls."
},
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function setCurrentHour(self){
self.setObjectNotExists(updatePath, {
type: "channel",
common: {
name: "Holds the current hour data. This is updated on every http-call AND on every full hour by coping the data from forecast.60minutes.day0 - actual hour",
name: "Holds the current hour data. This is updated on every full hour by coping the data from forecast.60minutes.day0 - actual hour",
role: "info"
},
native: {},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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)",
"author": {
"name": "baerengraben",
Expand Down

0 comments on commit 383ba48

Please sign in to comment.