@homebridge-plugins/homebridge-matter 0.0.4 → 0.0.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/.claude/settings.local.json +4 -1
- package/CHANGELOG.md +15 -1
- package/config.schema.json +225 -1
- package/dist/platform.d.ts +20 -0
- package/dist/platform.js +1030 -435
- package/dist/platform.js.map +1 -1
- package/package.json +3 -3
|
@@ -17,7 +17,10 @@
|
|
|
17
17
|
"Bash(cat:*)",
|
|
18
18
|
"Read(//Users/benpotter/.homebridge/matter/**)",
|
|
19
19
|
"Read(//Users/benpotter/.homebridge/**)",
|
|
20
|
-
"Read(//Users/benpotter/Documents/GitHub/**)"
|
|
20
|
+
"Read(//Users/benpotter/Documents/GitHub/**)",
|
|
21
|
+
"Bash(npm run watch)",
|
|
22
|
+
"Bash(pkill -f homebridge)",
|
|
23
|
+
"Bash(pkill -9 -f \"npm run watch\")"
|
|
21
24
|
],
|
|
22
25
|
"deny": [],
|
|
23
26
|
"ask": []
|
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@homebridge-plugins/homebridge-matter` will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## v0.0.
|
|
5
|
+
## v0.0.6 (2025-10-18)
|
|
6
|
+
|
|
7
|
+
### Changes
|
|
8
|
+
|
|
9
|
+
- allow configuration of examples to expose
|
|
10
|
+
|
|
11
|
+
## v0.0.5 (2025-10-18)
|
|
12
|
+
|
|
13
|
+
### Changes
|
|
14
|
+
|
|
15
|
+
- testing more device types as examples
|
|
16
|
+
|
|
17
|
+
## v0.0.4 (2025-10-18)
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
6
20
|
|
|
7
21
|
- follow homebridge api updates, examples for switches/sensors
|
|
8
22
|
- general repo updates, license, package updates, etc
|
package/config.schema.json
CHANGED
|
@@ -12,7 +12,231 @@
|
|
|
12
12
|
"title": "Name",
|
|
13
13
|
"type": "string",
|
|
14
14
|
"default": "Homebridge Matter"
|
|
15
|
+
},
|
|
16
|
+
"enableOnOffLight": {
|
|
17
|
+
"title": "Enable On/Off Light",
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"default": false,
|
|
20
|
+
"description": "Enable the on/off light example accessory."
|
|
21
|
+
},
|
|
22
|
+
"enableDimmableLight": {
|
|
23
|
+
"title": "Enable Dimmable Light",
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"default": false,
|
|
26
|
+
"description": "Enable the dimmable light example accessory."
|
|
27
|
+
},
|
|
28
|
+
"enableColourTemperatureLight": {
|
|
29
|
+
"title": "Enable Colour Temperature Light",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false,
|
|
32
|
+
"description": "Enable the colour temperature light example accessory."
|
|
33
|
+
},
|
|
34
|
+
"enableColourLight": {
|
|
35
|
+
"title": "Enable Colour Light (HS)",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false,
|
|
38
|
+
"description": "Enable the colour light (hue/saturation) example accessory."
|
|
39
|
+
},
|
|
40
|
+
"enableExtendedColourLight": {
|
|
41
|
+
"title": "Enable Extended Colour Light (HS+CCT)",
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"default": false,
|
|
44
|
+
"description": "Enable the extended colour light (hue/saturation + colour temperature) example accessory."
|
|
45
|
+
},
|
|
46
|
+
"enableOnOffSwitch": {
|
|
47
|
+
"title": "Enable On/Off Switch",
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"default": false,
|
|
50
|
+
"description": "Enable the on/off switch example accessory"
|
|
51
|
+
},
|
|
52
|
+
"enableOnOffOutlet": {
|
|
53
|
+
"title": "Enable On/Off Outlet",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": false,
|
|
56
|
+
"description": "Enable the on/off outlet (smart plug) example accessory."
|
|
57
|
+
},
|
|
58
|
+
"enableDimmableOutlet": {
|
|
59
|
+
"title": "Enable Dimmable Outlet",
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"default": false,
|
|
62
|
+
"description": "Enable the dimmable outlet example accessory."
|
|
63
|
+
},
|
|
64
|
+
"enableTemperatureSensor": {
|
|
65
|
+
"title": "Enable Temperature Sensor",
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"default": false,
|
|
68
|
+
"description": "Enable the temperature sensor example accessory."
|
|
69
|
+
},
|
|
70
|
+
"enableHumiditySensor": {
|
|
71
|
+
"title": "Enable Humidity Sensor",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"default": false,
|
|
74
|
+
"description": "Enable the humidity sensor example accessory."
|
|
75
|
+
},
|
|
76
|
+
"enableLightSensor": {
|
|
77
|
+
"title": "Enable Light Sensor",
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"default": false,
|
|
80
|
+
"description": "Enable the light sensor example accessory."
|
|
81
|
+
},
|
|
82
|
+
"enableMotionSensor": {
|
|
83
|
+
"title": "Enable Motion Sensor",
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"default": false,
|
|
86
|
+
"description": "Enable the motion sensor example accessory."
|
|
87
|
+
},
|
|
88
|
+
"enableContactSensor": {
|
|
89
|
+
"title": "Enable Contact Sensor",
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": false,
|
|
92
|
+
"description": "Enable the contact sensor example accessory."
|
|
93
|
+
},
|
|
94
|
+
"enableLeakSensor": {
|
|
95
|
+
"title": "Enable Leak Sensor",
|
|
96
|
+
"type": "boolean",
|
|
97
|
+
"default": false,
|
|
98
|
+
"description": "Enable the leak sensor example accessory."
|
|
99
|
+
},
|
|
100
|
+
"enableSmokeSensor": {
|
|
101
|
+
"title": "Enable Smoke Sensor",
|
|
102
|
+
"type": "boolean",
|
|
103
|
+
"default": false,
|
|
104
|
+
"description": "Enable the smoke sensor example accessory."
|
|
105
|
+
},
|
|
106
|
+
"enableThermostat": {
|
|
107
|
+
"title": "Enable Thermostat",
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"default": false,
|
|
110
|
+
"description": "Enable the thermostat example accessory."
|
|
111
|
+
},
|
|
112
|
+
"enableFan": {
|
|
113
|
+
"title": "Enable Fan",
|
|
114
|
+
"type": "boolean",
|
|
115
|
+
"default": false,
|
|
116
|
+
"description": "Enable the fan example accessory."
|
|
117
|
+
},
|
|
118
|
+
"enableDoorLock": {
|
|
119
|
+
"title": "Enable Door Lock",
|
|
120
|
+
"type": "boolean",
|
|
121
|
+
"default": false,
|
|
122
|
+
"description": "Enable the door lock example accessory."
|
|
123
|
+
},
|
|
124
|
+
"enableGarageDoor": {
|
|
125
|
+
"title": "Enable Garage Door",
|
|
126
|
+
"type": "boolean",
|
|
127
|
+
"default": false,
|
|
128
|
+
"description": "Enable the garage door example accessory."
|
|
129
|
+
},
|
|
130
|
+
"enableWindowBlind": {
|
|
131
|
+
"title": "Enable Window Blind",
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"default": false,
|
|
134
|
+
"description": "Enable the window blind example accessory."
|
|
135
|
+
},
|
|
136
|
+
"enableVenetianBlind": {
|
|
137
|
+
"title": "Enable Venetian Blind (Tilt)",
|
|
138
|
+
"type": "boolean",
|
|
139
|
+
"default": false,
|
|
140
|
+
"description": "Enable the Venetian blind with tilt control example accessory."
|
|
141
|
+
},
|
|
142
|
+
"enableRobotVacuum": {
|
|
143
|
+
"title": "Enable Robot Vacuum",
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"default": false,
|
|
146
|
+
"description": "Enable the robotic vacuum cleaner example accessory."
|
|
15
147
|
}
|
|
16
148
|
}
|
|
17
|
-
}
|
|
149
|
+
},
|
|
150
|
+
"layout": [
|
|
151
|
+
{
|
|
152
|
+
"type": "fieldset",
|
|
153
|
+
"title": "Plugin Settings",
|
|
154
|
+
"items": ["name"]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"type": "fieldset",
|
|
158
|
+
"title": "Lighting Devices",
|
|
159
|
+
"description": "Enable or disable example lighting accessories",
|
|
160
|
+
"expandable": true,
|
|
161
|
+
"expanded": false,
|
|
162
|
+
"items": [
|
|
163
|
+
"enableOnOffLight",
|
|
164
|
+
"enableDimmableLight",
|
|
165
|
+
"enableColourTemperatureLight",
|
|
166
|
+
"enableColourLight",
|
|
167
|
+
"enableExtendedColourLight"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "fieldset",
|
|
172
|
+
"title": "Switches and Outlets",
|
|
173
|
+
"description": "Enable or disable example switch and outlet accessories.",
|
|
174
|
+
"expandable": true,
|
|
175
|
+
"expanded": false,
|
|
176
|
+
"items": [
|
|
177
|
+
"enableOnOffSwitch",
|
|
178
|
+
"enableOnOffOutlet",
|
|
179
|
+
"enableDimmableOutlet"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "fieldset",
|
|
184
|
+
"title": "Sensors",
|
|
185
|
+
"description": "Enable or disable example sensor accessories.",
|
|
186
|
+
"expandable": true,
|
|
187
|
+
"expanded": false,
|
|
188
|
+
"items": [
|
|
189
|
+
"enableTemperatureSensor",
|
|
190
|
+
"enableHumiditySensor",
|
|
191
|
+
"enableLightSensor",
|
|
192
|
+
"enableMotionSensor",
|
|
193
|
+
"enableContactSensor",
|
|
194
|
+
"enableLeakSensor",
|
|
195
|
+
"enableSmokeSensor"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "fieldset",
|
|
200
|
+
"title": "HVAC Devices",
|
|
201
|
+
"description": "Enable or disable example HVAC accessories.",
|
|
202
|
+
"expandable": true,
|
|
203
|
+
"expanded": false,
|
|
204
|
+
"items": [
|
|
205
|
+
"enableThermostat",
|
|
206
|
+
"enableFan"
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "fieldset",
|
|
211
|
+
"title": "Security and Access",
|
|
212
|
+
"description": "Enable or disable example security and access accessories.",
|
|
213
|
+
"expandable": true,
|
|
214
|
+
"expanded": false,
|
|
215
|
+
"items": [
|
|
216
|
+
"enableDoorLock",
|
|
217
|
+
"enableGarageDoor"
|
|
218
|
+
]
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"type": "fieldset",
|
|
222
|
+
"title": "Window Coverings",
|
|
223
|
+
"description": "Enable or disable example window covering accessories.",
|
|
224
|
+
"expandable": true,
|
|
225
|
+
"expanded": false,
|
|
226
|
+
"items": [
|
|
227
|
+
"enableWindowBlind",
|
|
228
|
+
"enableVenetianBlind"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "fieldset",
|
|
233
|
+
"title": "Appliances",
|
|
234
|
+
"description": "Enable or disable example appliance accessories.",
|
|
235
|
+
"expandable": true,
|
|
236
|
+
"expanded": false,
|
|
237
|
+
"items": [
|
|
238
|
+
"enableRobotVacuum"
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
]
|
|
18
242
|
}
|
package/dist/platform.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ export declare class ExampleHomebridgePlatform implements DynamicPlatformPlugin
|
|
|
24
24
|
* Register all Matter accessory examples
|
|
25
25
|
*/
|
|
26
26
|
private registerMatterAccessories;
|
|
27
|
+
/**
|
|
28
|
+
* Remove disabled accessories from cache
|
|
29
|
+
*/
|
|
30
|
+
private removeDisabledAccessories;
|
|
27
31
|
/**
|
|
28
32
|
* Lighting Devices
|
|
29
33
|
*/
|
|
@@ -36,4 +40,20 @@ export declare class ExampleHomebridgePlatform implements DynamicPlatformPlugin
|
|
|
36
40
|
* Register Matter sensor accessories
|
|
37
41
|
*/
|
|
38
42
|
private registerSensors;
|
|
43
|
+
/**
|
|
44
|
+
* Register Matter HVAC accessories (Thermostats, Fans)
|
|
45
|
+
*/
|
|
46
|
+
private registerHVAC;
|
|
47
|
+
/**
|
|
48
|
+
* Register Matter Security & Access accessories (Door Locks, Garage Doors)
|
|
49
|
+
*/
|
|
50
|
+
private registerSecurity;
|
|
51
|
+
/**
|
|
52
|
+
* Register Matter Window Covering accessories (Blinds, Shades)
|
|
53
|
+
*/
|
|
54
|
+
private registerWindowCoverings;
|
|
55
|
+
/**
|
|
56
|
+
* Register Matter Appliance accessories (Robotic Vacuum Cleaners, etc.)
|
|
57
|
+
*/
|
|
58
|
+
private registerAppliances;
|
|
39
59
|
}
|