iobroker.innogy-smarthome
Advanced tools
Comparing version 0.1.20 to 0.1.21
{ | ||
"common": { | ||
"name": "innogy-smarthome", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"title": "Innogy Smarthome Adapter", | ||
@@ -25,8 +25,3 @@ "license": "MIT", | ||
"type": "iot-systems", | ||
"authors": [ | ||
{ | ||
"name": "Patrick Arns", | ||
"email": "iobroker@patrick-arns.de" | ||
} | ||
] | ||
"authors": ["Patrick Arns <iobroker@patrick-arns.de>"] | ||
}, | ||
@@ -33,0 +28,0 @@ "native": {}, |
24
main.js
@@ -119,4 +119,5 @@ /* jshint -W097 */// jshint strict:false | ||
smartHome.on("needsAuthorization", function () { | ||
smartHome.on("needsAuthorization", function (error) { | ||
adapter.log.warn('Adapter is not configured or needs reauthorization! Please go to the adapter settings and start the authorization'); | ||
adapter.log.warn("DEBUG: " + JSON.stringify(error)); | ||
adapter.setState("info.connection", false, true); | ||
@@ -387,2 +388,14 @@ }); | ||
break; | ||
case "/types/product/WeatherStation.Netatmo/2.0/WindDirection": | ||
res.type = "number"; | ||
res.role = "sensor.winddirection"; | ||
res.read = true; | ||
res.write = false; | ||
res.unit = "°"; | ||
case "/types/product/WeatherStation.Netatmo/2.0/WindStrength": | ||
res.type = "number"; | ||
res.role = "sensor.windstrength"; | ||
res.read = true; | ||
res.write = false; | ||
res.unit = "km/h"; | ||
case "/types/device/RST.RWE/1.1/OperationMode": | ||
@@ -422,2 +435,11 @@ res.type = "string"; | ||
break; | ||
case "/types/DimmingLevel": | ||
res.type = "number"; | ||
res.role = "level.dimmer"; | ||
res.read = true; | ||
res.write = true; | ||
res.unit = "%"; | ||
res.min = 0; | ||
res.max = 100; | ||
break; | ||
case "/types/percent": | ||
@@ -424,0 +446,0 @@ res.type = "number"; |
{ | ||
"name": "iobroker.innogy-smarthome", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"description": "ioBroker Innogy SmartHome Adapter", | ||
@@ -28,3 +28,3 @@ "author": { | ||
"dependencies": { | ||
"innogy-smarthome-lib": "^0.2.20" | ||
"innogy-smarthome-lib": "^0.2.21" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -12,2 +12,6 @@ ![Logo](admin/innogy-smarthome.png) | ||
### 0.1.21 | ||
Fixed initial reauth problem next try | ||
Added Netatmo Wind Sensor | ||
### 0.1.20 | ||
@@ -14,0 +18,0 @@ Fixed initial reauth problem |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45150
534
118
Updatedinnogy-smarthome-lib@^0.2.21