homebridge-melcloud-control 4.5.9-beta.7 → 4.6.0

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/CHANGELOG.md CHANGED
@@ -17,10 +17,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
  - required Homebridge v2.0.0 and above
18
18
  - v4 Added support for MELCloud Home.
19
19
  - v4.1 Changed accessory category for ATA devices, required add accessory to KomeKit again
20
+ - v4.6 Added support for Homebridge UI >= v5.13.0
20
21
 
21
22
  ## Warning
22
23
 
23
- - Do not use Homebridge UI > v5.5.0 because of break config.json
24
+ - For plugin < v4.6.0 use Homebridge UI <= v5.5.0
25
+ - For plugin >= v4.6.0 use Homebridge UI >= v5.13.0
24
26
 
25
27
  # [4.6.0] - (28.12.2025)
26
28
 
package/README.md CHANGED
@@ -22,7 +22,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
22
22
  | Package | Installation | Role | Required |
23
23
  | --- | --- | --- | --- |
24
24
  | [Homebridge v2.0.0](https://github.com/homebridge/homebridge) | [Homebridge Wiki](https://github.com/homebridge/homebridge/wiki) | HomeKit Bridge | Required |
25
- | [Homebridge UI <= v5.5.0](https://github.com/homebridge/homebridge-config-ui-x) | [Homebridge UI Wiki](https://github.com/homebridge/homebridge-config-ui-x/wiki) | Homebridge User Interface | Required |
25
+ | [Homebridge UI](https://github.com/homebridge/homebridge-config-ui-x) | [Homebridge UI Wiki](https://github.com/homebridge/homebridge-config-ui-x/wiki) | Homebridge User Interface | Required plugin |
26
26
  | [MELCloud](https://github.com/grzegorz914/homebridge-melcloud-control) | [Plug-In Wiki](https://github.com/grzegorz914/homebridge-melcloud-control/wiki) | Plug-In | Required |
27
27
 
28
28
  ### About The Plugin
@@ -226,7 +226,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
226
226
  ### Configuration
227
227
 
228
228
  * Run this plugin as a [Child Bridge](https://github.com/homebridge/homebridge/wiki/Child-Bridges) (Highly Recommended), this prevent crash Homebridge if plugin crashes.
229
- * Install and use [Homebridge UI <= v5.5.0](https://github.com/homebridge/homebridge-config-ui-x/wiki) to configure this plugin.
229
+ * Install and use [Homebridge UI](https://github.com/homebridge/homebridge-config-ui-x/wiki) to configure this plugin.
230
230
  * The `sample-config.json` can be edited and used as an alternative.
231
231
 
232
232
  <p align="center">
@@ -322,7 +322,9 @@
322
322
  if (!presetIds.has(presetId)) {
323
323
  const presetObj = {
324
324
  id: presetId,
325
- name: preset.NumberDescription || `Preset ${index}`
325
+ displayType: 0,
326
+ name: preset.NumberDescription || `Preset ${index}`,
327
+ namePrefix: false
326
328
  };
327
329
  deviceInConfig.presets.push(presetObj);
328
330
  newPresets.push(presetObj);
@@ -342,7 +344,9 @@
342
344
  if (!scheduleIds.has(scheduleId)) {
343
345
  const scheduleObj = {
344
346
  id: scheduleId,
345
- name: `Schedule ${index}`
347
+ displayType: 0,
348
+ name: `Schedule ${index}`,
349
+ namePrefix: false
346
350
  };
347
351
  deviceInConfig.schedules.push(scheduleObj);
348
352
  newSchedules.push(scheduleObj);
@@ -359,7 +363,9 @@
359
363
  if (!sceneIds.has(sceneId)) {
360
364
  const sceneObj = {
361
365
  id: sceneId,
362
- name: scene.Name || `Scene ${index}`
366
+ displayType: 0,
367
+ name: scene.Name || `Scene ${index}`,
368
+ namePrefix: false
363
369
  };
364
370
  deviceInConfig.scenes.push(sceneObj);
365
371
  newScenes.push(sceneObj);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.5.9-beta.7",
4
+ "version": "4.6.0",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -330,7 +330,7 @@ class MelCloudHome extends EventEmitter {
330
330
  })
331
331
  .on('message', (message) => {
332
332
  const parsedMessage = JSON.parse(message);
333
- if (!this.logDebug) this.emit('debug', `Incoming message: ${JSON.stringify(parsedMessage, null, 2)}`);
333
+ if (this.logDebug) this.emit('debug', `Incoming message: ${JSON.stringify(parsedMessage, null, 2)}`);
334
334
  if (parsedMessage.message === 'Forbidden') return;
335
335
 
336
336
  this.emit('webSocket', parsedMessage);