homebridge-melcloud-control 4.4.1-beta.5 → 4.4.1-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,13 +246,13 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
246
246
  | `user` | Here set the account username. |
247
247
  | `passwd` | Here set the account password. |
248
248
  | `language` | Here select the account language. |
249
- | `type` | Here select the account type `0 - None/Disabled`, `1 - MELCloud`, `2 - MELCloud Home`. |
249
+ | `type` | Here select the account type `0 - None / Disabled`, `1 - MELCloud`, `2 - MELCloud Home`. |
250
250
  | `ataDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
251
251
  | `ataDevices[].id` | Read only data, do not change it. |
252
252
  | `ataDevices[].type` | Read only data, do not change it. |
253
253
  | `ataDevices[].typeString` | Read only data, do not change it. |
254
- | `ataDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
255
- | `ataDevices[].displayType` | Here select device control mode `0 - None/Disabled`, `1 - Heater/Cooler`, `2 - Thermostat`. |
254
+ | `ataDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge / HomeKit`. |
255
+ | `ataDevices[].displayType` | Here select device control mode `0 - None / Disabled`, `1 - Heater / Cooler`, `2 - Thermostat`. |
256
256
  | `ataDevices[].heatDryFanMode` | Here select the operatiing mode for `Heat`, if this mode is not supported, it will be disabled. |
257
257
  | `ataDevices[].coolDryFanMode` | Here select the operatiing mode for `Cool`, if this mode is not supported, it will be disabled. |
258
258
  | `ataDevices[].autoDryFanMode` | Here select the operatiing mode for `Auto`, if this mode is not supported, it will be disabled.. |
@@ -266,27 +266,27 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
266
266
  | `ataDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
267
267
  | `ataDevices[].presets[]` | Array of ATA device `Presets` created automatically after login to MELCloud from plugin config UI. |
268
268
  | `ataDevices[].presets[].id` | Read only data, do not change it. |
269
- | `ataDevices[].presets[].name` | Here You can change the `Preset Name` which is exposed to the `Homebridge/HomeKit`. |
270
- | `ataDevices[].presets[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
269
+ | `ataDevices[].presets[].name` | Here You can change the `Preset Name` which is exposed to the `Homebridge / HomeKit`. |
270
+ | `ataDevices[].presets[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
271
271
  | `ataDevices[].schedules[]` | Array of ATA device `Schedules` created automatically after login to MELCloud Home from plugin config UI. |
272
272
  | `ataDevices[].schedules[].id` | Read only data, do not change it. |
273
- | `ataDevices[].schedules[].name` | Here You can change the `Schedule Name` which is exposed to the `Homebridge/HomeKit`. |
274
- | `ataDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
273
+ | `ataDevices[].schedules[].name` | Here You can change the `Schedule Name` which is exposed to the `Homebridge / HomeKit`. |
274
+ | `ataDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
275
275
  | `ataDevices[].scenes[].id` | Read only data, do not change it. |
276
- | `ataDevices[].scenes[].name` | Here You can change the `Scene Name` which is exposed to the `Homebridge/HomeKit`. |
277
- | `ataDevices[].scenes[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
276
+ | `ataDevices[].scenes[].name` | Here You can change the `Scene Name` which is exposed to the `Homebridge / HomeKit`. |
277
+ | `ataDevices[].scenes[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
278
278
  | `ataDevices[].buttonsSensors[]` | Array of buttons sensors. |
279
- | `ataDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
279
+ | `ataDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge / HomeKit`. |
280
280
  | `ataDevices[].buttonsSensors[].mode` | Here select button mode, VH - Vane Horizontal, VV - Vane Horizontal. |
281
- | `ataDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
282
- | `ataDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
281
+ | `ataDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
282
+ | `ataDevices[].buttonsSensors[].namePrefix` | Here enable the accessory name as a prefix for button / sensor name. |
283
283
  | `atwDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
284
284
  | `atwDevices[].id` | Read only data, do not change it. |
285
285
  | `atwDevices[].type` | Read only data, do not change it. |
286
286
  | `atwDevices[].typeString` | Read only data, do not change it. |
287
- | `atwDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
288
- | `atwDevices[].displayType` | Here select main control mode `None/Disabled`, `Heater/Cooler`, `Thermostat`. |
289
- | `atwDevices[].hideZone` | Here select which zone need to be hidden `None/Disabled`, `Heat Pump`, `Heat Pump / Zone 1`, `Heat Pump / Zone 1 / Hot Water`, `Heat Pump / Zone 1 / Zone 2`, `Heat Pump / Hot Water`,`Heat Pump / Hot Water / Zone 2`, `Heat Pump / Zone 2`, `Zone 1`, `Zone 1 / Hot Water`, `Zone 1 / Hot Water / Zone 2`, `Zone 1 / Zone 2`, `Hot Water`, `Hot Water / Zone 2`, `Zone 2`, `All`. |
287
+ | `atwDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge / HomeKit`. |
288
+ | `atwDevices[].displayType` | Here select main control mode `None / Disabled`, `Heater / Cooler`, `Thermostat`. |
289
+ | `atwDevices[].hideZone` | Here select which zone need to be hidden `None / Disabled`, `Heat Pump`, `Heat Pump / Zone 1`, `Heat Pump / Zone 1 / Hot Water`, `Heat Pump / Zone 1 / Zone 2`, `Heat Pump / Hot Water`,`Heat Pump / Hot Water / Zone 2`, `Heat Pump / Zone 2`, `Zone 1`, `Zone 1 / Hot Water`, `Zone 1 / Hot Water / Zone 2`, `Zone 1 / Zone 2`, `Hot Water`, `Hot Water / Zone 2`, `Zone 2`, `All`. |
290
290
  | `atwDevices[].temperatureSensor` | This enable extra `Room` temperature sensor to use with automations in HomeKit app. |
291
291
  | `atwDevices[].temperatureFlowSensor` | This enable extra `Flow` temperature sensor to use with automations in HomeKit app. |
292
292
  | `atwDevices[].temperatureReturnSensor` | This enable extra `Return` temperature sensor to use with automations in HomeKit app. |
@@ -312,16 +312,16 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
312
312
  | `atwDevices[].scenes[].name` | Here You can change the `Scene Name` which is exposed to the `Homebridge/HomeKit`. |
313
313
  | `atwDevices[].scenes[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
314
314
  | `atwDevices[].buttonsSensors[]` | Array of buttons sensors. |
315
- | `atwDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
315
+ | `atwDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge / HomeKit`. |
316
316
  | `atwDevices[].buttonsSensors[].mode` | Here select button mode. |
317
- | `atwDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
318
- | `atwDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
317
+ | `atwDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
318
+ | `atwDevices[].buttonsSensors[].namePrefix` | Here enable the accessory name as a prefix for button / sensor name. |
319
319
  | `ervDevices[]` | Array of ATA devices created automatically after login to MELCloud from plugin config UI. |
320
320
  | `ervDevices[].id` | Read only data, do not change it. |
321
321
  | `ervDevices[].type` | Read only data, do not change it. |
322
322
  | `ervDevices[].typeString` | Read only data, do not change it. |
323
- | `ervDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge/HomeKit`. |
324
- | `ervDevices[].displayType` | Here select main control mode `None/Disabled`, `Heater/Cooler`, `Thermostat`. |
323
+ | `ervDevices[].name` | Here You can change the `Accessory Name` which is exposed to the `Homebridge / HomeKit`. |
324
+ | `ervDevices[].displayType` | Here select main control mode `None / Disabled`, `Heater / Cooler`, `Thermostat`. |
325
325
  | `ervDevices[].temperatureSensor` | This enable extra `Room` temperature sensor to use with automations in HomeKit app. |
326
326
  | `ervDevices[].temperatureOutdoorSensor` | This enable extra `Outdoor` temperature sensor to use with automations in HomeKit app. |
327
327
  | `ervDevices[].temperatureSupplySensor` | This enable extra `Supply` temperature sensor to use with automations in HomeKit app. |
@@ -331,20 +331,20 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
331
331
  | `ervDevices[].holidayModeSupport` | This enable extra `Holiday Mode` control and sensors to use with automations in HomeKit app. |
332
332
  | `ervDevices[].presets[]` | Array of ERV device `Presets` created automatically after login to MELCloud from plugin config UI. |
333
333
  | `ervDevices[].presets[].id` | Read only data, do not change it. |
334
- | `ervDevices[].presets[].name` | Here You can change the `Preset Name` which is exposed to the `Homebridge/HomeKit`. |
335
- | `ervDevices[].presets[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
334
+ | `ervDevices[].presets[].name` | Here You can change the `Preset Name` which is exposed to the `Homebridge / HomeKit`. |
335
+ | `ervDevices[].presets[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
336
336
  | `ervDevices[].schedules[]` | Array of ERV device `Schedules` created automatically after login to MELCloud Home from plugin config UI. |
337
337
  | `ervDevices[].schedules[].id` | Read only data, do not change it. |
338
- | `ervDevices[].schedules[].name` | Here You can change the `Schedule Name` which is exposed to the `Homebridge/HomeKit`. |
339
- | `ervDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
338
+ | `ervDevices[].schedules[].name` | Here You can change the `Schedule Name` which is exposed to the `Homebridge / HomeKit`. |
339
+ | `ervDevices[].schedules[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
340
340
  | `ervDevices[].scenes[].id` | Read only data, do not change it. |
341
- | `ervDevices[].scenes[].name` | Here You can change the `Scene Name` which is exposed to the `Homebridge/HomeKit`. |
342
- | `ervDevices[].scenes[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
341
+ | `ervDevices[].scenes[].name` | Here You can change the `Scene Name` which is exposed to the `Homebridge / HomeKit`. |
342
+ | `ervDevices[].scenes[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
343
343
  | `ervDevices[].buttonsSensors[]` | Array of buttons sensors. |
344
- | `ervDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge/HomeKit`. |
344
+ | `ervDevices[].buttonsSensors[].name` | Here set `Button Name` which You want expose to the `Homebridge / HomeKit`. |
345
345
  | `ervDevices[].buttonsSensors[].mode` | Here select button mode. |
346
- | `ervDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None/Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
347
- | `ervDevices[].buttonsSensors[].namePrefix` | Here enable/disable the accessory name as a prefix for button/sensor name. |
346
+ | `ervDevices[].buttonsSensors[].displayType` | Here select display type in HomeKit, `0 - None / Disabled`, `1 - Motion Sensor`, `2 - Occupancy Sensor`, `3 - Contact Sensor`, `4 - Switch + Motion Sensor`, `5 - Switch + Occupancy Sensor`, `6 - Switch + Contact Sensor`, `7 - Switch`. |
347
+ | `ervDevices[].buttonsSensors[].namePrefix` | Here enable the accessory name as a prefix for button / sensor name. |
348
348
  | `refreshInterval` | Here set the background account data refresh time in (sec) , only for old MELCLoud, default `120s`. |
349
349
  | `log{}` | Log object. |
350
350
  | `log.deviceInfo` | If enabled, log device info will be displayed by every connections device to the network. |
@@ -210,7 +210,7 @@
210
210
  "description": "Here select the account type.",
211
211
  "anyOf": [
212
212
  {
213
- "title": "None/Disabled",
213
+ "title": "None / Disabled",
214
214
  "enum": [
215
215
  "disabled"
216
216
  ]
@@ -259,13 +259,13 @@
259
259
  "description": "Select accessory control type displayed in HomeKit app.",
260
260
  "anyOf": [
261
261
  {
262
- "title": "None/Disabled",
262
+ "title": "None / Disabled",
263
263
  "enum": [
264
264
  0
265
265
  ]
266
266
  },
267
267
  {
268
- "title": "Heater/Cooler",
268
+ "title": "Heater / Cooler",
269
269
  "enum": [
270
270
  1
271
271
  ]
@@ -292,7 +292,7 @@
292
292
  "description": "Select the operating mode for Heat, if this mode is not supported, it will be disabled.",
293
293
  "anyOf": [
294
294
  {
295
- "title": "None/Disabled",
295
+ "title": "None / Disabled",
296
296
  "enum": [
297
297
  0
298
298
  ]
@@ -326,7 +326,7 @@
326
326
  "description": "Select the operating mode for Cool, if this mode is not supported, it will be disabled.",
327
327
  "anyOf": [
328
328
  {
329
- "title": "None/Disabled",
329
+ "title": "None / Disabled",
330
330
  "enum": [
331
331
  0
332
332
  ]
@@ -360,7 +360,7 @@
360
360
  "description": "Select the operating mode for Auto, if this mode is not supported, it will be disabled.",
361
361
  "anyOf": [
362
362
  {
363
- "title": "None/Disabled",
363
+ "title": "None / Disabled",
364
364
  "enum": [
365
365
  0
366
366
  ]
@@ -462,7 +462,7 @@
462
462
  "description": "Select the characteristic type to be displayed in HomeKit app.",
463
463
  "anyOf": [
464
464
  {
465
- "title": "None/Disabled",
465
+ "title": "None / Disabled",
466
466
  "enum": [
467
467
  0
468
468
  ]
@@ -515,7 +515,7 @@
515
515
  "title": "Name",
516
516
  "type": "string",
517
517
  "default": "Preset",
518
- "description": "Your own name displayed in Homebridge/HomeKit app.",
518
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
519
519
  "condition": {
520
520
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
521
521
  }
@@ -524,7 +524,7 @@
524
524
  "title": "Prefix",
525
525
  "type": "boolean",
526
526
  "default": false,
527
- "description": "Enable/disable the accessory name as a prefix for preset name.",
527
+ "description": "Enable the accessory name as a prefix for preset name.",
528
528
  "condition": {
529
529
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
530
530
  }
@@ -555,7 +555,7 @@
555
555
  "description": "Select the characteristic type to be displayed in HomeKit app.",
556
556
  "anyOf": [
557
557
  {
558
- "title": "None/Disabled",
558
+ "title": "None / Disabled",
559
559
  "enum": [
560
560
  0
561
561
  ]
@@ -608,7 +608,7 @@
608
608
  "title": "Name",
609
609
  "type": "string",
610
610
  "default": "Schedule",
611
- "description": "Your own name displayed in Homebridge/HomeKit app.",
611
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
612
612
  "condition": {
613
613
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
614
614
  }
@@ -617,7 +617,7 @@
617
617
  "title": "Prefix",
618
618
  "type": "boolean",
619
619
  "default": false,
620
- "description": "Enable/disable the accessory name as a prefix for schedule name.",
620
+ "description": "Enable the accessory name as a prefix for schedule name.",
621
621
  "condition": {
622
622
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
623
623
  }
@@ -648,7 +648,7 @@
648
648
  "description": "Select the characteristic type to be displayed in HomeKit app.",
649
649
  "anyOf": [
650
650
  {
651
- "title": "None/Disabled",
651
+ "title": "None / Disabled",
652
652
  "enum": [
653
653
  0
654
654
  ]
@@ -701,7 +701,7 @@
701
701
  "title": "Name",
702
702
  "type": "string",
703
703
  "default": "Scene",
704
- "description": "Your own name displayed in Homebridge/HomeKit app.",
704
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
705
705
  "condition": {
706
706
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
707
707
  }
@@ -710,7 +710,7 @@
710
710
  "title": "Prefix",
711
711
  "type": "boolean",
712
712
  "default": false,
713
- "description": "Enable/disable the accessory name as a prefix for scene name.",
713
+ "description": "Enable the accessory name as a prefix for scene name.",
714
714
  "condition": {
715
715
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
716
716
  }
@@ -736,7 +736,7 @@
736
736
  "description": "Select the characteristic type to be displayed in HomeKit app.",
737
737
  "anyOf": [
738
738
  {
739
- "title": "None/Disabled",
739
+ "title": "None / Disabled",
740
740
  "enum": [
741
741
  0
742
742
  ]
@@ -793,7 +793,7 @@
793
793
  "description": "Function, VH - Vane Horizontal, VV - Vane Vertical.",
794
794
  "anyOf": [
795
795
  {
796
- "title": "POWER ON/OFF",
796
+ "title": "POWER ON / OFF",
797
797
  "enum": [
798
798
  0
799
799
  ]
@@ -931,7 +931,7 @@
931
931
  ]
932
932
  },
933
933
  {
934
- "title": "VH/VV CONTROLS HIDE",
934
+ "title": "VH / VV CONTROLS HIDE",
935
935
  "enum": [
936
936
  27
937
937
  ]
@@ -1011,7 +1011,7 @@
1011
1011
  "title": "Name",
1012
1012
  "type": "string",
1013
1013
  "placeholder": "Button name",
1014
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1014
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1015
1015
  "condition": {
1016
1016
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
1017
1017
  }
@@ -1020,7 +1020,7 @@
1020
1020
  "title": "Prefix",
1021
1021
  "type": "boolean",
1022
1022
  "default": false,
1023
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1023
+ "description": "Enable the accessory name as a prefix for button / sensor name.",
1024
1024
  "condition": {
1025
1025
  "functionBody": "return model.accounts[arrayIndices[0]].ataDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
1026
1026
  }
@@ -1075,13 +1075,13 @@
1075
1075
  "description": "Select accessory control type displayed in HomeKit app.",
1076
1076
  "anyOf": [
1077
1077
  {
1078
- "title": "None/Disabled",
1078
+ "title": "None / Disabled",
1079
1079
  "enum": [
1080
1080
  0
1081
1081
  ]
1082
1082
  },
1083
1083
  {
1084
- "title": "Heater/Cooler",
1084
+ "title": "Heater / Cooler",
1085
1085
  "enum": [
1086
1086
  1
1087
1087
  ]
@@ -1103,7 +1103,7 @@
1103
1103
  "description": "Select zone to hidde in HomeKit app, if present.",
1104
1104
  "anyOf": [
1105
1105
  {
1106
- "title": "None/Disabled",
1106
+ "title": "None / Disabled",
1107
1107
  "enum": [
1108
1108
  0
1109
1109
  ]
@@ -1310,7 +1310,7 @@
1310
1310
  "description": "Select the characteristic type to be displayed in HomeKit app.",
1311
1311
  "anyOf": [
1312
1312
  {
1313
- "title": "None/Disabled",
1313
+ "title": "None / Disabled",
1314
1314
  "enum": [
1315
1315
  0
1316
1316
  ]
@@ -1363,7 +1363,7 @@
1363
1363
  "title": "Name",
1364
1364
  "type": "string",
1365
1365
  "default": "Preset",
1366
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1366
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1367
1367
  "condition": {
1368
1368
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
1369
1369
  }
@@ -1372,7 +1372,7 @@
1372
1372
  "title": "Prefix",
1373
1373
  "type": "boolean",
1374
1374
  "default": false,
1375
- "description": "Enable/disable the accessory name as a prefix for preset name.",
1375
+ "description": "Enable the accessory name as a prefix for preset name.",
1376
1376
  "condition": {
1377
1377
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
1378
1378
  }
@@ -1403,7 +1403,7 @@
1403
1403
  "description": "Select the characteristic type to be displayed in HomeKit app.",
1404
1404
  "anyOf": [
1405
1405
  {
1406
- "title": "None/Disabled",
1406
+ "title": "None / Disabled",
1407
1407
  "enum": [
1408
1408
  0
1409
1409
  ]
@@ -1456,7 +1456,7 @@
1456
1456
  "title": "Name",
1457
1457
  "type": "string",
1458
1458
  "default": "Schedule",
1459
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1459
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1460
1460
  "condition": {
1461
1461
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
1462
1462
  }
@@ -1465,7 +1465,7 @@
1465
1465
  "title": "Prefix",
1466
1466
  "type": "boolean",
1467
1467
  "default": false,
1468
- "description": "Enable/disable the accessory name as a prefix for schedule name.",
1468
+ "description": "Enable the accessory name as a prefix for schedule name.",
1469
1469
  "condition": {
1470
1470
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
1471
1471
  }
@@ -1496,7 +1496,7 @@
1496
1496
  "description": "Select the characteristic type to be displayed in HomeKit app.",
1497
1497
  "anyOf": [
1498
1498
  {
1499
- "title": "None/Disabled",
1499
+ "title": "None / Disabled",
1500
1500
  "enum": [
1501
1501
  0
1502
1502
  ]
@@ -1549,7 +1549,7 @@
1549
1549
  "title": "Name",
1550
1550
  "type": "string",
1551
1551
  "default": "Scene",
1552
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1552
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1553
1553
  "condition": {
1554
1554
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
1555
1555
  }
@@ -1558,7 +1558,7 @@
1558
1558
  "title": "Prefix",
1559
1559
  "type": "boolean",
1560
1560
  "default": false,
1561
- "description": "Enable/disable the accessory name as a prefix for scene name.",
1561
+ "description": "Enable the accessory name as a prefix for scene name.",
1562
1562
  "condition": {
1563
1563
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
1564
1564
  }
@@ -1584,7 +1584,7 @@
1584
1584
  "description": "Select the characteristic type to be displayed in HomeKit app.",
1585
1585
  "anyOf": [
1586
1586
  {
1587
- "title": "None/Disabled",
1587
+ "title": "None / Disabled",
1588
1588
  "enum": [
1589
1589
  0
1590
1590
  ]
@@ -1641,7 +1641,7 @@
1641
1641
  "description": "Select the function.",
1642
1642
  "anyOf": [
1643
1643
  {
1644
- "title": "POWER ON/OFF",
1644
+ "title": "POWER ON / OFF",
1645
1645
  "enum": [
1646
1646
  0
1647
1647
  ]
@@ -1781,7 +1781,7 @@
1781
1781
  "title": "Name",
1782
1782
  "type": "string",
1783
1783
  "placeholder": "Button name",
1784
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1784
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1785
1785
  "condition": {
1786
1786
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
1787
1787
  }
@@ -1790,7 +1790,7 @@
1790
1790
  "title": "Prefix",
1791
1791
  "type": "boolean",
1792
1792
  "default": false,
1793
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
1793
+ "description": "Enable the accessory name as a prefix for button / sensor name.",
1794
1794
  "condition": {
1795
1795
  "functionBody": "return model.accounts[arrayIndices[0]].atwDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
1796
1796
  }
@@ -1843,13 +1843,13 @@
1843
1843
  "description": "Select accessory control type displayed in HomeKit app.",
1844
1844
  "anyOf": [
1845
1845
  {
1846
- "title": "None/Disabled",
1846
+ "title": "None / Disabled",
1847
1847
  "enum": [
1848
1848
  0
1849
1849
  ]
1850
1850
  },
1851
1851
  {
1852
- "title": "Heater/Cooler",
1852
+ "title": "Heater / Cooler",
1853
1853
  "enum": [
1854
1854
  1
1855
1855
  ]
@@ -1928,7 +1928,7 @@
1928
1928
  "description": "Select the characteristic type to be displayed in HomeKit app.",
1929
1929
  "anyOf": [
1930
1930
  {
1931
- "title": "None/Disabled",
1931
+ "title": "None / Disabled",
1932
1932
  "enum": [
1933
1933
  0
1934
1934
  ]
@@ -1981,7 +1981,7 @@
1981
1981
  "title": "Name",
1982
1982
  "type": "string",
1983
1983
  "default": "Preset",
1984
- "description": "Your own name displayed in Homebridge/HomeKit app.",
1984
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
1985
1985
  "condition": {
1986
1986
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
1987
1987
  }
@@ -1990,7 +1990,7 @@
1990
1990
  "title": "Prefix",
1991
1991
  "type": "boolean",
1992
1992
  "default": false,
1993
- "description": "Enable/disable the accessory name as a prefix for preset name.",
1993
+ "description": "Enable the accessory name as a prefix for preset name.",
1994
1994
  "condition": {
1995
1995
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].presets[arrayIndices[2]].displayType > 0;"
1996
1996
  }
@@ -2021,7 +2021,7 @@
2021
2021
  "description": "Select the characteristic type to be displayed in HomeKit app.",
2022
2022
  "anyOf": [
2023
2023
  {
2024
- "title": "None/Disabled",
2024
+ "title": "None / Disabled",
2025
2025
  "enum": [
2026
2026
  0
2027
2027
  ]
@@ -2074,7 +2074,7 @@
2074
2074
  "title": "Name",
2075
2075
  "type": "string",
2076
2076
  "default": "Preset",
2077
- "description": "Your own name displayed in Homebridge/HomeKit app.",
2077
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
2078
2078
  "condition": {
2079
2079
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
2080
2080
  }
@@ -2083,7 +2083,7 @@
2083
2083
  "title": "Prefix",
2084
2084
  "type": "boolean",
2085
2085
  "default": false,
2086
- "description": "Enable/disable the accessory name as a prefix for schedule name.",
2086
+ "description": "Enable the accessory name as a prefix for schedule name.",
2087
2087
  "condition": {
2088
2088
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].schedules[arrayIndices[2]].displayType > 0;"
2089
2089
  }
@@ -2114,7 +2114,7 @@
2114
2114
  "description": "Select the characteristic type to be displayed in HomeKit app.",
2115
2115
  "anyOf": [
2116
2116
  {
2117
- "title": "None/Disabled",
2117
+ "title": "None / Disabled",
2118
2118
  "enum": [
2119
2119
  0
2120
2120
  ]
@@ -2167,7 +2167,7 @@
2167
2167
  "title": "Name",
2168
2168
  "type": "string",
2169
2169
  "default": "Scene",
2170
- "description": "Your own name displayed in Homebridge/HomeKit app.",
2170
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
2171
2171
  "condition": {
2172
2172
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
2173
2173
  }
@@ -2176,7 +2176,7 @@
2176
2176
  "title": "Prefix",
2177
2177
  "type": "boolean",
2178
2178
  "default": false,
2179
- "description": "Enable/disable the accessory name as a prefix for scene name.",
2179
+ "description": "Enable the accessory name as a prefix for scene name.",
2180
2180
  "condition": {
2181
2181
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].scenes[arrayIndices[2]].displayType > 0;"
2182
2182
  }
@@ -2202,7 +2202,7 @@
2202
2202
  "description": "Select the characteristic type to be displayed in HomeKit app.",
2203
2203
  "anyOf": [
2204
2204
  {
2205
- "title": "None/Disabled",
2205
+ "title": "None / Disabled",
2206
2206
  "enum": [
2207
2207
  0
2208
2208
  ]
@@ -2259,7 +2259,7 @@
2259
2259
  "description": "Select the function.",
2260
2260
  "anyOf": [
2261
2261
  {
2262
- "title": "POWER ON/OFF",
2262
+ "title": "POWER ON / OFF",
2263
2263
  "enum": [
2264
2264
  0
2265
2265
  ]
@@ -2351,7 +2351,7 @@
2351
2351
  "title": "Name",
2352
2352
  "type": "string",
2353
2353
  "placeholder": "Button name",
2354
- "description": "Your own name displayed in Homebridge/HomeKit app.",
2354
+ "description": "Your own name displayed in Homebridge / HomeKit app.",
2355
2355
  "condition": {
2356
2356
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
2357
2357
  }
@@ -2360,7 +2360,7 @@
2360
2360
  "title": "Prefix",
2361
2361
  "type": "boolean",
2362
2362
  "default": false,
2363
- "description": "Enable/disable the accessory name as a prefix for button/sensor name.",
2363
+ "description": "Enable the accessory name as a prefix for button / sensor name.",
2364
2364
  "condition": {
2365
2365
  "functionBody": "return model.accounts[arrayIndices[0]].ervDevices[arrayIndices[1]].buttonsSensors[arrayIndices[2]].displayType > 0;"
2366
2366
  }
@@ -2448,11 +2448,11 @@
2448
2448
  "description": "This enable MQTT client."
2449
2449
  },
2450
2450
  "host": {
2451
- "title": "IP/Hostname",
2451
+ "title": "IP / Hostname",
2452
2452
  "type": "string",
2453
2453
  "placeholder": "ip or hostname",
2454
2454
  "format": "hostname",
2455
- "description": "Here set the IP/Hostname of MQTT Broker.",
2455
+ "description": "Here set the IP / Hostname of MQTT Broker.",
2456
2456
  "condition": {
2457
2457
  "functionBody": "return model.accounts[arrayIndices].mqtt.enable === true;"
2458
2458
  }
@@ -3050,7 +3050,7 @@
3050
3050
  {
3051
3051
  "key": "accounts[].ervDevices[].buttonsSensors",
3052
3052
  "type": "tabarray",
3053
- "title": "{{ value.name || 'button/sensor' }}",
3053
+ "title": "{{ value.name || 'button / sensor' }}",
3054
3054
  "items": [
3055
3055
  "accounts[].ervDevices[].buttonsSensors[].displayType",
3056
3056
  "accounts[].ervDevices[].buttonsSensors[].mode",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.4.1-beta.5",
4
+ "version": "4.4.1-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",
@@ -39,7 +39,7 @@
39
39
  "mqtt": "^5.14.1",
40
40
  "axios": "^1.13.2",
41
41
  "express": "^5.2.1",
42
- "puppeteer": "^24.32.1",
42
+ "puppeteer": "^24.33.0",
43
43
  "ws": "^8.18.3"
44
44
  },
45
45
  "keywords": [
package/src/deviceata.js CHANGED
@@ -65,7 +65,6 @@ class DeviceAta extends EventEmitter {
65
65
 
66
66
  //presets configured
67
67
  for (const preset of this.presets) {
68
- preset.name = preset.name;
69
68
  preset.serviceType = serviceType[preset.displayType];
70
69
  preset.characteristicType = characteristicType[preset.displayType];
71
70
  preset.state = false;
@@ -74,7 +73,6 @@ class DeviceAta extends EventEmitter {
74
73
 
75
74
  //schedules configured
76
75
  for (const schedule of this.schedules) {
77
- schedule.name = schedule.name;
78
76
  schedule.serviceType = serviceType[schedule.displayType];
79
77
  schedule.characteristicType = characteristicType[schedule.displayType];
80
78
  schedule.state = false;
@@ -82,7 +80,6 @@ class DeviceAta extends EventEmitter {
82
80
 
83
81
  //scenes configured
84
82
  for (const scene of this.scenes) {
85
- scene.name = scene.name;
86
83
  scene.serviceType = serviceType[scene.displayType];
87
84
  scene.characteristicType = characteristicType[scene.displayType];
88
85
  scene.state = false;
@@ -90,7 +87,6 @@ class DeviceAta extends EventEmitter {
90
87
 
91
88
  //buttons configured
92
89
  for (const button of this.buttons) {
93
- button.name = button.name;
94
90
  button.serviceType = serviceType[button.displayType];
95
91
  button.characteristicType = characteristicType[button.displayType];
96
92
  button.state = false;
package/src/deviceatw.js CHANGED
@@ -69,7 +69,6 @@ class DeviceAtw extends EventEmitter {
69
69
 
70
70
  //presets configured
71
71
  for (const preset of this.presets) {
72
- preset.name = preset.name;
73
72
  preset.serviceType = serviceType[preset.displayType];
74
73
  preset.characteristicType = characteristicType[preset.displayType];
75
74
  preset.state = false;
@@ -78,7 +77,6 @@ class DeviceAtw extends EventEmitter {
78
77
 
79
78
  //schedules configured
80
79
  for (const schedule of this.schedules) {
81
- schedule.name = schedule.name;
82
80
  schedule.serviceType = serviceType[schedule.displayType];
83
81
  schedule.characteristicType = characteristicType[schedule.displayType];
84
82
  schedule.state = false;
@@ -86,7 +84,6 @@ class DeviceAtw extends EventEmitter {
86
84
 
87
85
  //scenes configured
88
86
  for (const scene of this.scenes) {
89
- scene.name = scene.name;
90
87
  scene.serviceType = serviceType[scene.displayType];
91
88
  scene.characteristicType = characteristicType[scene.displayType];
92
89
  scene.state = false;
@@ -94,7 +91,6 @@ class DeviceAtw extends EventEmitter {
94
91
 
95
92
  //buttons configured
96
93
  for (const button of this.buttons) {
97
- button.name = button.name;
98
94
  button.serviceType = serviceType[button.displayType];
99
95
  button.characteristicType = characteristicType[button.displayType];
100
96
  button.state = false;
package/src/deviceerv.js CHANGED
@@ -61,7 +61,6 @@ class DeviceErv extends EventEmitter {
61
61
 
62
62
  //presets configured
63
63
  for (const preset of this.presets) {
64
- preset.name = preset.name;
65
64
  preset.serviceType = serviceType[preset.displayType];
66
65
  preset.characteristicType = characteristicType[preset.displayType];
67
66
  preset.state = false;
@@ -70,7 +69,6 @@ class DeviceErv extends EventEmitter {
70
69
 
71
70
  //schedules configured
72
71
  for (const schedule of this.schedules) {
73
- schedule.name = schedule.name;
74
72
  schedule.serviceType = serviceType[schedule.displayType];
75
73
  schedule.characteristicType = characteristicType[schedule.displayType];
76
74
  schedule.state = false;
@@ -78,7 +76,6 @@ class DeviceErv extends EventEmitter {
78
76
 
79
77
  //scenes configured
80
78
  for (const scene of this.scenes) {
81
- scene.name = scene.name;
82
79
  scene.serviceType = serviceType[scene.displayType];
83
80
  scene.characteristicType = characteristicType[scene.displayType];
84
81
  scene.state = false;
@@ -86,7 +83,6 @@ class DeviceErv extends EventEmitter {
86
83
 
87
84
  //buttons configured
88
85
  for (const button of this.buttons) {
89
- button.name = button.name;
90
86
  button.serviceType = serviceType[button.displayType];
91
87
  button.characteristicType = characteristicType[button.displayType];
92
88
  button.state = false;
@@ -1,4 +1,3 @@
1
- import fs from 'fs';
2
1
  import axios from 'axios';
3
2
  import WebSocket from 'ws';
4
3
  import { exec } from 'child_process';
@@ -17,7 +16,6 @@ class MelCloudHome extends EventEmitter {
17
16
  this.user = account.user;
18
17
  this.passwd = account.passwd;
19
18
  this.language = account.language;
20
- this.logSuccess = account.log?.success;
21
19
  this.logWarn = account.log?.warn;
22
20
  this.logError = account.log?.error;
23
21
  this.logDebug = account.log?.debug;
@@ -326,7 +324,7 @@ class MelCloudHome extends EventEmitter {
326
324
  })
327
325
  .on('message', (message) => {
328
326
  const parsedMessage = JSON.parse(message);
329
- if (this.logDebug) this.emit('debug', `Incoming message: ${JSON.stringify(parsedMessage, null, 2)}`);
327
+ if (!this.logDebug) this.emit('debug', `Incoming message: ${JSON.stringify(parsedMessage, null, 2)}`);
330
328
  if (parsedMessage.message === 'Forbidden') return;
331
329
 
332
330
  this.emit('webSocket', parsedMessage);