iobroker.rwe-smarthome
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -45,8 +45,3 @@ "use strict"; | ||
if (device) | ||
device.setState(state.val, function () { | ||
adapter.setState(getDeviceName(device), { | ||
val: obj.native.friendlyState ? device.getFriendlyState() : device.getState(), | ||
ack: true | ||
}); | ||
}); | ||
device.setState(state.val); | ||
} | ||
@@ -78,3 +73,5 @@ } | ||
smartHomeInstance.init(initSmartHome); | ||
smartHomeInstance.on("StatusChanged", function (aDevice) { | ||
adapter.log.info("STATUS CHANGED " + aDevice.name + " " + aDevice.getFriendlyState()); | ||
adapter.getObject(getDeviceName(aDevice), function (err, obj) { | ||
@@ -81,0 +78,0 @@ if (obj) { |
{ | ||
"name": "iobroker.rwe-smarthome", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "ioBroker rwe-smarthome Adapter", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -9,5 +9,14 @@ ![Logo](admin/rwe-smarthome.png) | ||
### 0.0.1 | ||
Initial commit, at the moment only GenericActuator and SwitchActuator works | ||
### 0.1.2 | ||
Fixed triggering of events during state change | ||
setState now returns the correct value and type, even if an invalid value is set | ||
### 0.1.0 | ||
Added shutdown event to clean the connection to the central during unload event | ||
Updated underlaying lib to keep connection to the central alive | ||
### 0.0.3 | ||
Fixed some underlaying communication problems | ||
Added debug events | ||
### 0.0.2 | ||
@@ -19,12 +28,6 @@ Added AlarmActuator | ||
Added WindowDoorSensor | ||
### 0.0.3 | ||
Fixed some underlaying communication problems | ||
Added debug events | ||
### 0.1.0 | ||
Added shutdown event to clean the connection to the central during unload event | ||
Updated underlaying lib to keep connection to the central alive | ||
### 0.0.1 | ||
Initial commit, at the moment only GenericActuator and SwitchActuator works | ||
## License | ||
@@ -31,0 +34,0 @@ GPL V2 |
34
49892
294