homebridge-melcloud-control 3.8.11-beta.2 → 3.8.12
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/deviceatw.js +26 -20
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.
|
|
4
|
+
"version": "3.8.12",
|
|
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/deviceatw.js
CHANGED
|
@@ -1443,8 +1443,8 @@ class DeviceAtw extends EventEmitter {
|
|
|
1443
1443
|
sensorsCount: zonesSensorsCount,
|
|
1444
1444
|
useFahrenheit: this.useFahrenheit,
|
|
1445
1445
|
temperatureUnit: TemperatureDisplayUnits[this.useFahrenheit],
|
|
1446
|
-
zones: [
|
|
1447
|
-
zonesSensors: [
|
|
1446
|
+
zones: [],
|
|
1447
|
+
zonesSensors: []
|
|
1448
1448
|
};
|
|
1449
1449
|
|
|
1450
1450
|
//default values
|
|
@@ -1682,19 +1682,22 @@ class DeviceAtw extends EventEmitter {
|
|
|
1682
1682
|
break;
|
|
1683
1683
|
};
|
|
1684
1684
|
|
|
1685
|
-
//add
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1685
|
+
//add every zone to array
|
|
1686
|
+
const zone = {
|
|
1687
|
+
name: name,
|
|
1688
|
+
operationMode: operationModeZone,
|
|
1689
|
+
currentOperationMode: currentOperationMode,
|
|
1690
|
+
targetOperationMode: targetOperationMode,
|
|
1691
|
+
roomTemperature: roomTemperature,
|
|
1692
|
+
setTemperature: setTemperature,
|
|
1693
|
+
lockPhysicalControl: lockPhysicalControl,
|
|
1694
|
+
temperaturesSetPropsMinValue: temperatureSetPropsMinValue,
|
|
1695
|
+
temperaturesSetPropsMaxValue: temperatureSetPropsMaxValue,
|
|
1696
|
+
operationModesSetPropsMinValue: operationModeSetPropsMinValue,
|
|
1697
|
+
operationModesSetPropsMaxValue: operationModeSetPropsMaxValue,
|
|
1698
|
+
operationModesSetPropsValidValues: operationModeSetPropsValidValues
|
|
1699
|
+
};
|
|
1700
|
+
obj.zones.push(zone);
|
|
1698
1701
|
|
|
1699
1702
|
//log current state
|
|
1700
1703
|
if (!this.disableLogInfo) {
|
|
@@ -1828,11 +1831,14 @@ class DeviceAtw extends EventEmitter {
|
|
|
1828
1831
|
break;
|
|
1829
1832
|
};
|
|
1830
1833
|
|
|
1831
|
-
//add
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1834
|
+
//add every sensor to array
|
|
1835
|
+
const sensor = {
|
|
1836
|
+
name: name,
|
|
1837
|
+
roomTemperature: roomTemperature,
|
|
1838
|
+
flowTemperature: flowTemperature,
|
|
1839
|
+
returnTemperature: returnTemperature
|
|
1840
|
+
};
|
|
1841
|
+
obj.zonesSensors.push(sensor);
|
|
1836
1842
|
|
|
1837
1843
|
//log current state
|
|
1838
1844
|
if (!this.disableLogInfo) {
|