homebridge-melcloud-control 3.7.4 → 3.7.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 CHANGED
@@ -16,6 +16,13 @@ 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.7.5] - (25.03.2025)
20
+
21
+ ## Changes
22
+
23
+ - fix[#192](https://github.com/grzegorz914/homebridge-melcloud-control/issues/192), thanks @helloabunai
24
+
25
+
19
26
  ## [3.7.3] - (15.03.2025)
20
27
 
21
28
  ## 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.7.4",
4
+ "version": "3.7.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",
@@ -35,7 +35,7 @@
35
35
  "node": "^18.20.4 || ^20.15.1 || ^22.7.0 || ^23.2.0"
36
36
  },
37
37
  "dependencies": {
38
- "@homebridge/plugin-ui-utils": "^2.0.1",
38
+ "@homebridge/plugin-ui-utils": "^2.0.2",
39
39
  "async-mqtt": "^2.6.3",
40
40
  "axios": "^1.8.4",
41
41
  "express": "^4.21.2"
package/src/deviceata.js CHANGED
@@ -106,7 +106,7 @@ class DeviceAta extends EventEmitter {
106
106
  if (restFulEnabled) {
107
107
  if (!this.restFulConnected) {
108
108
  this.restFul1 = new RestFul({
109
- port: this.deviceId.slice(-4),
109
+ port: this.deviceId.toString().slice(-4).replace(/^0/, '9'),
110
110
  debug: this.restFul.debug || false
111
111
  });
112
112
 
package/src/deviceatw.js CHANGED
@@ -110,7 +110,7 @@ class DeviceAtw extends EventEmitter {
110
110
  if (restFulEnabled) {
111
111
  if (!this.restFulConnected) {
112
112
  this.restFul1 = new RestFul({
113
- port: this.deviceId.slice(-4),
113
+ port: this.deviceId.toString().slice(-4).replace(/^0/, '9'),
114
114
  debug: this.restFul.debug || false
115
115
  });
116
116
 
package/src/deviceerv.js CHANGED
@@ -104,7 +104,7 @@ class DeviceErv extends EventEmitter {
104
104
  if (restFulEnabled) {
105
105
  if (!this.restFulConnected) {
106
106
  this.restFul1 = new RestFul({
107
- port: this.deviceId.slice(-4),
107
+ port: this.deviceId.toString().slice(-4).replace(/^0/, '9'),
108
108
  debug: this.restFul.debug || false
109
109
  });
110
110