@matter-server/custom-clusters 0.3.7 → 0.3.8-alpha.0-20260214-9420b83
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.
|
@@ -3,15 +3,23 @@
|
|
|
3
3
|
* Copyright 2025-2026 Open Home Foundation
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import { Bytes } from "@matter/main";
|
|
6
7
|
export declare class EveCluster {
|
|
8
|
+
getConfig?: Bytes;
|
|
9
|
+
setConfig?: Bytes;
|
|
10
|
+
loggingMetadata?: Bytes;
|
|
11
|
+
loggingData?: Bytes;
|
|
7
12
|
timesOpened?: number;
|
|
13
|
+
lastEventTime?: number;
|
|
8
14
|
watt?: number;
|
|
9
15
|
wattAccumulated?: number;
|
|
16
|
+
statusFault?: number;
|
|
10
17
|
wattAccumulatedControlPoint?: number;
|
|
11
18
|
voltage?: number;
|
|
12
19
|
current?: number;
|
|
13
20
|
obstructionDetected?: boolean;
|
|
14
21
|
childLock?: boolean;
|
|
22
|
+
rloc16?: number;
|
|
15
23
|
altitude?: number;
|
|
16
24
|
pressure?: number;
|
|
17
25
|
weatherTrend?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eve.d.ts","sourceRoot":"","sources":["../../../src/clusters/eve.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"eve.d.ts","sourceRoot":"","sources":["../../../src/clusters/eve.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAGrC,qBACa,UAAU;IAEnB,SAAS,CAAC,EAAE,KAAK,CAAC;IAGlB,SAAS,CAAC,EAAE,KAAK,CAAC;IAGlB,eAAe,CAAC,EAAE,KAAK,CAAC;IAGxB,WAAW,CAAC,EAAE,KAAK,CAAC;IAGpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAG9B,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,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,35 +51,49 @@ 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, _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)];
|
|
54
|
+
var _motionSensitivity_dec, _valvePosition_dec, _weatherTrend_dec, _pressure_dec, _altitude_dec, _rloc16_dec, _childLock_dec, _obstructionDetected_dec, _current_dec, _voltage_dec, _wattAccumulatedControlPoint_dec, _statusFault_dec, _wattAccumulated_dec, _watt_dec, _lastEventTime_dec, _timesOpened_dec, _loggingData_dec, _loggingMetadata_dec, _setConfig_dec, _getConfig_dec, _EveCluster_decorators, _init;
|
|
55
|
+
import { attribute, bool, cluster, octstr, single, uint8, uint16, uint32, writable } from "@matter/main/model";
|
|
56
|
+
_EveCluster_decorators = [cluster(319486977)], _getConfig_dec = [attribute(319422464, octstr)], _setConfig_dec = [attribute(319422465, octstr, writable)], _loggingMetadata_dec = [attribute(319422466, octstr)], _loggingData_dec = [attribute(319422467, octstr)], _timesOpened_dec = [attribute(319422470, uint32)], _lastEventTime_dec = [attribute(319422471, uint32)], _watt_dec = [attribute(319422474, single)], _wattAccumulated_dec = [attribute(319422475, single)], _statusFault_dec = [attribute(319422476, uint8)], _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)], _rloc16_dec = [attribute(319422482, uint16)], _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
|
-
__publicField(this, "
|
|
60
|
-
__publicField(this, "
|
|
61
|
-
__publicField(this, "
|
|
62
|
-
__publicField(this, "
|
|
63
|
-
__publicField(this, "
|
|
64
|
-
__publicField(this, "
|
|
65
|
-
__publicField(this, "
|
|
66
|
-
__publicField(this, "
|
|
67
|
-
__publicField(this, "
|
|
68
|
-
__publicField(this, "
|
|
69
|
-
__publicField(this, "
|
|
70
|
-
__publicField(this, "
|
|
71
|
-
__publicField(this, "
|
|
59
|
+
__publicField(this, "getConfig", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
|
60
|
+
__publicField(this, "setConfig", __runInitializers(_init, 12, this)), __runInitializers(_init, 15, this);
|
|
61
|
+
__publicField(this, "loggingMetadata", __runInitializers(_init, 16, this)), __runInitializers(_init, 19, this);
|
|
62
|
+
__publicField(this, "loggingData", __runInitializers(_init, 20, this)), __runInitializers(_init, 23, this);
|
|
63
|
+
__publicField(this, "timesOpened", __runInitializers(_init, 24, this)), __runInitializers(_init, 27, this);
|
|
64
|
+
__publicField(this, "lastEventTime", __runInitializers(_init, 28, this)), __runInitializers(_init, 31, this);
|
|
65
|
+
__publicField(this, "watt", __runInitializers(_init, 32, this)), __runInitializers(_init, 35, this);
|
|
66
|
+
__publicField(this, "wattAccumulated", __runInitializers(_init, 36, this)), __runInitializers(_init, 39, this);
|
|
67
|
+
__publicField(this, "statusFault", __runInitializers(_init, 40, this)), __runInitializers(_init, 43, this);
|
|
68
|
+
__publicField(this, "wattAccumulatedControlPoint", __runInitializers(_init, 44, this)), __runInitializers(_init, 47, this);
|
|
69
|
+
__publicField(this, "voltage", __runInitializers(_init, 48, this)), __runInitializers(_init, 51, this);
|
|
70
|
+
__publicField(this, "current", __runInitializers(_init, 52, this)), __runInitializers(_init, 55, this);
|
|
71
|
+
__publicField(this, "obstructionDetected", __runInitializers(_init, 56, this)), __runInitializers(_init, 59, this);
|
|
72
|
+
__publicField(this, "childLock", __runInitializers(_init, 60, this)), __runInitializers(_init, 63, this);
|
|
73
|
+
__publicField(this, "rloc16", __runInitializers(_init, 64, this)), __runInitializers(_init, 67, this);
|
|
74
|
+
__publicField(this, "altitude", __runInitializers(_init, 68, this)), __runInitializers(_init, 71, this);
|
|
75
|
+
__publicField(this, "pressure", __runInitializers(_init, 72, this)), __runInitializers(_init, 75, this);
|
|
76
|
+
__publicField(this, "weatherTrend", __runInitializers(_init, 76, this)), __runInitializers(_init, 79, this);
|
|
77
|
+
__publicField(this, "valvePosition", __runInitializers(_init, 80, this)), __runInitializers(_init, 83, this);
|
|
78
|
+
__publicField(this, "motionSensitivity", __runInitializers(_init, 84, this)), __runInitializers(_init, 87, this);
|
|
72
79
|
}
|
|
73
80
|
}
|
|
74
81
|
_init = __decoratorStart(null);
|
|
82
|
+
__decorateElement(_init, 5, "getConfig", _getConfig_dec, EveCluster);
|
|
83
|
+
__decorateElement(_init, 5, "setConfig", _setConfig_dec, EveCluster);
|
|
84
|
+
__decorateElement(_init, 5, "loggingMetadata", _loggingMetadata_dec, EveCluster);
|
|
85
|
+
__decorateElement(_init, 5, "loggingData", _loggingData_dec, EveCluster);
|
|
75
86
|
__decorateElement(_init, 5, "timesOpened", _timesOpened_dec, EveCluster);
|
|
87
|
+
__decorateElement(_init, 5, "lastEventTime", _lastEventTime_dec, EveCluster);
|
|
76
88
|
__decorateElement(_init, 5, "watt", _watt_dec, EveCluster);
|
|
77
89
|
__decorateElement(_init, 5, "wattAccumulated", _wattAccumulated_dec, EveCluster);
|
|
90
|
+
__decorateElement(_init, 5, "statusFault", _statusFault_dec, EveCluster);
|
|
78
91
|
__decorateElement(_init, 5, "wattAccumulatedControlPoint", _wattAccumulatedControlPoint_dec, EveCluster);
|
|
79
92
|
__decorateElement(_init, 5, "voltage", _voltage_dec, EveCluster);
|
|
80
93
|
__decorateElement(_init, 5, "current", _current_dec, EveCluster);
|
|
81
94
|
__decorateElement(_init, 5, "obstructionDetected", _obstructionDetected_dec, EveCluster);
|
|
82
95
|
__decorateElement(_init, 5, "childLock", _childLock_dec, EveCluster);
|
|
96
|
+
__decorateElement(_init, 5, "rloc16", _rloc16_dec, EveCluster);
|
|
83
97
|
__decorateElement(_init, 5, "altitude", _altitude_dec, EveCluster);
|
|
84
98
|
__decorateElement(_init, 5, "pressure", _pressure_dec, EveCluster);
|
|
85
99
|
__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;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,SAAS,WAAW,MAAM,SAAS,QAAQ,QAAQ,OAAO,QAAQ,QAAQ,gBAAgB;AAE1F,0BAAC,QAAQ,SAAU,IAEf,kBAAC,UAAU,WAAY,MAAM,IAG7B,kBAAC,UAAU,WAAY,QAAQ,QAAQ,IAGvC,wBAAC,UAAU,WAAY,MAAM,IAG7B,oBAAC,UAAU,WAAY,MAAM,IAG7B,oBAAC,UAAU,WAAY,MAAM,IAG7B,sBAAC,UAAU,WAAY,MAAM,IAG7B,aAAC,UAAU,WAAY,MAAM,IAG7B,wBAAC,UAAU,WAAY,MAAM,IAG7B,oBAAC,UAAU,WAAY,KAAK,IAG5B,oCAAC,UAAU,WAAY,MAAM,IAE7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,gBAAC,UAAU,WAAY,MAAM,IAG7B,4BAAC,UAAU,WAAY,IAAI,IAG3B,kBAAC,UAAU,WAAY,MAAM,QAAQ,IAGrC,eAAC,UAAU,WAAY,MAAM,IAG7B,iBAAC,UAAU,WAAY,MAAM,IAG7B,iBAAC,UAAU,WAAY,MAAM,IAG7B,qBAAC,UAAU,WAAY,MAAM,IAG7B,sBAAC,UAAU,WAAY,MAAM,IAG7B,0BAAC,UAAU,WAAY,MAAM;AAzD1B,MAAM,WAAW;AAAA,EAAjB;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAEA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AA3DO;AAEH,yCADA,gBADS;AAKT,yCADA,gBAJS;AAQT,+CADA,sBAPS;AAWT,2CADA,kBAVS;AAcT,2CADA,kBAbS;AAiBT,6CADA,oBAhBS;AAoBT,oCADA,WAnBS;AAuBT,+CADA,sBAtBS;AA0BT,2CADA,kBAzBS;AA6BT,2DADA,kCA5BS;AA+BT,uCADA,cA9BS;AAkCT,uCADA,cAjCS;AAqCT,mDADA,0BApCS;AAwCT,yCADA,gBAvCS;AA2CT,sCADA,aA1CS;AA8CT,wCADA,eA7CS;AAiDT,wCADA,eAhDS;AAoDT,4CADA,mBAnDS;AAuDT,6CADA,oBAtDS;AA0DT,iDADA,wBAzDS;AAAA,aAAN,0CADP,wBACa;AAAN,4BAAM;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
package/src/clusters/eve.ts
CHANGED
|
@@ -4,22 +4,40 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { Bytes } from "@matter/main";
|
|
8
|
+
import { attribute, bool, cluster, octstr, single, uint8, uint16, uint32, writable } from "@matter/main/model";
|
|
8
9
|
|
|
9
10
|
@cluster(0x130afc01)
|
|
10
11
|
export class EveCluster {
|
|
12
|
+
@attribute(0x130a0000, octstr)
|
|
13
|
+
getConfig?: Bytes;
|
|
14
|
+
|
|
15
|
+
@attribute(0x130a0001, octstr, writable)
|
|
16
|
+
setConfig?: Bytes;
|
|
17
|
+
|
|
18
|
+
@attribute(0x130a0002, octstr)
|
|
19
|
+
loggingMetadata?: Bytes;
|
|
20
|
+
|
|
21
|
+
@attribute(0x130a0003, octstr)
|
|
22
|
+
loggingData?: Bytes;
|
|
23
|
+
|
|
11
24
|
@attribute(0x130a0006, uint32)
|
|
12
25
|
timesOpened?: number;
|
|
13
26
|
|
|
27
|
+
@attribute(0x130a0007, uint32)
|
|
28
|
+
lastEventTime?: number;
|
|
29
|
+
|
|
14
30
|
@attribute(0x130a000a, single)
|
|
15
31
|
watt?: number;
|
|
16
32
|
|
|
17
33
|
@attribute(0x130a000b, single)
|
|
18
34
|
wattAccumulated?: number;
|
|
19
35
|
|
|
36
|
+
@attribute(0x130a000c, uint8)
|
|
37
|
+
statusFault?: number;
|
|
38
|
+
|
|
20
39
|
@attribute(0x130a000e, uint32)
|
|
21
40
|
wattAccumulatedControlPoint?: number;
|
|
22
|
-
|
|
23
41
|
@attribute(0x130a0008, single)
|
|
24
42
|
voltage?: number;
|
|
25
43
|
|
|
@@ -32,6 +50,9 @@ export class EveCluster {
|
|
|
32
50
|
@attribute(0x130a0011, bool, writable)
|
|
33
51
|
childLock?: boolean;
|
|
34
52
|
|
|
53
|
+
@attribute(0x130a0012, uint16)
|
|
54
|
+
rloc16?: number;
|
|
55
|
+
|
|
35
56
|
@attribute(0x130a0013, single)
|
|
36
57
|
altitude?: number;
|
|
37
58
|
|