homebridge-melcloud-control 4.2.3-beta.40 → 4.2.3-beta.41
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/melcloudata.js +8 -6
- package/src/melcloudatw.js +13 -13
- package/src/melclouderv.js +5 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.2.3-beta.
|
|
4
|
+
"version": "4.2.3-beta.41",
|
|
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/melcloudata.js
CHANGED
|
@@ -223,12 +223,14 @@ class MelCloudAta extends EventEmitter {
|
|
|
223
223
|
break;
|
|
224
224
|
default:
|
|
225
225
|
payload = {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
226
|
+
power: deviceData.Device.Power,
|
|
227
|
+
setTemperature: deviceData.Device.SetTemperature,
|
|
228
|
+
setFanSpeed: String(deviceData.Device.SetFanSpeed),
|
|
229
|
+
operationMode: AirConditioner.OperationModeMapEnumToString[deviceData.Device.OperationMode],
|
|
230
|
+
vaneHorizontalDirection: AirConditioner.VaneHorizontalDirectionMapEnumToString[deviceData.Device.VaneHorizontalDirection],
|
|
231
|
+
vaneVerticalDirection: AirConditioner.VaneVerticalDirectionMapEnumToString[deviceData.Device.VaneVerticalDirection],
|
|
232
|
+
temperatureIncrementOverride: deviceData.Device.TemperatureIncrementOverride,
|
|
233
|
+
inStandbyMode: deviceData.Device.InStandbyMode
|
|
232
234
|
};
|
|
233
235
|
method = 'PUT';
|
|
234
236
|
path = ApiUrlsHome.PutAta.replace('deviceid', deviceData.DeviceID);
|
package/src/melcloudatw.js
CHANGED
|
@@ -195,19 +195,19 @@ class MelCloudAtw extends EventEmitter {
|
|
|
195
195
|
break;
|
|
196
196
|
default:
|
|
197
197
|
payload = {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
198
|
+
power: deviceData.Device.Power,
|
|
199
|
+
setTemperatureZone1: deviceData.Device.SetTemperatureZone1,
|
|
200
|
+
setTemperatureZone2: deviceData.Device.SetTemperatureZone2,
|
|
201
|
+
operationMode: HeatPump.OperationModeMapEnumToString[deviceData.Device.OperationMode],
|
|
202
|
+
operationModeZone1: HeatPump.OperationModeMapEnumToString[deviceData.Device.OperationModeZone1],
|
|
203
|
+
operationModeZone2: HeatPump.OperationModeMapEnumToString[deviceData.Device.OperationModeZone2],
|
|
204
|
+
opetHeatFlowTemperatureZone1: deviceData.Device.SetHeatFlowTemperatureZone1,
|
|
205
|
+
setHeatFlowTemperatureZone2: deviceData.Device.SetHeatFlowTemperatureZone2,
|
|
206
|
+
setCoolFlowTemperatureZone1: deviceData.Device.SetCoolFlowTemperatureZone1,
|
|
207
|
+
setCoolFlowTemperatureZone2: deviceData.Device.SetCoolFlowTemperatureZone2,
|
|
208
|
+
setTankWaterTemperature: deviceData.Device.SetTankWaterTemperature,
|
|
209
|
+
forcedHotWaterMode: deviceData.Device.ForcedHotWaterMode,
|
|
210
|
+
ecoHotWater: deviceData.Device.EcoHotWater,
|
|
211
211
|
};
|
|
212
212
|
method = 'PUT';
|
|
213
213
|
path = ApiUrlsHome.PutAtw.replace('deviceid', deviceData.DeviceID);
|
package/src/melclouderv.js
CHANGED
|
@@ -209,11 +209,11 @@ class MelCloudErv extends EventEmitter {
|
|
|
209
209
|
break;
|
|
210
210
|
default:
|
|
211
211
|
payload = {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
power: deviceData.Device.Power,
|
|
213
|
+
setTemperature: deviceData.Device.SetTemperature,
|
|
214
|
+
setFanSpeed: String(deviceData.Device.SetFanSpeed),
|
|
215
|
+
operationMode: Ventilation.OperationModeMapEnumToString[deviceData.Device.OperationMode],
|
|
216
|
+
ventilationMode: Ventilation.VentilationModeMapEnumToString[deviceData.Device.VentilationMode],
|
|
217
217
|
};
|
|
218
218
|
method = 'PUT';
|
|
219
219
|
path = ApiUrlsHome.PutErv.replace('deviceid', deviceData.DeviceID);
|