iobroker.accuweather
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"common": { | ||
"name": "accuweather", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"news": { | ||
"1.0.3": { | ||
"1.1.1": { | ||
"en": "Summary channel added to support automatic weather device detection by type-detector", | ||
@@ -8,0 +8,0 @@ "de": "Zusammenfassungskanal hinzugefügt, um die automatische Erkennung von Wettergeräten durch den Typdetektor zu unterstützen", |
10
main.js
@@ -109,3 +109,3 @@ "use strict"; | ||
this.setState("Daily.Day" + day + "." + key + "." + key1 + "Volume", { val: json1[key1].Value, ack: true }); | ||
this.setState("Summary." + key1 + "Volume_d" + day, { val: json1[key1].Value, ack: true }); | ||
if (key=="Day" && key1=="TotalLiquid") this.setState("Summary.TotalLiquidVolume_d" + day, { val: json1[key1].Value, ack: true }); | ||
} else { this.setState("Daily.Day" + day + "." + key + "." + key1, { val: json1[key1].Value, ack: true }); } | ||
@@ -116,5 +116,7 @@ } else | ||
this.setState("Daily.Day" + day + "." + key + ".WindDirection", { val: json1[key1].Direction.Degrees, ack: true }); | ||
this.setState("Summary.WindSpeed_d"+day, { val: json1[key1].Speed.Value, ack: true }); | ||
this.setState("Summary.WindDirection_d"+day, { val: json1[key1].Direction.Degrees, ack: true }); | ||
this.setState("Summary.WindDirectionStr_d"+day, { val: this.getCardinalDirection(json1[key1].Direction.Degrees), ack: true }); | ||
if (key=="Day") { | ||
this.setState("Summary.WindSpeed_d"+day, { val: json1[key1].Speed.Value, ack: true }); | ||
this.setState("Summary.WindDirection_d"+day, { val: json1[key1].Direction.Degrees, ack: true }); | ||
this.setState("Summary.WindDirectionStr_d"+day, { val: this.getCardinalDirection(json1[key1].Direction.Degrees), ack: true }); | ||
} | ||
} else | ||
@@ -121,0 +123,0 @@ if (key1 == "WindGust") { |
{ | ||
"name": "iobroker.accuweather", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Weather forecast using AccuWeather API", | ||
@@ -5,0 +5,0 @@ "author": { |
118919
2504