homebridge-melcloud-control 4.6.4-beta.0 → 4.6.5
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 +9 -0
- package/config.schema.json +53 -14
- package/index.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,15 @@ 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.6.4] - (10.01.2026)
|
|
28
|
+
|
|
29
|
+
## Changes
|
|
30
|
+
|
|
31
|
+
- config schema updated
|
|
32
|
+
- fix hide log success and dev info
|
|
33
|
+
- bump dependencies
|
|
34
|
+
- cleanup
|
|
35
|
+
|
|
27
36
|
# [4.6.3] - (01.01.2026)
|
|
28
37
|
|
|
29
38
|
## Changes
|
package/config.schema.json
CHANGED
|
@@ -2341,13 +2341,13 @@
|
|
|
2341
2341
|
"description": "This enable MQTT client."
|
|
2342
2342
|
},
|
|
2343
2343
|
"host": {
|
|
2344
|
-
"title": "IP
|
|
2344
|
+
"title": "IP/Hostname",
|
|
2345
2345
|
"type": "string",
|
|
2346
|
-
"placeholder": "
|
|
2347
|
-
"
|
|
2348
|
-
"description": "Here set the IP
|
|
2346
|
+
"placeholder": "192.168.1.20 or mqtt.local",
|
|
2347
|
+
"pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}|([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)(\\.([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?))*)$",
|
|
2348
|
+
"description": "Here set the IP/Hostname of MQTT Broker.",
|
|
2349
2349
|
"condition": {
|
|
2350
|
-
"functionBody": "return model.
|
|
2350
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
|
|
2351
2351
|
}
|
|
2352
2352
|
},
|
|
2353
2353
|
"port": {
|
|
@@ -2356,16 +2356,16 @@
|
|
|
2356
2356
|
"placeholder": 1883,
|
|
2357
2357
|
"description": "Here set the port of MQTT Broker.",
|
|
2358
2358
|
"condition": {
|
|
2359
|
-
"functionBody": "return model.
|
|
2359
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
|
|
2360
2360
|
}
|
|
2361
2361
|
},
|
|
2362
2362
|
"clientId": {
|
|
2363
|
-
"title": "Client
|
|
2363
|
+
"title": "Client ID",
|
|
2364
2364
|
"type": "string",
|
|
2365
2365
|
"placeholder": "client id",
|
|
2366
|
-
"description": "Here optional set the Client
|
|
2366
|
+
"description": "Here optional set the Client ID of MQTT Broker.",
|
|
2367
2367
|
"condition": {
|
|
2368
|
-
"functionBody": "return model.
|
|
2368
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true"
|
|
2369
2369
|
}
|
|
2370
2370
|
},
|
|
2371
2371
|
"prefix": {
|
|
@@ -2374,7 +2374,7 @@
|
|
|
2374
2374
|
"placeholder": "home",
|
|
2375
2375
|
"description": "Here set the prefix.",
|
|
2376
2376
|
"condition": {
|
|
2377
|
-
"functionBody": "return model.
|
|
2377
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
|
|
2378
2378
|
}
|
|
2379
2379
|
},
|
|
2380
2380
|
"auth": {
|
|
@@ -2392,7 +2392,7 @@
|
|
|
2392
2392
|
"placeholder": "user",
|
|
2393
2393
|
"description": "Here set the user of MQTT Broker.",
|
|
2394
2394
|
"condition": {
|
|
2395
|
-
"functionBody": "return model.
|
|
2395
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
|
|
2396
2396
|
}
|
|
2397
2397
|
},
|
|
2398
2398
|
"passwd": {
|
|
@@ -2402,15 +2402,54 @@
|
|
|
2402
2402
|
"description": "Here set the password of MQTT Broker.",
|
|
2403
2403
|
"format": "password",
|
|
2404
2404
|
"condition": {
|
|
2405
|
-
"functionBody": "return model.
|
|
2405
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.auth.enable === true;"
|
|
2406
2406
|
}
|
|
2407
2407
|
}
|
|
2408
2408
|
},
|
|
2409
2409
|
"condition": {
|
|
2410
|
-
"functionBody": "return model.
|
|
2410
|
+
"functionBody": "return model.devices[arrayIndices].mqtt.enable === true;"
|
|
2411
|
+
},
|
|
2412
|
+
"allOf": [
|
|
2413
|
+
{
|
|
2414
|
+
"if": {
|
|
2415
|
+
"required": [
|
|
2416
|
+
"enable"
|
|
2417
|
+
],
|
|
2418
|
+
"properties": {
|
|
2419
|
+
"enable": {
|
|
2420
|
+
"const": true
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
},
|
|
2424
|
+
"then": {
|
|
2425
|
+
"required": [
|
|
2426
|
+
"user",
|
|
2427
|
+
"passwd"
|
|
2428
|
+
]
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
]
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
"allOf": [
|
|
2435
|
+
{
|
|
2436
|
+
"if": {
|
|
2437
|
+
"required": [
|
|
2438
|
+
"enable"
|
|
2439
|
+
],
|
|
2440
|
+
"properties": {
|
|
2441
|
+
"enable": {
|
|
2442
|
+
"const": true
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
"then": {
|
|
2447
|
+
"required": [
|
|
2448
|
+
"host"
|
|
2449
|
+
]
|
|
2411
2450
|
}
|
|
2412
2451
|
}
|
|
2413
|
-
|
|
2452
|
+
]
|
|
2414
2453
|
}
|
|
2415
2454
|
},
|
|
2416
2455
|
"required": [
|
package/index.js
CHANGED
|
@@ -89,7 +89,7 @@ class MelCloudPlatform {
|
|
|
89
89
|
if (logLevel.warn) log.warn(`Unknown account type: ${account.type}.`);
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
|
-
melcloud.on('success', (msg) => log.success(`${name}, ${msg}`))
|
|
92
|
+
melcloud.on('success', (msg) => logLevel.success && log.success(`${name}, ${msg}`))
|
|
93
93
|
.on('info', (msg) => log.info(`${name}, ${msg}`))
|
|
94
94
|
.on('debug', (msg) => log.info(`${name}, debug: ${msg}`))
|
|
95
95
|
.on('warn', (msg) => log.warn(`${name}, ${msg}`))
|
|
@@ -190,7 +190,7 @@ class MelCloudPlatform {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
configuredDevice.on('devInfo', (info) => logLevel.devInfo && log.info(info))
|
|
193
|
-
.on('success', (msg) => log.success(`${name}, ${deviceTypeString}, ${deviceName}, ${msg}`))
|
|
193
|
+
.on('success', (msg) => logLevel.success && log.success(`${name}, ${deviceTypeString}, ${deviceName}, ${msg}`))
|
|
194
194
|
.on('info', (msg) => log.info(`${name}, ${deviceTypeString}, ${deviceName}, ${msg}`))
|
|
195
195
|
.on('debug', (msg) => log.info(`${name}, ${deviceTypeString}, ${deviceName}, debug: ${msg}`))
|
|
196
196
|
.on('warn', (msg) => log.warn(`${name}, ${deviceTypeString}, ${deviceName}, ${msg}`))
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"displayName": "MELCloud Control",
|
|
3
3
|
"name": "homebridge-melcloud-control",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.5",
|
|
5
5
|
"description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "grzegorz914",
|