homebridge-melcloud-control 4.1.3-beta.20 → 4.1.3-beta.22

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/README.md CHANGED
@@ -65,6 +65,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
65
65
  * Vane V mode `AUTO/1/2/3/4/5/SWING`.
66
66
  * Fan speed mode `AUTO/1/2/3/4/5`.
67
67
  * Presets `SET/UNSET`.
68
+ * Frost protection `ON/OFF`.
69
+ * Overheat protection `ON/OFF`.
68
70
  * Holiday mode `ON/OFF`.
69
71
  * Schedule `ON/OFF`.
70
72
  * Sensors:
@@ -80,6 +82,8 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
80
82
  * Outdoor temperature.
81
83
  * Frost protection.
82
84
  * Overheat protection.
85
+ * Frost protection.
86
+ * Overheat protection.
83
87
  * Holiday mode.
84
88
  * Shedule control.
85
89
  * Shedule active
@@ -239,9 +243,10 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
239
243
  | `ataDevices[].autoDryFanMode` | Here select the operatiing mode for `Auto`, if this mode is not supported, it will be disabled.. |
240
244
  | `ataDevices[].temperatureSensor` | This enable extra `Room` temperature sensor to use with automations in HomeKit app. |
241
245
  | `ataDevices[].temperatureOutdoorSensor` | This enable extra `Outdoor` temperature sensor to use with automations in HomeKit app. |
242
- | `ataDevices[].frostProtectionSensor` | This enable extra `Frost Protectio` sensor to use with automations in HomeKit app. |
243
- | `ataDevices[].overHeatProtectionSensor` | This enable extra `Overheat Protection` sensor to use with automations in HomeKit app. |
244
246
  | `ataDevices[].errorSensor` | This enable `Error` sensor to use with automations in HomeKit app. |
247
+ | `ataDevices[].frostProtectionSupport` | This enable extra `Frost Protectio` control and sensors to use with automations in HomeKit app. |
248
+ | `ataDevices[].overheatProtectionSupport` | This enable extra `Overheat Protection` control and sensors to use with automations in HomeKit app. |
249
+ | `ataDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
245
250
  | `ataDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
246
251
  | `ataDevices[].presets[]` | Array of ATA device `Presets` created automatically after login to MELCloud from plugin config UI. |
247
252
  | `ataDevices[].presets[].id` | Read only data, do not change it. |
@@ -273,6 +278,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
273
278
  | `atwDevices[].temperatureFlowZone2Sensor` | This enable extra `Flow Zone 2` temperature sensor to use with automations in HomeKit app. |
274
279
  | `atwDevices[].temperatureReturnZone2Sensor` | This enable extra `Return Zone 2` temperature sensor to use with automations in HomeKit app. |
275
280
  | `atwDevices[].errorSensor` | This enable `Error` sensors to use with automations in HomeKit app. |
281
+ | `atwDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
276
282
  | `atwDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
277
283
  | `atwDevices[].presets[]` | Array of ATW device `Presets` created automatically after login to MELCloud from plugin config UI. |
278
284
  | `atwDevices[].presets[].id` | Read only data, do not change it. |
@@ -297,6 +303,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
297
303
  | `ervDevices[].temperatureOutdoorSensor` | This enable extra `Outdoor` temperature sensor to use with automations in HomeKit app. |
298
304
  | `ervDevices[].temperatureSupplySensor` | This enable extra `Supply` temperature sensor to use with automations in HomeKit app. |
299
305
  | `ervDevices[].errorSensor` | This enable `Error` sensors to use with automations in HomeKit app. |
306
+ | `ervDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
300
307
  | `ervDevices[].refreshInterval` | Here set the background devices state refresh time in (sec), default `5s`. |
301
308
  | `ervDevices[].presets[]` | Array of ERV device `Presets` created automatically after login to MELCloud from plugin config UI. |
302
309
  | `ervDevices[].presets[].id` | Read only data, do not change it. |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.1.3-beta.20",
4
+ "version": "4.1.3-beta.22",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -201,21 +201,19 @@ class MelCloudAta extends EventEmitter {
201
201
  switch (effectiveFlags) {
202
202
  case 'frostprotection':
203
203
  settings = {
204
- data: {
205
- enabled: deviceData.FrostProtection.Enabled
206
- }
204
+ data: { enabled: deviceData.FrostProtection.Enabled, "min": deviceData.FrostProtection.Min, "max": deviceData.FrostProtection.Max, units: { "ATA": [deviceData.DeviceID] } }
207
205
  };
208
206
  method = 'POST';
209
- path = ApiUrlsHome.PostProtectionFrost.replace('deviceid', deviceData.DeviceID);
207
+ path = ApiUrlsHome.PostProtectionFrost;
210
208
  break;
211
209
  case 'overheatprotection':
212
210
  settings = {
213
211
  data: {
214
- enabled: deviceData.OverheatProtection.Enabled
212
+ data: { enabled: deviceData.OverheatProtection.Enabled, "min": deviceData.OverheatProtection.Min, "max": deviceData.OverheatProtection.Max, units: { "ATA": [deviceData.DeviceID] } }
215
213
  }
216
214
  };
217
215
  method = 'POST';
218
- path = ApiUrlsHome.PostProtectionOverheat.replace('deviceid', deviceData.DeviceID);
216
+ path = ApiUrlsHome.PostProtectionOverheat;
219
217
  break;
220
218
  case 'holidaymode':
221
219
  settings = {
@@ -224,7 +222,7 @@ class MelCloudAta extends EventEmitter {
224
222
  }
225
223
  };
226
224
  method = 'POST';
227
- path = ApiUrlsHome.PostHolidayMode.replace('deviceid', deviceData.DeviceID);
225
+ path = ApiUrlsHome.PostHolidayMode;
228
226
  break;
229
227
  case 'schedule':
230
228
  settings = {