homebridge-melcloud-control 4.10.2 → 4.10.4
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/package.json +4 -4
- package/src/melcloudhome.js +1 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.10.
|
|
4
|
+
"version": "4.10.4",
|
|
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,14 +31,14 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"homebridge": "^1.8.0 || ^2.0.0
|
|
34
|
+
"homebridge": "^1.8.0 || ^2.0.0",
|
|
35
35
|
"node": "^20 || ^22 || ^24 || ^25"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@homebridge/plugin-ui-utils": "^2.2.3",
|
|
39
39
|
"mqtt": "^5.15.1",
|
|
40
|
-
"axios": "^1.
|
|
41
|
-
"axios-cookiejar-support": "^
|
|
40
|
+
"axios": "^1.16.0",
|
|
41
|
+
"axios-cookiejar-support": "^7.0.0",
|
|
42
42
|
"tough-cookie": "^6.0.1",
|
|
43
43
|
"express": "^5.2.1",
|
|
44
44
|
"ws": "^8.20.0"
|
package/src/melcloudhome.js
CHANGED
|
@@ -128,6 +128,7 @@ class MelCloudHome extends EventEmitter {
|
|
|
128
128
|
this.reconnectTimer = null;
|
|
129
129
|
}
|
|
130
130
|
if (this.logSuccess && this.pluginStart) this.emit('success', 'WebSocket connected');
|
|
131
|
+
this.pluginStart = false; // only log the first successful connection after plugin start
|
|
131
132
|
|
|
132
133
|
// Send a ping every 30 s to keep the connection alive
|
|
133
134
|
this.heartbeat = setInterval(() => {
|