homebridge-melcloud-control 4.0.0-beta.502 → 4.0.0-beta.503
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 +4 -1
- package/package.json +1 -1
- package/src/melcloud.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -16,7 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
16
16
|
- do not configure it manually, always using Homebridge UI
|
|
17
17
|
- required Homebridge v2.0.0 and above
|
|
18
18
|
- v4 Added support for MELCloud Home.
|
|
19
|
-
|
|
19
|
+
|
|
20
|
+
## Warning
|
|
21
|
+
|
|
22
|
+
- Do not use Homebridge UI > v5.5.0 because of break config.json
|
|
20
23
|
|
|
21
24
|
## [4.0.0] - (xx.11.2025)
|
|
22
25
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.503",
|
|
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/melcloud.js
CHANGED
|
@@ -344,13 +344,13 @@ class MelCloud extends EventEmitter {
|
|
|
344
344
|
page.on('close', () => { if (this.logDebug) this.emit('debug', 'Page was closed unexpectedly'); });
|
|
345
345
|
browser.on('disconnected', () => { if (this.logWarn) this.emit('debug', 'Browser disconnected unexpectedly'); });
|
|
346
346
|
|
|
347
|
-
page.setDefaultTimeout(
|
|
348
|
-
page.setDefaultNavigationTimeout(
|
|
347
|
+
page.setDefaultTimeout(45000);
|
|
348
|
+
page.setDefaultNavigationTimeout(45000);
|
|
349
349
|
|
|
350
350
|
// Now safe to navigate
|
|
351
351
|
this.emit('warn', `Test 4`);
|
|
352
352
|
await page.goto(ApiUrlsHome.BaseURL, { waitUntil: ['domcontentloaded', 'networkidle2'] });
|
|
353
|
-
await new Promise(r => setTimeout(r,
|
|
353
|
+
await new Promise(r => setTimeout(r, 4000));
|
|
354
354
|
|
|
355
355
|
let loginBtn;
|
|
356
356
|
try {
|