homebridge-melcloud-control 4.1.3-beta.6 → 4.1.3-beta.7

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
@@ -246,7 +246,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
246
246
  | `ataDevices[].schedules[]` | Array of ATA device `Schedules` created automatically after login to MELCloud Home from plugin config UI. |
247
247
  | `ataDevices[].schedules[].id` | Read only data, do not change it. |
248
248
  | `ataDevices[].schedules[].name` | Here You can schange the `Schedule Name` which is exposed to the `Homebridge/HomeKit`. |
249
- | `ataDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Outlet`, `2 - Switch`, `3 - Motion Sensor`, `4 - Occupancy Sensor`, `5 - Contact Sensor`. |
249
+ | `ataDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`. |
250
250
  | `ataDevices[].buttonsSensors[]` | Array of buttons sensors. |
251
251
  | `ataDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
252
252
  | `ataDevices[].buttonsSensors[].mode` | Here select button mode, VH - Vane Horizontal, VV - Vane Horizontal. |
@@ -278,7 +278,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
278
278
  | `atwDevices[].schedules[]` | Array of ATW device `Schedules` created automatically after login to MELCloud Home from plugin config UI. |
279
279
  | `atwDevices[].schedules[].id` | Read only data, do not change it. |
280
280
  | `atwDevices[].schedules[].name` | Here You can schange the `Schedule Name` which is exposed to the `Homebridge/HomeKit`. |
281
- | `atwDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Outlet`, `2 - Switch`, `3 - Motion Sensor`, `4 - Occupancy Sensor`, `5 - Contact Sensor`. |
281
+ | `atwDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`. |
282
282
  | `atwDevices[].buttonsSensors[]` | Array of buttons sensors. |
283
283
  | `atwDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
284
284
  | `atwDevices[].buttonsSensors[].mode` | Here select button mode. |
@@ -303,13 +303,13 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
303
303
  | `ervDevices[].schedules[]` | Array of ERV device `Schedules` created automatically after login to MELCloud Home from plugin config UI. |
304
304
  | `ervDevices[].schedules[].id` | Read only data, do not change it. |
305
305
  | `ervDevices[].schedules[].name` | Here You can schange the `Schedule Name` which is exposed to the `Homebridge/HomeKit`. |
306
- | `ervDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Outlet`, `2 - Switch`, `3 - Motion Sensor`, `4 - Occupancy Sensor`, `5 - Contact Sensor`. |
306
+ | `ervDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`. |
307
307
  | `ervDevices[].buttonsSensors[]` | Array of buttons sensors. |
308
308
  | `ervDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
309
309
  | `ervDevices[].buttonsSensors[].mode` | Here select button mode. |
310
310
  | `ervDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Outlet`, `2 - Switch`, `3 - Motion Sensor`, `4 - Occupancy Sensor`, `5 - Contact Sensor`. |
311
311
  | `ervDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
312
- | `refreshInterval` | Here set the background account data refresh time in (sec), default `120s`. |
312
+ | `refreshInterval` | Here set the background account data refresh time in (sec) , only for old MELCLoud, default `120s`. |
313
313
  | `log{}` | Log object. |
314
314
  | `log.deviceInfo` | If enabled, log device info will be displayed by every connections device to the network. |
315
315
  | `log.success` | If enabled, success log will be displayed in console. |
@@ -434,7 +434,10 @@
434
434
  "default": 5,
435
435
  "minimum": 1,
436
436
  "maximum": 60,
437
- "description": "Set the background device state refresh time in seconds."
437
+ "description": "Set the background device state refresh time in seconds.",
438
+ "condition": {
439
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
440
+ }
438
441
  },
439
442
  "presets": {
440
443
  "title": "Presets",
@@ -1128,7 +1131,10 @@
1128
1131
  "default": 5,
1129
1132
  "minimum": 1,
1130
1133
  "maximum": 60,
1131
- "description": "Set the background device state refresh time in seconds."
1134
+ "description": "Set the background device state refresh time in seconds.",
1135
+ "condition": {
1136
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
1137
+ }
1132
1138
  },
1133
1139
  "presets": {
1134
1140
  "title": "Presets",
@@ -1940,7 +1946,10 @@
1940
1946
  "default": 120,
1941
1947
  "minimum": 1,
1942
1948
  "maximum": 600,
1943
- "description": "Set the background account data refresh time in seconds."
1949
+ "description": "Set the background account data refresh time in seconds.",
1950
+ "condition": {
1951
+ "functionBody": "return model.accounts[arrayIndices[0]].type === 'melcloud';"
1952
+ }
1944
1953
  },
1945
1954
  "log": {
1946
1955
  "title": "Log",
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.6",
4
+ "version": "4.1.3-beta.7",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",