homebridge-melcloud-control 3.8.3-beta.0 → 3.8.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/deviceata.js +4 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.8.3-beta.
|
|
4
|
+
"version": "3.8.3-beta.2",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/deviceata.js
CHANGED
|
@@ -1062,6 +1062,8 @@ class DeviceAta extends EventEmitter {
|
|
|
1062
1062
|
|
|
1063
1063
|
};
|
|
1064
1064
|
|
|
1065
|
+
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${roomTemperature}, ${obj.useFahrenheit}`);
|
|
1066
|
+
|
|
1065
1067
|
//operating mode 0, HEAT, DRY, COOL, 4, 5, 6, FAN, AUTO, ISEE HEAT, ISEE DRY, ISEE COOL
|
|
1066
1068
|
switch (this.displayMode) {
|
|
1067
1069
|
case 1: //Heater Cooler
|
|
@@ -1139,7 +1141,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1139
1141
|
|
|
1140
1142
|
//update characteristics
|
|
1141
1143
|
if (this.melCloudService) {
|
|
1142
|
-
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${
|
|
1144
|
+
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${roomTemperature}, ${obj.lockPhysicalControl}`);
|
|
1143
1145
|
this.melCloudService
|
|
1144
1146
|
.updateCharacteristic(Characteristic.Active, power ? 1 : 0)
|
|
1145
1147
|
.updateCharacteristic(Characteristic.CurrentHeaterCoolerState, obj.currentOperationMode)
|
|
@@ -1203,6 +1205,7 @@ class DeviceAta extends EventEmitter {
|
|
|
1203
1205
|
|
|
1204
1206
|
//update characteristics
|
|
1205
1207
|
if (this.melCloudService) {
|
|
1208
|
+
this.emit('warn', `Update characteristics: ${power ? 1 : 0}, ${obj.currentOperationMode}, ${obj.targetOperationMode}, ${roomTemperature}, ${obj.useFahrenheit}`);
|
|
1206
1209
|
this.melCloudService
|
|
1207
1210
|
.updateCharacteristic(Characteristic.CurrentHeatingCoolingState, obj.currentOperationMode)
|
|
1208
1211
|
.updateCharacteristic(Characteristic.TargetHeatingCoolingState, obj.targetOperationMode)
|