@homebridge-plugins/homebridge-matter 0.2.0-beta.3 → 0.2.0-beta.4
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
CHANGED
|
@@ -9,6 +9,7 @@ All notable changes to `@homebridge-plugins/homebridge-matter` will be documente
|
|
|
9
9
|
- refactor codebase for class-based devices
|
|
10
10
|
- add logging for all `MatterRequest` events
|
|
11
11
|
- fix commands for lock devices
|
|
12
|
+
- update plugin to support `@matter/main@0.16.x`
|
|
12
13
|
|
|
13
14
|
## v0.1.6 (2025-10-24)
|
|
14
15
|
|
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ This plugin provides example implementations of Matter device types in Homebridg
|
|
|
67
67
|
|
|
68
68
|
- To use this plugin, you will need to already have:
|
|
69
69
|
- [Node](https://nodejs.org): latest version of `v20`, `v22` or `v24` - any other major version is not supported.
|
|
70
|
-
- [Homebridge](https://homebridge.io): `>=2.0.0-alpha.
|
|
70
|
+
- [Homebridge](https://homebridge.io): `>=2.0.0-alpha.68 <2.0.0-beta.0` - refer to link for more information and installation instructions.
|
|
71
71
|
|
|
72
72
|
### Help/About
|
|
73
73
|
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
* Individual device types should extend this class and call super() with
|
|
8
8
|
* the required configuration.
|
|
9
9
|
*/
|
|
10
|
-
import type { EndpointType } from '
|
|
11
|
-
import type { API, Logger, MatterAccessory } from 'homebridge';
|
|
10
|
+
import type { API, EndpointType, Logger, MatterAccessory } from 'homebridge';
|
|
12
11
|
export interface BaseMatterAccessoryConfig {
|
|
13
12
|
uuid: string;
|
|
14
13
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMatterAccessory.js","sourceRoot":"","sources":["../../src/devices/BaseMatterAccessory.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"BaseMatterAccessory.js","sourceRoot":"","sources":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,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAA;IACH,CAAC;CACF"}
|
|
@@ -31,10 +31,10 @@ export class RoboticVacuumAccessory extends BaseMatterAccessory {
|
|
|
31
31
|
},
|
|
32
32
|
rvcOperationalState: {
|
|
33
33
|
operationalStateList: [
|
|
34
|
-
{
|
|
35
|
-
{
|
|
36
|
-
{
|
|
37
|
-
{
|
|
34
|
+
{ operationalStateId: 0, operationalStateLabel: 'Stopped' },
|
|
35
|
+
{ operationalStateId: 1, operationalStateLabel: 'Running' },
|
|
36
|
+
{ operationalStateId: 2, operationalStateLabel: 'Paused' },
|
|
37
|
+
{ operationalStateId: 3, operationalStateLabel: 'Error' },
|
|
38
38
|
],
|
|
39
39
|
operationalState: 0,
|
|
40
40
|
},
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "Homebridge Matter",
|
|
4
4
|
"alias": "Matter",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.2.0-beta.
|
|
6
|
+
"version": "0.2.0-beta.4",
|
|
7
7
|
"description": "Homebridge plugin to showcase examples of Matter devices in Homebridge.",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "bwp91",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"main": "dist/index.js",
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": "^20.18.0 || ^22.10.0 || ^24.0.0",
|
|
52
|
-
"homebridge": ">=2.0.0-alpha.
|
|
52
|
+
"homebridge": ">=2.0.0-alpha.68 <2.0.0-beta.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "rimraf ./dist && tsc && npm run plugin-ui",
|
|
@@ -59,13 +59,12 @@
|
|
|
59
59
|
"prepublishOnly": "npm run lint && npm run build"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@homebridge/plugin-ui-utils": "^2.1.1-beta.0"
|
|
63
|
-
"@matter/main": "^0.15.6"
|
|
62
|
+
"@homebridge/plugin-ui-utils": "^2.1.1-beta.0"
|
|
64
63
|
},
|
|
65
64
|
"devDependencies": {
|
|
66
65
|
"@antfu/eslint-config": "^6.0.0",
|
|
67
66
|
"@types/node": "^24.9.1",
|
|
68
|
-
"homebridge": "2.0.0-alpha.
|
|
67
|
+
"homebridge": "2.0.0-alpha.68",
|
|
69
68
|
"rimraf": "^6.0.1",
|
|
70
69
|
"ts-node": "^10.9.2",
|
|
71
70
|
"typescript": "^5.9.3"
|