@matter-server/custom-clusters 0.4.3 → 0.4.4-alpha.1-20260305-5ca8493
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.
|
@@ -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 _acPowerDivisor_dec, _acPowerMultiplier_dec, _acCurrentDivisor_dec, _acCurrentMultiplier_dec, _acVoltageDivisor_dec, _acVoltageMultiplier_dec, _activePower_dec, _rmsCurrent_dec, _rmsVoltage_dec, _DraftElectricalMeasurementCluster_decorators, _init;
|
|
55
|
-
import { attribute, cluster, uint32 } from "@matter/main/model";
|
|
56
|
-
_DraftElectricalMeasurementCluster_decorators = [cluster(2820)], _rmsVoltage_dec = [attribute(1285, uint32)], _rmsCurrent_dec = [attribute(1288, uint32)], _activePower_dec = [attribute(1291,
|
|
55
|
+
import { attribute, cluster, uint32, int32 } from "@matter/main/model";
|
|
56
|
+
_DraftElectricalMeasurementCluster_decorators = [cluster(2820)], _rmsVoltage_dec = [attribute(1285, uint32)], _rmsCurrent_dec = [attribute(1288, uint32)], _activePower_dec = [attribute(1291, int32)], _acVoltageMultiplier_dec = [attribute(1536, uint32)], _acVoltageDivisor_dec = [attribute(1537, uint32)], _acCurrentMultiplier_dec = [attribute(1538, uint32)], _acCurrentDivisor_dec = [attribute(1539, uint32)], _acPowerMultiplier_dec = [attribute(1540, uint32)], _acPowerDivisor_dec = [attribute(1541, uint32)];
|
|
57
57
|
class DraftElectricalMeasurementCluster {
|
|
58
58
|
constructor() {
|
|
59
59
|
__publicField(this, "rmsVoltage", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/clusters/draft-electrical-measurement.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,QAAQ,aAAa;AAElD,iDAAC,QAAQ,IAAU,IAEf,mBAAC,UAAU,MAAY,MAAM,IAG7B,mBAAC,UAAU,MAAY,MAAM,IAG7B,oBAAC,UAAU,MAAY,KAAK,IAG5B,4BAAC,UAAU,MAAY,MAAM,IAG7B,yBAAC,UAAU,MAAY,MAAM,IAG7B,4BAAC,UAAU,MAAY,MAAM,IAG7B,yBAAC,UAAU,MAAY,MAAM,IAG7B,0BAAC,UAAU,MAAY,MAAM,IAG7B,uBAAC,UAAU,MAAY,MAAM;AAzB1B,MAAM,kCAAkC;AAAA,EAAxC;AAEH;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAGA;AAAA;AACJ;AA3BO;AAEH,0CADA,iBADS;AAKT,0CADA,iBAJS;AAQT,2CADA,kBAPS;AAWT,mDADA,0BAVS;AAcT,gDADA,uBAbS;AAiBT,mDADA,0BAhBS;AAoBT,gDADA,uBAnBS;AAuBT,iDADA,wBAtBS;AA0BT,8CADA,qBAzBS;AAAA,oCAAN,iEADP,+CACa;AAAN,4BAAM;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/clusters/eve.js
CHANGED
|
@@ -53,7 +53,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
53
53
|
*/
|
|
54
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
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,
|
|
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, uint32)], _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, "getConfig", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { attribute, cluster, uint32 } from "@matter/main/model";
|
|
7
|
+
import { attribute, cluster, uint32, int32 } from "@matter/main/model";
|
|
8
8
|
|
|
9
9
|
@cluster(0x00000b04)
|
|
10
10
|
export class DraftElectricalMeasurementCluster {
|
|
@@ -14,7 +14,7 @@ export class DraftElectricalMeasurementCluster {
|
|
|
14
14
|
@attribute(0x00000508, uint32)
|
|
15
15
|
rmsCurrent?: number;
|
|
16
16
|
|
|
17
|
-
@attribute(0x0000050b,
|
|
17
|
+
@attribute(0x0000050b, int32)
|
|
18
18
|
activePower?: number;
|
|
19
19
|
|
|
20
20
|
@attribute(0x00000600, uint32)
|