homebridge-melcloud-control 4.3.0 → 4.3.2-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/README.md +3 -0
- package/package.json +2 -2
- package/src/melcloudata.js +2 -1
package/README.md
CHANGED
|
@@ -90,6 +90,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
90
90
|
* Shedules control.
|
|
91
91
|
* Shedule active.
|
|
92
92
|
* Scene control.
|
|
93
|
+
* In standby.
|
|
93
94
|
* Error.
|
|
94
95
|
* Heat Pump:
|
|
95
96
|
* Heater Cooler:
|
|
@@ -146,6 +147,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
146
147
|
* Shedules control.
|
|
147
148
|
* Shedule active.
|
|
148
149
|
* Scene control.
|
|
150
|
+
* In standby.
|
|
149
151
|
* Error.
|
|
150
152
|
* Energy Recovery Ventilation Lossnay:
|
|
151
153
|
* Heater Cooler:
|
|
@@ -183,6 +185,7 @@ Homebridge plugin for Air Conditioner, Heat Pump and Energy Recovery Ventilation
|
|
|
183
185
|
* Shedules control.
|
|
184
186
|
* Shedule active.
|
|
185
187
|
* Scene control.
|
|
188
|
+
* In standby.
|
|
186
189
|
* Error.
|
|
187
190
|
|
|
188
191
|
### HOME app current device mode display
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.3.0",
|
|
4
|
+
"version": "4.3.2-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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"async-mqtt": "^2.6.3",
|
|
40
40
|
"axios": "^1.13.2",
|
|
41
41
|
"express": "^5.1.0",
|
|
42
|
-
"puppeteer": "^24.
|
|
42
|
+
"puppeteer": "^24.31.0",
|
|
43
43
|
"ws": "^8.18.3"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
package/src/melcloudata.js
CHANGED
|
@@ -93,6 +93,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
93
93
|
deviceData.Device.DefaultHeatingSetTemperature = temps?.defaultHeatingSetTemperature ?? 20;
|
|
94
94
|
deviceData.Device.DefaultCoolingSetTemperature = temps?.defaultCoolingSetTemperature ?? 24;
|
|
95
95
|
|
|
96
|
+
//web cocket connection
|
|
96
97
|
if (!this.connecting && !this.socketConnected) {
|
|
97
98
|
this.connecting = true;
|
|
98
99
|
|
|
@@ -116,7 +117,7 @@ class MelCloudAta extends EventEmitter {
|
|
|
116
117
|
// heartbeat
|
|
117
118
|
this.heartbeat = setInterval(() => {
|
|
118
119
|
if (socket.readyState === socket.OPEN) {
|
|
119
|
-
if (
|
|
120
|
+
if (this.logDebug) this.emit('debug', `Socket send heartbeat`);
|
|
120
121
|
socket.ping();
|
|
121
122
|
}
|
|
122
123
|
}, 30000);
|