@matter-server/custom-clusters 0.3.6-alpha.0-20260211-63a0097 → 0.3.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/dist/esm/clusters/eve.d.ts +1 -0
- package/dist/esm/clusters/eve.d.ts.map +1 -1
- package/dist/esm/clusters/eve.js +10 -8
- package/dist/esm/clusters/eve.js.map +1 -1
- package/dist/esm/clusters/heiman.js +2 -2
- package/dist/esm/clusters/heiman.js.map +1 -1
- package/dist/esm/clusters/inovelli.js +2 -2
- package/dist/esm/clusters/inovelli.js.map +1 -1
- package/package.json +2 -2
- package/src/clusters/eve.ts +4 -1
- package/src/clusters/heiman.ts +4 -4
- package/src/clusters/inovelli.ts +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eve.d.ts","sourceRoot":"","sources":["../../../src/clusters/eve.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,qBACa,UAAU;IAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAGrC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAG9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"eve.d.ts","sourceRoot":"","sources":["../../../src/clusters/eve.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,qBACa,UAAU;IAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAGrC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAG9B,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
package/dist/esm/clusters/eve.js
CHANGED
|
@@ -51,9 +51,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
51
51
|
* Copyright 2025-2026 Open Home Foundation
|
|
52
52
|
* SPDX-License-Identifier: Apache-2.0
|
|
53
53
|
*/
|
|
54
|
-
var _motionSensitivity_dec, _valvePosition_dec, _weatherTrend_dec, _pressure_dec, _altitude_dec, _obstructionDetected_dec, _current_dec, _voltage_dec, _wattAccumulatedControlPoint_dec, _wattAccumulated_dec, _watt_dec, _timesOpened_dec, _EveCluster_decorators, _init;
|
|
55
|
-
import { attribute, bool, cluster, single, uint32 } from "@matter/main/model";
|
|
56
|
-
_EveCluster_decorators = [cluster(319486977)], _timesOpened_dec = [attribute(319422470, uint32)], _watt_dec = [attribute(319422474, single)], _wattAccumulated_dec = [attribute(319422475, single)], _wattAccumulatedControlPoint_dec = [attribute(319422478, uint32)], _voltage_dec = [attribute(319422472, single)], _current_dec = [attribute(319422473, single)], _obstructionDetected_dec = [attribute(319422480, bool)], _altitude_dec = [attribute(319422483, single)], _pressure_dec = [attribute(319422484, single)], _weatherTrend_dec = [attribute(319422485, uint32)], _valvePosition_dec = [attribute(319422488, uint32)], _motionSensitivity_dec = [attribute(319422477, uint32)];
|
|
54
|
+
var _motionSensitivity_dec, _valvePosition_dec, _weatherTrend_dec, _pressure_dec, _altitude_dec, _childLock_dec, _obstructionDetected_dec, _current_dec, _voltage_dec, _wattAccumulatedControlPoint_dec, _wattAccumulated_dec, _watt_dec, _timesOpened_dec, _EveCluster_decorators, _init;
|
|
55
|
+
import { attribute, bool, cluster, single, uint32, writable } from "@matter/main/model";
|
|
56
|
+
_EveCluster_decorators = [cluster(319486977)], _timesOpened_dec = [attribute(319422470, uint32)], _watt_dec = [attribute(319422474, single)], _wattAccumulated_dec = [attribute(319422475, single)], _wattAccumulatedControlPoint_dec = [attribute(319422478, uint32)], _voltage_dec = [attribute(319422472, single)], _current_dec = [attribute(319422473, single)], _obstructionDetected_dec = [attribute(319422480, bool)], _childLock_dec = [attribute(319422481, bool, writable)], _altitude_dec = [attribute(319422483, single)], _pressure_dec = [attribute(319422484, single)], _weatherTrend_dec = [attribute(319422485, uint32)], _valvePosition_dec = [attribute(319422488, uint32)], _motionSensitivity_dec = [attribute(319422477, uint32)];
|
|
57
57
|
class EveCluster {
|
|
58
58
|
constructor() {
|
|
59
59
|
__publicField(this, "timesOpened", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
|
@@ -63,11 +63,12 @@ class EveCluster {
|
|
|
63
63
|
__publicField(this, "voltage", __runInitializers(_init, 24, this)), __runInitializers(_init, 27, this);
|
|
64
64
|
__publicField(this, "current", __runInitializers(_init, 28, this)), __runInitializers(_init, 31, this);
|
|
65
65
|
__publicField(this, "obstructionDetected", __runInitializers(_init, 32, this)), __runInitializers(_init, 35, this);
|
|
66
|
-
__publicField(this, "
|
|
67
|
-
__publicField(this, "
|
|
68
|
-
__publicField(this, "
|
|
69
|
-
__publicField(this, "
|
|
70
|
-
__publicField(this, "
|
|
66
|
+
__publicField(this, "childLock", __runInitializers(_init, 36, this)), __runInitializers(_init, 39, this);
|
|
67
|
+
__publicField(this, "altitude", __runInitializers(_init, 40, this)), __runInitializers(_init, 43, this);
|
|
68
|
+
__publicField(this, "pressure", __runInitializers(_init, 44, this)), __runInitializers(_init, 47, this);
|
|
69
|
+
__publicField(this, "weatherTrend", __runInitializers(_init, 48, this)), __runInitializers(_init, 51, this);
|
|
70
|
+
__publicField(this, "valvePosition", __runInitializers(_init, 52, this)), __runInitializers(_init, 55, this);
|
|
71
|
+
__publicField(this, "motionSensitivity", __runInitializers(_init, 56, this)), __runInitializers(_init, 59, this);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
_init = __decoratorStart(null);
|
|
@@ -78,6 +79,7 @@ __decorateElement(_init, 5, "wattAccumulatedControlPoint", _wattAccumulatedContr
|
|
|
78
79
|
__decorateElement(_init, 5, "voltage", _voltage_dec, EveCluster);
|
|
79
80
|
__decorateElement(_init, 5, "current", _current_dec, EveCluster);
|
|
80
81
|
__decorateElement(_init, 5, "obstructionDetected", _obstructionDetected_dec, EveCluster);
|
|
82
|
+
__decorateElement(_init, 5, "childLock", _childLock_dec, EveCluster);
|
|
81
83
|
__decorateElement(_init, 5, "altitude", _altitude_dec, EveCluster);
|
|
82
84
|
__decorateElement(_init, 5, "pressure", _pressure_dec, EveCluster);
|
|
83
85
|
__decorateElement(_init, 5, "weatherTrend", _weatherTrend_dec, EveCluster);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/eve.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,QAAQ,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,QAAQ,QAAQ,gBAAgB;AAEnE,0BAAC,QAAQ,SAAU,IAEf,oBAAC,UAAU,WAAY,MAAM,IAG7B,aAAC,UAAU,WAAY,MAAM,IAG7B,wBAAC,UAAU,WAAY,MAAM,IAG7B,oCAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,4BAAC,UAAU,WAAY,IAAI,IAG3B,kBAAC,UAAU,WAAY,MAAM,QAAQ,IAGrC,iBAAC,UAAU,WAAY,MAAM,IAG7B,iBAAC,UAAU,WAAY,MAAM,IAG7B,qBAAC,UAAU,WAAY,MAAM,IAG7B,sBAAC,UAAU,WAAY,MAAM,IAG7B,0BAAC,UAAU,WAAY,MAAM;AArC1B,MAAM,WAAW;AAAA,EAAjB;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AAvCO;AAEH,2CADA,kBADS;AAKT,oCADA,WAJS;AAQT,+CADA,sBAPS;AAWT,2DADA,kCAVS;AAcT,uCADA,cAbS;AAiBT,uCADA,cAhBS;AAoBT,mDADA,0BAnBS;AAuBT,yCADA,gBAtBS;AA0BT,wCADA,eAzBS;AA6BT,wCADA,eA5BS;AAgCT,4CADA,mBA/BS;AAmCT,6CADA,oBAlCS;AAsCT,iDADA,wBArCS;AAAA,aAAN,0CADP,wBACa;AAAN,4BAAM;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -52,8 +52,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
52
52
|
* SPDX-License-Identifier: Apache-2.0
|
|
53
53
|
*/
|
|
54
54
|
var _lowPowerMode_dec, _alarmMute_dec, _sirenActive_dec, _sensorType_dec, _noDisturbingState_dec, _preheatingState_dec, _tamperAlarm_dec, _HeimanCluster_decorators, _init;
|
|
55
|
-
import { attribute, cluster, uint8 } from "@matter/main/model";
|
|
56
|
-
_HeimanCluster_decorators = [cluster(302775297)], _tamperAlarm_dec = [attribute(16, uint8)], _preheatingState_dec = [attribute(17, uint8)], _noDisturbingState_dec = [attribute(18, uint8)], _sensorType_dec = [attribute(19, uint8)], _sirenActive_dec = [attribute(20, uint8)], _alarmMute_dec = [attribute(21, uint8)], _lowPowerMode_dec = [attribute(22, uint8)];
|
|
55
|
+
import { attribute, cluster, uint8, writable } from "@matter/main/model";
|
|
56
|
+
_HeimanCluster_decorators = [cluster(302775297)], _tamperAlarm_dec = [attribute(16, uint8)], _preheatingState_dec = [attribute(17, uint8)], _noDisturbingState_dec = [attribute(18, uint8)], _sensorType_dec = [attribute(19, uint8)], _sirenActive_dec = [attribute(20, uint8, writable)], _alarmMute_dec = [attribute(21, uint8, writable)], _lowPowerMode_dec = [attribute(22, uint8, writable)];
|
|
57
57
|
class HeimanCluster {
|
|
58
58
|
constructor() {
|
|
59
59
|
__publicField(this, "tamperAlarm", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/heiman.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,SAAS,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,SAAS,OAAO,gBAAgB;AAEpD,6BAAC,QAAQ,SAAU,IAEf,oBAAC,UAAU,IAAQ,KAAK,IAGxB,wBAAC,UAAU,IAAQ,KAAK,IAGxB,0BAAC,UAAU,IAAQ,KAAK,IAGxB,mBAAC,UAAU,IAAQ,KAAK,IAGxB,oBAAC,UAAU,IAAQ,OAAO,QAAQ,IAGlC,kBAAC,UAAU,IAAQ,OAAO,QAAQ,IAGlC,qBAAC,UAAU,IAAQ,OAAO,QAAQ;AAnB/B,MAAM,cAAc;AAAA,EAApB;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AArBO;AAEH,2CADA,kBADS;AAKT,+CADA,sBAJS;AAQT,iDADA,wBAPS;AAWT,0CADA,iBAVS;AAcT,2CADA,kBAbS;AAiBT,yCADA,gBAhBS;AAoBT,4CADA,mBAnBS;AAAA,gBAAN,6CADP,2BACa;AAAN,4BAAM;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -52,8 +52,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
52
52
|
* SPDX-License-Identifier: Apache-2.0
|
|
53
53
|
*/
|
|
54
54
|
var _clearNotificationWithConfigDoubleTap_dec, _ledIndicatorIntensityOff_dec, _ledIndicatorIntensityOn_dec, _InovelliCluster_decorators, _init;
|
|
55
|
-
import { attribute, bool, cluster, uint32 } from "@matter/main/model";
|
|
56
|
-
_InovelliCluster_decorators = [cluster(305134641)], _ledIndicatorIntensityOn_dec = [attribute(305070177, uint32)], _ledIndicatorIntensityOff_dec = [attribute(305070178, uint32)], _clearNotificationWithConfigDoubleTap_dec = [attribute(305070342, bool)];
|
|
55
|
+
import { attribute, bool, cluster, uint32, writable } from "@matter/main/model";
|
|
56
|
+
_InovelliCluster_decorators = [cluster(305134641)], _ledIndicatorIntensityOn_dec = [attribute(305070177, uint32, writable)], _ledIndicatorIntensityOff_dec = [attribute(305070178, uint32, writable)], _clearNotificationWithConfigDoubleTap_dec = [attribute(305070342, bool, writable)];
|
|
57
57
|
class InovelliCluster {
|
|
58
58
|
constructor() {
|
|
59
59
|
__publicField(this, "ledIndicatorIntensityOn", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/inovelli.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,SAAS,WAAW,MAAM,SAAS,QAAQ,gBAAgB;AAE3D,+BAAC,QAAQ,SAAU,IAEf,gCAAC,UAAU,WAAY,QAAQ,QAAQ,IAGvC,iCAAC,UAAU,WAAY,QAAQ,QAAQ,IAGvC,6CAAC,UAAU,WAAY,MAAM,QAAQ;AAPlC,MAAM,gBAAgB;AAAA,EAAtB;AAEH;AAGA;AAGA;AAAA;AACJ;AATO;AAEH,uDADA,8BADS;AAKT,wDADA,+BAJS;AAQT,oEADA,2CAPS;AAAA,kBAAN,+CADP,6BACa;AAAN,4BAAM;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter-server/custom-clusters",
|
|
3
|
-
"version": "0.3.6
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Custom cluster definitions for matter.js based projects",
|
|
6
6
|
"bugs": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"node": ">=20.19.0 <22.0.0 || >=22.13.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@matter/main": "0.16.9-alpha.0-
|
|
25
|
+
"@matter/main": "0.16.9-alpha.0-20260211-5dcebea26"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist/**/*",
|
package/src/clusters/eve.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { attribute, bool, cluster, single, uint32 } from "@matter/main/model";
|
|
7
|
+
import { attribute, bool, cluster, single, uint32, writable } from "@matter/main/model";
|
|
8
8
|
|
|
9
9
|
@cluster(0x130afc01)
|
|
10
10
|
export class EveCluster {
|
|
@@ -29,6 +29,9 @@ export class EveCluster {
|
|
|
29
29
|
@attribute(0x130a0010, bool)
|
|
30
30
|
obstructionDetected?: boolean;
|
|
31
31
|
|
|
32
|
+
@attribute(0x130a0011, bool, writable)
|
|
33
|
+
childLock?: boolean;
|
|
34
|
+
|
|
32
35
|
@attribute(0x130a0013, single)
|
|
33
36
|
altitude?: number;
|
|
34
37
|
|
package/src/clusters/heiman.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { attribute, cluster, uint8 } from "@matter/main/model";
|
|
7
|
+
import { attribute, cluster, uint8, writable } from "@matter/main/model";
|
|
8
8
|
|
|
9
9
|
@cluster(0x120bfc01)
|
|
10
10
|
export class HeimanCluster {
|
|
@@ -20,12 +20,12 @@ export class HeimanCluster {
|
|
|
20
20
|
@attribute(0x0013, uint8)
|
|
21
21
|
sensorType?: number;
|
|
22
22
|
|
|
23
|
-
@attribute(0x0014, uint8)
|
|
23
|
+
@attribute(0x0014, uint8, writable)
|
|
24
24
|
sirenActive?: number;
|
|
25
25
|
|
|
26
|
-
@attribute(0x0015, uint8)
|
|
26
|
+
@attribute(0x0015, uint8, writable)
|
|
27
27
|
alarmMute?: number;
|
|
28
28
|
|
|
29
|
-
@attribute(0x0016, uint8)
|
|
29
|
+
@attribute(0x0016, uint8, writable)
|
|
30
30
|
lowPowerMode?: number;
|
|
31
31
|
}
|
package/src/clusters/inovelli.ts
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { attribute, bool, cluster, uint32 } from "@matter/main/model";
|
|
7
|
+
import { attribute, bool, cluster, uint32, writable } from "@matter/main/model";
|
|
8
8
|
|
|
9
9
|
@cluster(0x122ffc31)
|
|
10
10
|
export class InovelliCluster {
|
|
11
|
-
@attribute(0x122f0061, uint32)
|
|
11
|
+
@attribute(0x122f0061, uint32, writable)
|
|
12
12
|
ledIndicatorIntensityOn?: number;
|
|
13
13
|
|
|
14
|
-
@attribute(0x122f0062, uint32)
|
|
14
|
+
@attribute(0x122f0062, uint32, writable)
|
|
15
15
|
ledIndicatorIntensityOff?: number;
|
|
16
16
|
|
|
17
|
-
@attribute(0x122f0106, bool)
|
|
17
|
+
@attribute(0x122f0106, bool, writable)
|
|
18
18
|
clearNotificationWithConfigDoubleTap?: boolean;
|
|
19
19
|
}
|