homebridge-melcloud-control 4.5.5-beta.9 → 4.5.6-beta.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 +2 -1
- package/homebridge-ui/public/index.html +0 -1
- package/package.json +2 -2
- package/src/deviceata.js +2 -2
- package/src/deviceatw.js +2 -2
- package/src/deviceerv.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -22,11 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
22
22
|
|
|
23
23
|
- Do not use Homebridge UI > v5.5.0 because of break config.json
|
|
24
24
|
|
|
25
|
-
# [4.5.5] - (
|
|
25
|
+
# [4.5.5] - (21.12.2025)
|
|
26
26
|
|
|
27
27
|
## Changes
|
|
28
28
|
|
|
29
29
|
- fix characteristics warning in Thermostat mode if frost protection active
|
|
30
|
+
- fix device type shows undefined
|
|
30
31
|
- config schema updated
|
|
31
32
|
- redme updated
|
|
32
33
|
- cleanup
|
|
@@ -404,7 +404,6 @@
|
|
|
404
404
|
|
|
405
405
|
await homebridge.updatePluginConfig(pluginConfig);
|
|
406
406
|
await homebridge.savePluginConfig(pluginConfig);
|
|
407
|
-
homebridge.hideSpinner();
|
|
408
407
|
} catch (error) {
|
|
409
408
|
updateInfo('info', `Prepare config error`, "yellow");
|
|
410
409
|
updateInfo('info1', `Error: ${JSON.stringify(error)}`, "red");
|
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.
|
|
4
|
+
"version": "4.5.6-beta.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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"homebridge": "^1.8.0 || ^2.0.0 || ^2.0.0-beta.
|
|
34
|
+
"homebridge": "^1.8.0 || ^2.0.0 || ^2.0.0-beta.65 || ^2.0.0-alpha.60",
|
|
35
35
|
"node": "^20 || ^22 || ^24 || ^25"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
package/src/deviceata.js
CHANGED
|
@@ -3,7 +3,7 @@ import MelCloudAta from './melcloudata.js';
|
|
|
3
3
|
import RestFul from './restful.js';
|
|
4
4
|
import Mqtt from './mqtt.js';
|
|
5
5
|
import Functions from './functions.js';
|
|
6
|
-
import { TemperatureDisplayUnits, AirConditioner } from './constants.js';
|
|
6
|
+
import { TemperatureDisplayUnits, AirConditioner, DeviceType } from './constants.js';
|
|
7
7
|
let Accessory, Characteristic, Service, Categories, AccessoryUUID;
|
|
8
8
|
|
|
9
9
|
class DeviceAta extends EventEmitter {
|
|
@@ -31,7 +31,7 @@ class DeviceAta extends EventEmitter {
|
|
|
31
31
|
this.device = device;
|
|
32
32
|
this.deviceId = device.id;
|
|
33
33
|
this.deviceName = device.name;
|
|
34
|
-
this.deviceTypeString = device.
|
|
34
|
+
this.deviceTypeString = DeviceType[device.type];
|
|
35
35
|
this.displayType = device.displayType;
|
|
36
36
|
this.heatDryFanMode = device.heatDryFanMode || 1; //NONE, HEAT, DRY, FAN
|
|
37
37
|
this.coolDryFanMode = device.coolDryFanMode || 1; //NONE, COOL, DRY, FAN
|
package/src/deviceatw.js
CHANGED
|
@@ -3,7 +3,7 @@ import MelCloudAtw from './melcloudatw.js';
|
|
|
3
3
|
import RestFul from './restful.js';
|
|
4
4
|
import Mqtt from './mqtt.js';
|
|
5
5
|
import Functions from './functions.js';
|
|
6
|
-
import { TemperatureDisplayUnits, HeatPump } from './constants.js';
|
|
6
|
+
import { TemperatureDisplayUnits, HeatPump, DeviceType } from './constants.js';
|
|
7
7
|
let Accessory, Characteristic, Service, Categories, AccessoryUUID;
|
|
8
8
|
|
|
9
9
|
class DeviceAtw extends EventEmitter {
|
|
@@ -31,7 +31,7 @@ class DeviceAtw extends EventEmitter {
|
|
|
31
31
|
this.device = device;
|
|
32
32
|
this.deviceId = device.id;
|
|
33
33
|
this.deviceName = device.name;
|
|
34
|
-
this.deviceTypeString = device.
|
|
34
|
+
this.deviceTypeString = DeviceType[device.type];
|
|
35
35
|
this.displayType = device.displayType;
|
|
36
36
|
this.hideZone = device.hideZone;
|
|
37
37
|
this.temperatureSensor = device.temperatureSensor || false;
|
package/src/deviceerv.js
CHANGED
|
@@ -3,7 +3,7 @@ import MelCloudErv from './melclouderv.js';
|
|
|
3
3
|
import RestFul from './restful.js';
|
|
4
4
|
import Mqtt from './mqtt.js';
|
|
5
5
|
import Functions from './functions.js';
|
|
6
|
-
import { TemperatureDisplayUnits, Ventilation } from './constants.js';
|
|
6
|
+
import { TemperatureDisplayUnits, Ventilation, DeviceType } from './constants.js';
|
|
7
7
|
let Accessory, Characteristic, Service, Categories, AccessoryUUID;
|
|
8
8
|
|
|
9
9
|
class DeviceErv extends EventEmitter {
|
|
@@ -31,7 +31,7 @@ class DeviceErv extends EventEmitter {
|
|
|
31
31
|
this.device = device;
|
|
32
32
|
this.deviceId = device.id;
|
|
33
33
|
this.deviceName = device.name;
|
|
34
|
-
this.deviceTypeString = device.
|
|
34
|
+
this.deviceTypeString = DeviceType[device.type];
|
|
35
35
|
this.displayType = device.displayType;
|
|
36
36
|
this.temperatureSensor = device.temperatureSensor || false;
|
|
37
37
|
this.temperatureOutdoorSensor = device.temperatureOutdoorSensor || false;
|