homebridge-melcloud-control 4.7.7 → 4.7.8
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 +7 -0
- package/index.js +3 -4
- package/package.json +1 -1
- package/src/melcloudhome.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
24
24
|
- For plugin < v4.6.0 use Homebridge UI <= v5.5.0
|
|
25
25
|
- For plugin >= v4.6.0 use Homebridge UI >= v5.13.0
|
|
26
26
|
|
|
27
|
+
# [4.7.8] - (02.02.2026)
|
|
28
|
+
|
|
29
|
+
## Changes
|
|
30
|
+
|
|
31
|
+
- fix [#236](https://github.com/grzegorz914/homebridge-melcloud-control/issues/236)
|
|
32
|
+
- cleanup
|
|
33
|
+
|
|
27
34
|
# [4.7.7] - (01.02.2026)
|
|
28
35
|
|
|
29
36
|
## Changes
|
package/index.js
CHANGED
|
@@ -107,10 +107,6 @@ class MelCloudPlatform {
|
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
if (logLevel.debug) log.info(melCloudDevicesData.Status);
|
|
110
|
-
await new Promise(r => setTimeout(r, 1000));
|
|
111
|
-
|
|
112
|
-
//start account impulse generator
|
|
113
|
-
await melCloudClass.impulseGenerator.state(true, timmers, false);
|
|
114
110
|
|
|
115
111
|
//filter configured devices
|
|
116
112
|
const devicesIds = (melCloudDevicesData.Devices ?? []).map(d => String(d.DeviceID));
|
|
@@ -203,6 +199,9 @@ class MelCloudPlatform {
|
|
|
203
199
|
|
|
204
200
|
//stop start impulse generator
|
|
205
201
|
await impulseGenerator.state(false);
|
|
202
|
+
|
|
203
|
+
//start melcloud class impulse generator
|
|
204
|
+
await melCloudClass.impulseGenerator.state(true, timmers, false);
|
|
206
205
|
} catch (error) {
|
|
207
206
|
if (logLevel.error) log.error(`${name}, Start impulse generator error, ${error.message ?? error}, trying again.`);
|
|
208
207
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.8",
|
|
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/melcloudhome.js
CHANGED
|
@@ -356,13 +356,6 @@ class MelCloudHome extends EventEmitter {
|
|
|
356
356
|
// Wait extra to ensure UI is rendered
|
|
357
357
|
await new Promise(r => setTimeout(r, 3000));
|
|
358
358
|
const loginBtn = await page.waitForSelector('button.btn--blue', { timeout: GLOBAL_TIMEOUT / 3 });
|
|
359
|
-
const loginText = await page.evaluate(el => el.textContent.trim(), loginBtn);
|
|
360
|
-
|
|
361
|
-
if (!['Zaloguj', 'Sign In', 'Login'].includes(loginText)) {
|
|
362
|
-
connectInfo.Status = `Login button ${loginText} not found`;
|
|
363
|
-
return connectInfo;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
359
|
await loginBtn.click();
|
|
367
360
|
await page.waitForNavigation({ waitUntil: 'networkidle2', timeout: GLOBAL_TIMEOUT / 3 });
|
|
368
361
|
|