@homebridge-plugins/homebridge-meross 10.10.3 → 10.11.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/CHANGELOG.md +15 -0
- package/config.schema.json +8 -0
- package/eslint.config.js +6 -11
- package/lib/platform.js +1 -9
- package/lib/utils/constants.js +3 -3
- package/lib/utils/lang-en.js +0 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@homebridge-plugins/homebridge-meross` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## v10.11.0 (2026-02-15)
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- add garage model `MSG150` (beta)
|
|
10
|
+
- add hub model `MSH450` (beta)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- determine debug mode from `-D` flag
|
|
15
|
+
- updated dependencies
|
|
16
|
+
- updated dependencies + lint rules
|
|
17
|
+
- update workflow action versions
|
|
18
|
+
- fix deprecate past releases script
|
|
19
|
+
|
|
5
20
|
## v10.10.3 (2025-12-05)
|
|
6
21
|
|
|
7
22
|
### Changes
|
package/config.schema.json
CHANGED
|
@@ -1411,6 +1411,10 @@
|
|
|
1411
1411
|
"title": "MSG100",
|
|
1412
1412
|
"enum": ["MSG100"]
|
|
1413
1413
|
},
|
|
1414
|
+
{
|
|
1415
|
+
"title": "MSG150",
|
|
1416
|
+
"enum": ["MSG150"]
|
|
1417
|
+
},
|
|
1414
1418
|
{
|
|
1415
1419
|
"title": "MSG200",
|
|
1416
1420
|
"enum": ["MSG200"]
|
|
@@ -1730,6 +1734,10 @@
|
|
|
1730
1734
|
"title": "MSH400",
|
|
1731
1735
|
"enum": ["MSH400"]
|
|
1732
1736
|
},
|
|
1737
|
+
{
|
|
1738
|
+
"title": "MSH450",
|
|
1739
|
+
"enum": ["MSH450"]
|
|
1740
|
+
},
|
|
1733
1741
|
{
|
|
1734
1742
|
"title": "MS600",
|
|
1735
1743
|
"enum": ["MS600"]
|
package/eslint.config.js
CHANGED
|
@@ -8,29 +8,24 @@ export default antfu(
|
|
|
8
8
|
rules: {
|
|
9
9
|
'curly': ['error', 'multi-line'],
|
|
10
10
|
'new-cap': 'off',
|
|
11
|
-
'jsdoc/check-alignment': 'warn',
|
|
12
|
-
'jsdoc/check-line-alignment': 'warn',
|
|
13
|
-
'jsdoc/require-returns-check': 0,
|
|
14
|
-
'jsdoc/require-returns-description': 0,
|
|
15
11
|
'no-undef': 'error',
|
|
16
12
|
'perfectionist/sort-exports': 'error',
|
|
17
13
|
'perfectionist/sort-imports': [
|
|
18
14
|
'error',
|
|
19
15
|
{
|
|
20
16
|
groups: [
|
|
21
|
-
'type',
|
|
22
|
-
'
|
|
17
|
+
['type-builtin', 'type-external', 'type-internal'],
|
|
18
|
+
['type-parent', 'type-sibling', 'type-index'],
|
|
23
19
|
'builtin',
|
|
24
20
|
'external',
|
|
25
21
|
'internal',
|
|
26
|
-
['parent-type', 'sibling-type', 'index-type'],
|
|
27
22
|
['parent', 'sibling', 'index'],
|
|
28
|
-
'
|
|
23
|
+
'side-effect',
|
|
29
24
|
'unknown',
|
|
30
25
|
],
|
|
31
26
|
order: 'asc',
|
|
32
27
|
type: 'natural',
|
|
33
|
-
newlinesBetween:
|
|
28
|
+
newlinesBetween: 1,
|
|
34
29
|
},
|
|
35
30
|
],
|
|
36
31
|
'perfectionist/sort-named-exports': 'error',
|
|
@@ -41,8 +36,8 @@ export default antfu(
|
|
|
41
36
|
'style/quote-props': ['error', 'consistent-as-needed'],
|
|
42
37
|
'test/no-only-tests': 'error',
|
|
43
38
|
'unicorn/no-useless-spread': 'error',
|
|
44
|
-
'unused-imports/no-unused-vars':
|
|
39
|
+
'unused-imports/no-unused-vars': 0,
|
|
45
40
|
},
|
|
46
|
-
typescript:
|
|
41
|
+
typescript: true,
|
|
47
42
|
},
|
|
48
43
|
)
|
package/lib/platform.js
CHANGED
|
@@ -29,7 +29,7 @@ export default class {
|
|
|
29
29
|
try {
|
|
30
30
|
this.api = api
|
|
31
31
|
this.log = log
|
|
32
|
-
this.isBeta =
|
|
32
|
+
this.isBeta = process.argv.includes('-D')
|
|
33
33
|
this.cloudClient = false
|
|
34
34
|
this.deviceConf = {}
|
|
35
35
|
this.devicesInHB = new Map()
|
|
@@ -303,14 +303,6 @@ export default class {
|
|
|
303
303
|
if (this.isBeta) {
|
|
304
304
|
this.log.debug = this.log
|
|
305
305
|
this.log.debugWarn = this.log.warn
|
|
306
|
-
|
|
307
|
-
// Log that using a beta will generate a lot of debug logs
|
|
308
|
-
if (this.isBeta) {
|
|
309
|
-
const divide = '*'.repeat(platformLang.beta.length + 1) // don't forget the full stop (+1!)
|
|
310
|
-
this.log.warn(divide)
|
|
311
|
-
this.log.warn(`${platformLang.beta}.`)
|
|
312
|
-
this.log.warn(divide)
|
|
313
|
-
}
|
|
314
306
|
} else {
|
|
315
307
|
this.log.debug = () => {}
|
|
316
308
|
this.log.debugWarn = () => {}
|
package/lib/utils/constants.js
CHANGED
|
@@ -298,12 +298,12 @@ export default {
|
|
|
298
298
|
diffuser: ['MOD100', 'MOD150'],
|
|
299
299
|
purifier: ['MAP100'],
|
|
300
300
|
humidifier: ['MSXH0'],
|
|
301
|
-
garage: ['MSG100', 'MSG200'],
|
|
301
|
+
garage: ['MSG100', 'MSG150', 'MSG200'],
|
|
302
302
|
roller: ['MRS100'],
|
|
303
303
|
baby: ['HP110A', 'HP110AHK'],
|
|
304
304
|
thermostat: ['MTS200', 'MTS200B', 'MTS960'],
|
|
305
305
|
sensorPresence: ['MS600'],
|
|
306
|
-
hubMain: ['MSH300', 'MSH300HK', 'MSH400'],
|
|
306
|
+
hubMain: ['MSH300', 'MSH300HK', 'MSH400', 'MSH450'],
|
|
307
307
|
hubSub: ['GS559A', 'MS100', 'MS100F', 'MS200', 'MS400', 'MTS100V3', 'MTS150'],
|
|
308
308
|
template: [],
|
|
309
309
|
},
|
|
@@ -371,7 +371,7 @@ export default {
|
|
|
371
371
|
MSS315: ['9'], // https://github.com/homebridge-plugins/homebridge-meross/issues/537
|
|
372
372
|
},
|
|
373
373
|
|
|
374
|
-
noLocalControl: ['MSH300', 'MSH300HK', 'MSH400'],
|
|
374
|
+
noLocalControl: ['MSH300', 'MSH300HK', 'MSH400', 'MSH450'],
|
|
375
375
|
|
|
376
376
|
httpRetryCodes: ['ENOTFOUND', 'ETIMEDOUT', 'EAI_AGAIN', 'ECONNABORTED'],
|
|
377
377
|
}
|
package/lib/utils/lang-en.js
CHANGED
|
@@ -7,7 +7,6 @@ export default {
|
|
|
7
7
|
accTokenStoreErr: 'could not store access token as',
|
|
8
8
|
accTokenUserChange: 'username has changed',
|
|
9
9
|
alDisabled: 'adaptive lighting disabled due to change of colour detected',
|
|
10
|
-
beta: 'You are using a beta version of the plugin - you will experience more logging than normal',
|
|
11
10
|
brand: 'Meross Technology',
|
|
12
11
|
cfgDef: 'is not a valid number so using default of',
|
|
13
12
|
cfgDup: 'will be ignored since another entry with this ID already exists',
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@homebridge-plugins/homebridge-meross",
|
|
3
3
|
"alias": "Meross",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "10.
|
|
5
|
+
"version": "10.11.0",
|
|
6
6
|
"description": "Homebridge plugin to integrate Meross devices into HomeKit.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "bwp91",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"lint:fix": "npm run lint -- --fix"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@homebridge/plugin-ui-utils": "^2.
|
|
60
|
-
"axios": "^1.13.
|
|
61
|
-
"mqtt": "^5.
|
|
59
|
+
"@homebridge/plugin-ui-utils": "^2.2.0",
|
|
60
|
+
"axios": "^1.13.5",
|
|
61
|
+
"mqtt": "^5.15.0",
|
|
62
62
|
"node-persist": "^4.0.4",
|
|
63
|
-
"p-queue": "^9.0
|
|
63
|
+
"p-queue": "^9.1.0",
|
|
64
64
|
"p-timeout": "^7.0.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@antfu/eslint-config": "^
|
|
67
|
+
"@antfu/eslint-config": "^7.4.3"
|
|
68
68
|
}
|
|
69
69
|
}
|