homebridge-melcloud-control 3.8.5-beta.5 → 3.8.6
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 +14 -0
- package/package.json +1 -1
- package/src/deviceatw.js +0 -1
- package/src/deviceerv.js +0 -1
- package/src/melcloudatw.js +8 -8
- package/src/melclouderv.js +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- do not configure it manually, always using Config UI X
|
|
17
17
|
- required Homebridge v2.0.0 and above
|
|
18
18
|
|
|
19
|
+
## [3.8.6] - (24.05.2025)
|
|
20
|
+
|
|
21
|
+
## Changes
|
|
22
|
+
|
|
23
|
+
- fix [#200](https://github.com/grzegorz914/homebridge-melcloud-control/issues/200)
|
|
24
|
+
- cleanup
|
|
25
|
+
|
|
26
|
+
## [3.8.5] - (24.05.2025)
|
|
27
|
+
|
|
28
|
+
## Changes
|
|
29
|
+
|
|
30
|
+
- fix [#199](https://github.com/grzegorz914/homebridge-melcloud-control/issues/199)
|
|
31
|
+
- cleanup
|
|
32
|
+
|
|
19
33
|
## [3.8.3] - (20.05.2025)
|
|
20
34
|
|
|
21
35
|
## Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "3.8.
|
|
4
|
+
"version": "3.8.6",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|
package/src/deviceatw.js
CHANGED
|
@@ -32,7 +32,6 @@ class DeviceAtw extends EventEmitter {
|
|
|
32
32
|
this.disableLogInfo = account.disableLogInfo || false;
|
|
33
33
|
this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
|
|
34
34
|
this.enableDebugMode = account.enableDebugMode || false;
|
|
35
|
-
this.accountInfo = accountInfo;
|
|
36
35
|
this.contextKey = contextKey;
|
|
37
36
|
this.accountName = accountName;
|
|
38
37
|
this.deviceId = deviceId;
|
package/src/deviceerv.js
CHANGED
|
@@ -25,7 +25,6 @@ class DeviceErv extends EventEmitter {
|
|
|
25
25
|
this.disableLogInfo = account.disableLogInfo || false;
|
|
26
26
|
this.disableLogDeviceInfo = account.disableLogDeviceInfo || false;
|
|
27
27
|
this.enableDebugMode = account.enableDebugMode || false;
|
|
28
|
-
this.accountInfo = accountInfo;
|
|
29
28
|
this.contextKey = contextKey;
|
|
30
29
|
this.accountName = accountName;
|
|
31
30
|
this.deviceId = deviceId;
|
package/src/melcloudatw.js
CHANGED
|
@@ -397,14 +397,6 @@ class MelCloudAtw extends EventEmitter {
|
|
|
397
397
|
ProhibitHotWater: prohibitHotWater
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
//check state changes
|
|
401
|
-
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
402
|
-
if (deviceDataHasNotChanged) {
|
|
403
|
-
const debug = this.enableDebugMode ? this.emit('debug', `Device state not changed`) : false;
|
|
404
|
-
return;
|
|
405
|
-
}
|
|
406
|
-
this.deviceState = deviceState;
|
|
407
|
-
|
|
408
400
|
//restFul
|
|
409
401
|
this.emit('restFul', 'info', deviceData);
|
|
410
402
|
this.emit('restFul', 'state', deviceData.Device);
|
|
@@ -413,6 +405,14 @@ class MelCloudAtw extends EventEmitter {
|
|
|
413
405
|
this.emit('mqtt', 'Info', deviceData);
|
|
414
406
|
this.emit('mqtt', 'State', deviceData.Device);
|
|
415
407
|
|
|
408
|
+
//check state changes
|
|
409
|
+
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
410
|
+
if (deviceDataHasNotChanged) {
|
|
411
|
+
const debug = this.enableDebugMode ? this.emit('debug', `Device state not changed`) : false;
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
this.deviceState = deviceState;
|
|
415
|
+
|
|
416
416
|
//emit info
|
|
417
417
|
this.emit('deviceInfo', manufacturer, modelIndoor, modelOutdoor, serialNumber, firmwareAppVersion, hasHotWaterTank, hasZone2);
|
|
418
418
|
|
package/src/melclouderv.js
CHANGED
|
@@ -321,14 +321,6 @@ class MelCloudErv extends EventEmitter {
|
|
|
321
321
|
HideOutdoorTemperature: hideOutdoorTemperature
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
//check state changes
|
|
325
|
-
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
326
|
-
if (deviceDataHasNotChanged) {
|
|
327
|
-
const debug = this.enableDebugMode ? this.emit('debug', `Device state not changed`) : false;
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
this.deviceState = deviceState;
|
|
331
|
-
|
|
332
324
|
//restFul
|
|
333
325
|
this.emit('restFul', 'info', deviceData);
|
|
334
326
|
this.emit('restFul', 'state', deviceData.Device);
|
|
@@ -337,6 +329,14 @@ class MelCloudErv extends EventEmitter {
|
|
|
337
329
|
this.emit('mqtt', 'Info', deviceData);
|
|
338
330
|
this.emit('mqtt', 'State', deviceData.Device);
|
|
339
331
|
|
|
332
|
+
//check state changes
|
|
333
|
+
const deviceDataHasNotChanged = JSON.stringify(deviceState) === JSON.stringify(this.deviceState);
|
|
334
|
+
if (deviceDataHasNotChanged) {
|
|
335
|
+
const debug = this.enableDebugMode ? this.emit('debug', `Device state not changed`) : false;
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
this.deviceState = deviceState;
|
|
339
|
+
|
|
340
340
|
//emit info
|
|
341
341
|
this.emit('deviceInfo', manufacturer, modelIndoor, modelOutdoor, serialNumber, firmwareAppVersion);
|
|
342
342
|
|