homebridge-melcloud-control 4.5.6-beta.6 → 4.5.6
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 +2 -1
- package/package.json +1 -1
- package/src/functions.js +2 -2
- package/src/melcloudhome.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -26,7 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
26
26
|
|
|
27
27
|
## Changes
|
|
28
28
|
|
|
29
|
-
-
|
|
29
|
+
- improvements of arch detection
|
|
30
|
+
- fix install chrome browser for docker image
|
|
30
31
|
- cleanup
|
|
31
32
|
|
|
32
33
|
# [4.5.5] - (21.12.2025)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.5.6
|
|
4
|
+
"version": "4.5.6",
|
|
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/functions.js
CHANGED
|
@@ -113,7 +113,7 @@ class Functions extends EventEmitter {
|
|
|
113
113
|
await execPromise('opkg install chromium nspr nss libx11 libxcomposite libxdamage libxrandr atk libcups libdrm libgbm alsa-lib');
|
|
114
114
|
process.env.LD_LIBRARY_PATH = `/opt/lib:${process.env.LD_LIBRARY_PATH || ''}`;
|
|
115
115
|
} catch (error) {
|
|
116
|
-
if (this.logDebug) this.emit('debug', `Install
|
|
116
|
+
if (this.logDebug) this.emit('debug', `Install Chromium for Qnap error: ${error}`);
|
|
117
117
|
return { path: null, arch, system: 'Qnap' };
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -151,7 +151,7 @@ class Functions extends EventEmitter {
|
|
|
151
151
|
await execPromise('wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb');
|
|
152
152
|
await execPromise('apt-get install -y ./google-chrome-stable_current_amd64.deb');
|
|
153
153
|
} catch (error) {
|
|
154
|
-
if (this.logDebug) this.emit('debug', `Chrome
|
|
154
|
+
if (this.logDebug) this.emit('debug', `Install Chrome for Docker error: ${error}`);
|
|
155
155
|
return { path: null, arch, system: 'Linux Docker' };
|
|
156
156
|
}
|
|
157
157
|
|
package/src/melcloudhome.js
CHANGED
|
@@ -330,7 +330,7 @@ class MelCloudHome extends EventEmitter {
|
|
|
330
330
|
})
|
|
331
331
|
.on('message', (message) => {
|
|
332
332
|
const parsedMessage = JSON.parse(message);
|
|
333
|
-
if (
|
|
333
|
+
if (this.logDebug) this.emit('debug', `Incoming message: ${JSON.stringify(parsedMessage, null, 2)}`);
|
|
334
334
|
if (parsedMessage.message === 'Forbidden') return;
|
|
335
335
|
|
|
336
336
|
this.emit('webSocket', parsedMessage);
|