zigbee-herdsman 10.0.1 → 10.0.3
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 +23 -0
- package/dist/adapter/serialPort.d.ts.map +1 -1
- package/dist/adapter/serialPort.js +7 -0
- package/dist/adapter/serialPort.js.map +1 -1
- package/dist/adapter/z-stack/adapter/manager.d.ts.map +1 -1
- package/dist/adapter/z-stack/adapter/manager.js +11 -1
- package/dist/adapter/z-stack/adapter/manager.js.map +1 -1
- package/dist/controller/controller.d.ts.map +1 -1
- package/dist/controller/controller.js +6 -1
- package/dist/controller/controller.js.map +1 -1
- package/dist/controller/model/device.d.ts +1 -1
- package/dist/controller/model/device.d.ts.map +1 -1
- package/dist/controller/model/device.js +70 -50
- package/dist/controller/model/device.js.map +1 -1
- package/dist/controller/model/endpoint.d.ts +2 -1
- package/dist/controller/model/endpoint.d.ts.map +1 -1
- package/dist/controller/model/endpoint.js.map +1 -1
- package/dist/zspec/zcl/buffaloZcl.d.ts +3 -3
- package/dist/zspec/zcl/buffaloZcl.d.ts.map +1 -1
- package/dist/zspec/zcl/buffaloZcl.js.map +1 -1
- package/dist/zspec/zcl/definition/cluster.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/cluster.js +0 -721
- package/dist/zspec/zcl/definition/cluster.js.map +1 -1
- package/dist/zspec/zcl/definition/clusters-types.d.ts +25 -415
- package/dist/zspec/zcl/definition/clusters-types.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/enums.d.ts +0 -1
- package/dist/zspec/zcl/definition/enums.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/enums.js +0 -1
- package/dist/zspec/zcl/definition/enums.js.map +1 -1
- package/dist/zspec/zcl/definition/foundation.d.ts +306 -7
- package/dist/zspec/zcl/definition/foundation.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/foundation.js +552 -207
- package/dist/zspec/zcl/definition/foundation.js.map +1 -1
- package/dist/zspec/zcl/definition/status.d.ts +21 -10
- package/dist/zspec/zcl/definition/status.d.ts.map +1 -1
- package/dist/zspec/zcl/definition/status.js +11 -0
- package/dist/zspec/zcl/definition/status.js.map +1 -1
- package/dist/zspec/zcl/definition/tstype.d.ts +1 -4
- package/dist/zspec/zcl/definition/tstype.d.ts.map +1 -1
- package/dist/zspec/zcl/utils.d.ts +4 -4
- package/dist/zspec/zcl/utils.d.ts.map +1 -1
- package/dist/zspec/zcl/utils.js +54 -104
- package/dist/zspec/zcl/utils.js.map +1 -1
- package/dist/zspec/zcl/zclFrame.d.ts +4 -4
- package/dist/zspec/zcl/zclFrame.d.ts.map +1 -1
- package/dist/zspec/zcl/zclFrame.js +11 -95
- package/dist/zspec/zcl/zclFrame.js.map +1 -1
- package/dist/zspec/zcl/zclStatusError.d.ts +1 -1
- package/dist/zspec/zcl/zclStatusError.d.ts.map +1 -1
- package/dist/zspec/zcl/zclStatusError.js +2 -2
- package/dist/zspec/zcl/zclStatusError.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Foundation } from "./foundation";
|
|
2
|
+
import type { ExtensionFieldSet, Gpd, GpdAttributeReport, GpdChannelConfiguration, GpdChannelRequest, GpdCommissioningReply, GpdCustomReply, MiboxerZone, Struct, ThermoTransition, TuyaDataPointValue, ZclArray, ZoneInfo } from "./tstype";
|
|
2
3
|
export interface TClusters {
|
|
3
4
|
genBasic: {
|
|
4
5
|
attributes: {
|
|
@@ -44,8 +45,6 @@ export interface TClusters {
|
|
|
44
45
|
disableLocalConfig: number;
|
|
45
46
|
/** ID=0x4000 | type=CHAR_STR | default= | maxLen=16 */
|
|
46
47
|
swBuildId: string;
|
|
47
|
-
/** ID=0xe200 | type=INT8 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | min=-128 | max=127 */
|
|
48
|
-
schneiderMeterRadioPower?: number;
|
|
49
48
|
};
|
|
50
49
|
commands: {
|
|
51
50
|
/** ID=0x00 */
|
|
@@ -3116,86 +3115,16 @@ export interface TClusters {
|
|
|
3116
3115
|
fourNoksHysteresisHigh?: number;
|
|
3117
3116
|
/** ID=0x0102 | type=UINT16 | manufacturerCode=ASTREL_GROUP_SRL(0x1071) | write=true | max=65535 */
|
|
3118
3117
|
fourNoksHysteresisLow?: number;
|
|
3119
|
-
/** ID=0x0400 | type=ENUM8 | manufacturerCode=SINOPE_TECHNOLOGIES(0x119c) | write=true | max=255 */
|
|
3120
|
-
SinopeOccupancy?: number;
|
|
3121
|
-
/** ID=0x0401 | type=UINT16 | manufacturerCode=SINOPE_TECHNOLOGIES(0x119c) | write=true | max=65535 */
|
|
3122
|
-
SinopeMainCycleOutput?: number;
|
|
3123
|
-
/** ID=0x0402 | type=ENUM8 | manufacturerCode=SINOPE_TECHNOLOGIES(0x119c) | write=true | max=255 */
|
|
3124
|
-
SinopeBacklight?: number;
|
|
3125
|
-
/** ID=0x0404 | type=UINT16 | manufacturerCode=SINOPE_TECHNOLOGIES(0x119c) | write=true | max=65535 */
|
|
3126
|
-
SinopeAuxCycleOutput?: number;
|
|
3127
3118
|
/** ID=0x4000 | type=ENUM8 | manufacturerCode=VIESSMANN_ELEKTRONIK_GMBH(0x1221) | write=true | max=255 */
|
|
3128
3119
|
viessmannWindowOpenInternal?: number;
|
|
3129
|
-
/** ID=0x4000 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3130
|
-
danfossWindowOpenInternal?: number;
|
|
3131
3120
|
/** ID=0x4001 | type=INT16 | write=true | min=-32768 | max=32767 */
|
|
3132
3121
|
StelproOutdoorTemp: number;
|
|
3133
3122
|
/** ID=0x4003 | type=BOOLEAN | manufacturerCode=VIESSMANN_ELEKTRONIK_GMBH(0x1221) | write=true */
|
|
3134
3123
|
viessmannWindowOpenForce?: number;
|
|
3135
|
-
/** ID=0x4003 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3136
|
-
danfossWindowOpenExternal?: number;
|
|
3137
|
-
/** ID=0x4010 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3138
|
-
danfossDayOfWeek?: number;
|
|
3139
|
-
/** ID=0x4011 | type=UINT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=65535 */
|
|
3140
|
-
danfossTriggerTime?: number;
|
|
3141
3124
|
/** ID=0x4012 | type=BOOLEAN | manufacturerCode=VIESSMANN_ELEKTRONIK_GMBH(0x1221) | write=true */
|
|
3142
3125
|
viessmannAssemblyMode?: number;
|
|
3143
|
-
/** ID=0x4012 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3144
|
-
danfossMountedModeActive?: number;
|
|
3145
|
-
/** ID=0x4013 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3146
|
-
danfossMountedModeControl?: number;
|
|
3147
|
-
/** ID=0x4014 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3148
|
-
danfossThermostatOrientation?: number;
|
|
3149
|
-
/** ID=0x4015 | type=INT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-32768 | max=32767 */
|
|
3150
|
-
danfossExternalMeasuredRoomSensor?: number;
|
|
3151
|
-
/** ID=0x4016 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3152
|
-
danfossRadiatorCovered?: number;
|
|
3153
3126
|
/** ID=0x401c | type=ENUM8 | write=true | max=255 */
|
|
3154
3127
|
StelproSystemMode: number;
|
|
3155
|
-
/** ID=0x4020 | type=UINT8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3156
|
-
danfossAlgorithmScaleFactor?: number;
|
|
3157
|
-
/** ID=0x4030 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3158
|
-
danfossHeatAvailable?: number;
|
|
3159
|
-
/** ID=0x4031 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3160
|
-
danfossHeatRequired?: number;
|
|
3161
|
-
/** ID=0x4032 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3162
|
-
danfossLoadBalancingEnable?: number;
|
|
3163
|
-
/** ID=0x4040 | type=INT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-32768 | max=32767 */
|
|
3164
|
-
danfossLoadRoomMean?: number;
|
|
3165
|
-
/** ID=0x404a | type=INT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-32768 | max=32767 */
|
|
3166
|
-
danfossLoadEstimate?: number;
|
|
3167
|
-
/** ID=0x404b | type=INT8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-128 | max=127 */
|
|
3168
|
-
danfossRegulationSetpointOffset?: number;
|
|
3169
|
-
/** ID=0x404c | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3170
|
-
danfossAdaptionRunControl?: number;
|
|
3171
|
-
/** ID=0x404d | type=BITMAP8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3172
|
-
danfossAdaptionRunStatus?: number;
|
|
3173
|
-
/** ID=0x404e | type=BITMAP8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3174
|
-
danfossAdaptionRunSettings?: number;
|
|
3175
|
-
/** ID=0x404f | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3176
|
-
danfossPreheatStatus?: number;
|
|
3177
|
-
/** ID=0x4050 | type=UINT32 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3178
|
-
danfossPreheatTime?: number;
|
|
3179
|
-
/** ID=0x4051 | type=BOOLEAN | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3180
|
-
danfossWindowOpenFeatureEnable?: number;
|
|
3181
|
-
/** ID=0x4100 | type=BITMAP16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
3182
|
-
danfossRoomStatusCode?: number;
|
|
3183
|
-
/** ID=0x4110 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3184
|
-
danfossOutputStatus?: number;
|
|
3185
|
-
/** ID=0x4120 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3186
|
-
danfossRoomFloorSensorMode?: number;
|
|
3187
|
-
/** ID=0x4121 | type=INT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-32768 | max=32767 */
|
|
3188
|
-
danfossFloorMinSetpoint?: number;
|
|
3189
|
-
/** ID=0x4122 | type=INT16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | min=-32768 | max=32767 */
|
|
3190
|
-
danfossFloorMaxSetpoint?: number;
|
|
3191
|
-
/** ID=0x4130 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3192
|
-
danfossScheduleTypeUsed?: number;
|
|
3193
|
-
/** ID=0x4131 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3194
|
-
danfossIcon2PreHeat?: number;
|
|
3195
|
-
/** ID=0x414f | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3196
|
-
danfossIcon2PreHeatStatus?: number;
|
|
3197
|
-
/** ID=0xe110 | type=ENUM8 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | max=255 */
|
|
3198
|
-
schneiderWiserSpecific?: number;
|
|
3199
3128
|
};
|
|
3200
3129
|
commands: {
|
|
3201
3130
|
/** ID=0x00 | required=true */
|
|
@@ -3227,48 +3156,8 @@ export interface TClusters {
|
|
|
3227
3156
|
clearWeeklySchedule: Record<string, never>;
|
|
3228
3157
|
/** ID=0x04 | response=1 */
|
|
3229
3158
|
getRelayStatusLog: Record<string, never>;
|
|
3230
|
-
/** ID=0x40 */
|
|
3231
|
-
danfossSetpointCommand: {
|
|
3232
|
-
/** type=ENUM8 | max=255 */
|
|
3233
|
-
setpointType: number;
|
|
3234
|
-
/** type=INT16 | min=-32768 | max=32767 */
|
|
3235
|
-
setpoint: number;
|
|
3236
|
-
};
|
|
3237
|
-
/** ID=0x80 */
|
|
3238
|
-
schneiderWiserThermostatBoost: {
|
|
3239
|
-
/** type=ENUM8 | max=255 */
|
|
3240
|
-
command: number;
|
|
3241
|
-
/** type=ENUM8 | max=255 */
|
|
3242
|
-
enable: number;
|
|
3243
|
-
/** type=UINT16 | max=65535 */
|
|
3244
|
-
temperature: number;
|
|
3245
|
-
/** type=UINT16 | max=65535 */
|
|
3246
|
-
duration: number;
|
|
3247
|
-
};
|
|
3248
3159
|
/** ID=0xa0 */
|
|
3249
3160
|
plugwiseCalibrateValve: Record<string, never>;
|
|
3250
|
-
/** ID=0xe0 */
|
|
3251
|
-
wiserSmartSetSetpoint: {
|
|
3252
|
-
/** type=UINT8 | max=255 */
|
|
3253
|
-
operatingmode: number;
|
|
3254
|
-
/** type=UINT8 | max=255 */
|
|
3255
|
-
zonemode: number;
|
|
3256
|
-
/** type=INT16 | min=-32768 | max=32767 */
|
|
3257
|
-
setpoint: number;
|
|
3258
|
-
/** type=UINT8 | max=255 */
|
|
3259
|
-
reserved: number;
|
|
3260
|
-
};
|
|
3261
|
-
/** ID=0xe1 */
|
|
3262
|
-
wiserSmartSetFipMode: {
|
|
3263
|
-
/** type=UINT8 | max=255 */
|
|
3264
|
-
zonemode: number;
|
|
3265
|
-
/** type=ENUM8 | max=255 */
|
|
3266
|
-
fipmode: number;
|
|
3267
|
-
/** type=UINT8 | max=255 */
|
|
3268
|
-
reserved: number;
|
|
3269
|
-
};
|
|
3270
|
-
/** ID=0xe2 */
|
|
3271
|
-
wiserSmartCalibrateValve: Record<string, never>;
|
|
3272
3161
|
};
|
|
3273
3162
|
commandResponses: {
|
|
3274
3163
|
/** ID=0x00 */
|
|
@@ -3339,8 +3228,6 @@ export interface TClusters {
|
|
|
3339
3228
|
keypadLockout: number;
|
|
3340
3229
|
/** ID=0x0002 | type=ENUM8 | write=true | max=1 | default=0 */
|
|
3341
3230
|
programmingVisibility: number;
|
|
3342
|
-
/** ID=0x4000 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
3343
|
-
danfossViewingDirection?: number;
|
|
3344
3231
|
};
|
|
3345
3232
|
commands: never;
|
|
3346
3233
|
commandResponses: never;
|
|
@@ -3784,8 +3671,6 @@ export interface TClusters {
|
|
|
3784
3671
|
lampAlarmMode: number;
|
|
3785
3672
|
/** ID=0x0035 | type=UINT24 | write=true | max=16777214 | default=16777215 */
|
|
3786
3673
|
lampBurnHoursTripPoint: number;
|
|
3787
|
-
/** ID=0xe000 | type=ENUM8 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | max=255 */
|
|
3788
|
-
wiserControlMode?: number;
|
|
3789
3674
|
};
|
|
3790
3675
|
commands: never;
|
|
3791
3676
|
commandResponses: never;
|
|
@@ -5629,82 +5514,6 @@ export interface TClusters {
|
|
|
5629
5514
|
projectedBillTimeStampReceived: number;
|
|
5630
5515
|
/** ID=0x0a14 | type=BITMAP8 */
|
|
5631
5516
|
billReceivedTrailingDigit: number;
|
|
5632
|
-
/** ID=0x0300 | type=UINT16 | manufacturerCode=DEVELCO(0x1015) | write=true | max=65535 */
|
|
5633
|
-
develcoPulseConfiguration?: number;
|
|
5634
|
-
/** ID=0x0301 | type=UINT48 | manufacturerCode=DEVELCO(0x1015) | write=true | max=281474976710655 */
|
|
5635
|
-
develcoCurrentSummation?: number;
|
|
5636
|
-
/** ID=0x0302 | type=ENUM16 | manufacturerCode=DEVELCO(0x1015) | write=true | max=65535 */
|
|
5637
|
-
develcoInterfaceMode?: number;
|
|
5638
|
-
/** ID=0x2000 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5639
|
-
owonL1PhasePower?: number;
|
|
5640
|
-
/** ID=0x2001 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5641
|
-
owonL2PhasePower?: number;
|
|
5642
|
-
/** ID=0x2002 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5643
|
-
owonL3PhasePower?: number;
|
|
5644
|
-
/** ID=0x2100 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5645
|
-
owonL1PhaseReactivePower?: number;
|
|
5646
|
-
/** ID=0x2101 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5647
|
-
owonL2PhaseReactivePower?: number;
|
|
5648
|
-
/** ID=0x2102 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5649
|
-
owonL3PhaseReactivePower?: number;
|
|
5650
|
-
/** ID=0x2103 | type=INT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-8388608 | max=8388607 */
|
|
5651
|
-
owonReactivePowerSum?: number;
|
|
5652
|
-
/** ID=0x3000 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5653
|
-
owonL1PhaseVoltage?: number;
|
|
5654
|
-
/** ID=0x3001 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5655
|
-
owonL2PhaseVoltage?: number;
|
|
5656
|
-
/** ID=0x3002 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5657
|
-
owonL3PhaseVoltage?: number;
|
|
5658
|
-
/** ID=0x3100 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5659
|
-
owonL1PhaseCurrent?: number;
|
|
5660
|
-
/** ID=0x3101 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5661
|
-
owonL2PhaseCurrent?: number;
|
|
5662
|
-
/** ID=0x3102 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5663
|
-
owonL3PhaseCurrent?: number;
|
|
5664
|
-
/** ID=0x3103 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5665
|
-
owonCurrentSum?: number;
|
|
5666
|
-
/** ID=0x3104 | type=UINT24 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=16777215 */
|
|
5667
|
-
owonLeakageCurrent?: number;
|
|
5668
|
-
/** ID=0x4000 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5669
|
-
owonL1Energy?: number;
|
|
5670
|
-
/** ID=0x4001 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5671
|
-
owonL2Energy?: number;
|
|
5672
|
-
/** ID=0x4002 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5673
|
-
owonL3Energy?: number;
|
|
5674
|
-
/** ID=0x4100 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5675
|
-
owonL1ReactiveEnergy?: number;
|
|
5676
|
-
/** ID=0x4101 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5677
|
-
owonL2ReactiveEnergy?: number;
|
|
5678
|
-
/** ID=0x4102 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5679
|
-
owonL3ReactiveEnergy?: number;
|
|
5680
|
-
/** ID=0x4103 | type=UINT48 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=281474976710655 */
|
|
5681
|
-
owonReactiveEnergySum?: number;
|
|
5682
|
-
/** ID=0x4104 | type=INT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-128 | max=127 */
|
|
5683
|
-
owonL1PowerFactor?: number;
|
|
5684
|
-
/** ID=0x4105 | type=INT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-128 | max=127 */
|
|
5685
|
-
owonL2PowerFactor?: number;
|
|
5686
|
-
/** ID=0x4106 | type=INT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | min=-128 | max=127 */
|
|
5687
|
-
owonL3PowerFactor?: number;
|
|
5688
|
-
/** ID=0x5005 | type=UINT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=255 */
|
|
5689
|
-
owonFrequency?: number;
|
|
5690
|
-
/** ID=0x1000 | type=BITMAP8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true */
|
|
5691
|
-
owonReportMap?: number;
|
|
5692
|
-
/** ID=0x5000 | type=UINT32 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=4294967295 */
|
|
5693
|
-
owonLastHistoricalRecordTime?: number;
|
|
5694
|
-
/** ID=0x5001 | type=UINT32 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=4294967295 */
|
|
5695
|
-
owonOldestHistoricalRecordTime?: number;
|
|
5696
|
-
/** ID=0x5002 | type=UINT32 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=4294967295 */
|
|
5697
|
-
owonMinimumReportCycle?: number;
|
|
5698
|
-
/** ID=0x5003 | type=UINT32 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=4294967295 */
|
|
5699
|
-
owonMaximumReportCycle?: number;
|
|
5700
|
-
/** ID=0x5004 | type=UINT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=255 */
|
|
5701
|
-
owonSentHistoricalRecordState?: number;
|
|
5702
|
-
/** ID=0x5006 | type=UINT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=255 */
|
|
5703
|
-
owonAccumulativeEnergyThreshold?: number;
|
|
5704
|
-
/** ID=0x5007 | type=UINT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=255 */
|
|
5705
|
-
owonReportMode?: number;
|
|
5706
|
-
/** ID=0x5008 | type=UINT8 | manufacturerCode=OWON_TECHNOLOGY_INC(0x113c) | write=true | max=255 */
|
|
5707
|
-
owonPercentChangeInPower?: number;
|
|
5708
5517
|
};
|
|
5709
5518
|
commands: {
|
|
5710
5519
|
/** ID=0x00 | response=0 */
|
|
@@ -5848,10 +5657,6 @@ export interface TClusters {
|
|
|
5848
5657
|
/** type=UINT16 */
|
|
5849
5658
|
measurementPeriod: number;
|
|
5850
5659
|
};
|
|
5851
|
-
/** ID=0x20 */
|
|
5852
|
-
owonGetHistoryRecord: Record<string, never>;
|
|
5853
|
-
/** ID=0x21 */
|
|
5854
|
-
owonStopSendingHistoricalRecord: Record<string, never>;
|
|
5855
5660
|
};
|
|
5856
5661
|
commandResponses: {
|
|
5857
5662
|
/** ID=0x00 */
|
|
@@ -5984,8 +5789,6 @@ export interface TClusters {
|
|
|
5984
5789
|
/** type=UINT16 */
|
|
5985
5790
|
sampleId: number;
|
|
5986
5791
|
};
|
|
5987
|
-
/** ID=0x20 */
|
|
5988
|
-
owonGetHistoryRecordRsp: Record<string, never>;
|
|
5989
5792
|
};
|
|
5990
5793
|
};
|
|
5991
5794
|
seTunneling: {
|
|
@@ -6898,24 +6701,6 @@ export interface TClusters {
|
|
|
6898
6701
|
lastMessageLqi: number;
|
|
6899
6702
|
/** ID=0x011d | type=INT8 | min=-127 | max=127 | default=0 */
|
|
6900
6703
|
lastMessageRssi: number;
|
|
6901
|
-
/** ID=0x4000 | type=BITMAP16 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true */
|
|
6902
|
-
danfossSystemStatusCode?: number;
|
|
6903
|
-
/** ID=0x4000 | type=UINT8 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | max=255 */
|
|
6904
|
-
schneiderCommunicationQuality?: number;
|
|
6905
|
-
/** ID=0x4031 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
6906
|
-
danfossHeatSupplyRequest?: number;
|
|
6907
|
-
/** ID=0x4200 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
6908
|
-
danfossSystemStatusWater?: number;
|
|
6909
|
-
/** ID=0x4201 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
6910
|
-
danfossMultimasterRole?: number;
|
|
6911
|
-
/** ID=0x4210 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
6912
|
-
danfossIconApplication?: number;
|
|
6913
|
-
/** ID=0x4220 | type=ENUM8 | manufacturerCode=DANFOSS_A_S(0x1246) | write=true | max=255 */
|
|
6914
|
-
danfossIconForcedHeatingCooling?: number;
|
|
6915
|
-
/** ID=0xff01 | type=UINT32 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | max=4294967295 */
|
|
6916
|
-
schneiderMeterStatus?: number;
|
|
6917
|
-
/** ID=0xff02 | type=UINT32 | manufacturerCode=SCHNEIDER_ELECTRIC(0x105e) | write=true | max=4294967295 */
|
|
6918
|
-
schneiderDiagnosticRegister1?: number;
|
|
6919
6704
|
};
|
|
6920
6705
|
commands: never;
|
|
6921
6706
|
commandResponses: never;
|
|
@@ -7442,224 +7227,52 @@ export interface TClusters {
|
|
|
7442
7227
|
}
|
|
7443
7228
|
export interface TFoundation {
|
|
7444
7229
|
/** ID: 0 */
|
|
7445
|
-
read:
|
|
7446
|
-
/** Type: DATA16 */
|
|
7447
|
-
attrId: number;
|
|
7448
|
-
}[];
|
|
7230
|
+
read: ReturnType<typeof Foundation.read.parse>;
|
|
7449
7231
|
/** ID: 1 */
|
|
7450
|
-
readRsp:
|
|
7451
|
-
/** Type: DATA16 */
|
|
7452
|
-
attrId: number;
|
|
7453
|
-
/** Type: DATA8 */
|
|
7454
|
-
status: number;
|
|
7455
|
-
/** Type: DATA8 conditions=[{fieldEquals field=status value=0}] */
|
|
7456
|
-
dataType?: number;
|
|
7457
|
-
/** Type: USE_DATA_TYPE conditions=[{fieldEquals field=status value=0}] */
|
|
7458
|
-
attrData?: unknown;
|
|
7459
|
-
}[];
|
|
7232
|
+
readRsp: ReturnType<typeof Foundation.readRsp.parse>;
|
|
7460
7233
|
/** ID: 2 */
|
|
7461
|
-
write:
|
|
7462
|
-
/** Type: DATA16 */
|
|
7463
|
-
attrId: number;
|
|
7464
|
-
/** Type: DATA8 */
|
|
7465
|
-
dataType: number;
|
|
7466
|
-
/** Type: USE_DATA_TYPE */
|
|
7467
|
-
attrData: unknown;
|
|
7468
|
-
}[];
|
|
7234
|
+
write: ReturnType<typeof Foundation.write.parse>;
|
|
7469
7235
|
/** ID: 3 */
|
|
7470
|
-
writeUndiv:
|
|
7471
|
-
/** Type: DATA16 */
|
|
7472
|
-
attrId: number;
|
|
7473
|
-
/** Type: DATA8 */
|
|
7474
|
-
dataType: number;
|
|
7475
|
-
/** Type: USE_DATA_TYPE */
|
|
7476
|
-
attrData: unknown;
|
|
7477
|
-
}[];
|
|
7236
|
+
writeUndiv: ReturnType<typeof Foundation.writeUndiv.parse>;
|
|
7478
7237
|
/** ID: 4 */
|
|
7479
|
-
writeRsp:
|
|
7480
|
-
/** Type: ENUM8 */
|
|
7481
|
-
status: number;
|
|
7482
|
-
/** Type: DATA16 conditions=[{fieldEquals field=status reversed=true value=0}] */
|
|
7483
|
-
attrId?: number;
|
|
7484
|
-
}[];
|
|
7238
|
+
writeRsp: ReturnType<typeof Foundation.writeRsp.parse>;
|
|
7485
7239
|
/** ID: 5 */
|
|
7486
|
-
writeNoRsp:
|
|
7487
|
-
/** Type: DATA16 */
|
|
7488
|
-
attrId: number;
|
|
7489
|
-
/** Type: DATA8 */
|
|
7490
|
-
dataType: number;
|
|
7491
|
-
/** Type: USE_DATA_TYPE */
|
|
7492
|
-
attrData: unknown;
|
|
7493
|
-
}[];
|
|
7240
|
+
writeNoRsp: ReturnType<typeof Foundation.writeNoRsp.parse>;
|
|
7494
7241
|
/** ID: 6 */
|
|
7495
|
-
configReport:
|
|
7496
|
-
/** Type: DATA8 */
|
|
7497
|
-
direction: number;
|
|
7498
|
-
/** Type: DATA16 */
|
|
7499
|
-
attrId: number;
|
|
7500
|
-
/** Type: DATA8 conditions=[{fieldEquals field=direction value=0}] */
|
|
7501
|
-
dataType?: number;
|
|
7502
|
-
/** Type: DATA16 conditions=[{fieldEquals field=direction value=0}] */
|
|
7503
|
-
minRepIntval?: number;
|
|
7504
|
-
/** Type: DATA16 conditions=[{fieldEquals field=direction value=0}] */
|
|
7505
|
-
maxRepIntval?: number;
|
|
7506
|
-
/** Type: USE_DATA_TYPE conditions=[{fieldEquals field=direction value=0}{dataTypeValueTypeEquals value=ANALOG}] */
|
|
7507
|
-
repChange?: unknown;
|
|
7508
|
-
/** Type: DATA16 conditions=[{fieldEquals field=direction value=1}] */
|
|
7509
|
-
timeout?: number;
|
|
7510
|
-
}[];
|
|
7242
|
+
configReport: ReturnType<typeof Foundation.configReport.parse>;
|
|
7511
7243
|
/** ID: 7 */
|
|
7512
|
-
configReportRsp:
|
|
7513
|
-
/** Type: ENUM8 */
|
|
7514
|
-
status: number;
|
|
7515
|
-
/** Type: DATA8 conditions=[{minimumRemainingBufferBytes value=3}] */
|
|
7516
|
-
direction?: number;
|
|
7517
|
-
/** Type: DATA16 conditions=[{minimumRemainingBufferBytes value=2}] */
|
|
7518
|
-
attrId?: number;
|
|
7519
|
-
}[];
|
|
7244
|
+
configReportRsp: ReturnType<typeof Foundation.configReportRsp.parse>;
|
|
7520
7245
|
/** ID: 8 */
|
|
7521
|
-
readReportConfig:
|
|
7522
|
-
/** Type: DATA8 */
|
|
7523
|
-
direction: number;
|
|
7524
|
-
/** Type: DATA16 */
|
|
7525
|
-
attrId: number;
|
|
7526
|
-
}[];
|
|
7246
|
+
readReportConfig: ReturnType<typeof Foundation.readReportConfig.parse>;
|
|
7527
7247
|
/** ID: 9 */
|
|
7528
|
-
readReportConfigRsp:
|
|
7529
|
-
/** Type: ENUM8 */
|
|
7530
|
-
status: number;
|
|
7531
|
-
/** Type: DATA8 */
|
|
7532
|
-
direction: number;
|
|
7533
|
-
/** Type: DATA16 */
|
|
7534
|
-
attrId: number;
|
|
7535
|
-
/** Type: DATA8 conditions=[{fieldEquals field=status value=0}{fieldEquals field=direction value=0}] */
|
|
7536
|
-
dataType?: number;
|
|
7537
|
-
/** Type: DATA16 conditions=[{fieldEquals field=status value=0}{fieldEquals field=direction value=0}] */
|
|
7538
|
-
minRepIntval?: number;
|
|
7539
|
-
/** Type: DATA16 conditions=[{fieldEquals field=status value=0}{fieldEquals field=direction value=0}] */
|
|
7540
|
-
maxRepIntval?: number;
|
|
7541
|
-
/** Type: USE_DATA_TYPE conditions=[{fieldEquals field=status value=0}{fieldEquals field=direction value=0}{dataTypeValueTypeEquals value=ANALOG}] */
|
|
7542
|
-
repChange?: unknown;
|
|
7543
|
-
/** Type: DATA16 conditions=[{fieldEquals field=status value=0}{fieldEquals field=direction value=1}] */
|
|
7544
|
-
timeout?: number;
|
|
7545
|
-
}[];
|
|
7248
|
+
readReportConfigRsp: ReturnType<typeof Foundation.readReportConfigRsp.parse>;
|
|
7546
7249
|
/** ID: 10 */
|
|
7547
|
-
report:
|
|
7548
|
-
/** Type: DATA16 */
|
|
7549
|
-
attrId: number;
|
|
7550
|
-
/** Type: DATA8 */
|
|
7551
|
-
dataType: number;
|
|
7552
|
-
/** Type: USE_DATA_TYPE */
|
|
7553
|
-
attrData: unknown;
|
|
7554
|
-
}[];
|
|
7250
|
+
report: ReturnType<typeof Foundation.report.parse>;
|
|
7555
7251
|
/** ID: 11 */
|
|
7556
|
-
defaultRsp:
|
|
7557
|
-
/** Type: DATA8 */
|
|
7558
|
-
cmdId: number;
|
|
7559
|
-
/** Type: ENUM8 */
|
|
7560
|
-
statusCode: number;
|
|
7561
|
-
};
|
|
7252
|
+
defaultRsp: ReturnType<typeof Foundation.defaultRsp.parse>;
|
|
7562
7253
|
/** ID: 12 */
|
|
7563
|
-
discover:
|
|
7564
|
-
/** Type: DATA16 */
|
|
7565
|
-
startAttrId: number;
|
|
7566
|
-
/** Type: DATA8 */
|
|
7567
|
-
maxAttrIds: number;
|
|
7568
|
-
};
|
|
7254
|
+
discover: ReturnType<typeof Foundation.discover.parse>;
|
|
7569
7255
|
/** ID: 13 */
|
|
7570
|
-
discoverRsp:
|
|
7571
|
-
/** Type: UINT8 */
|
|
7572
|
-
discComplete: number;
|
|
7573
|
-
attrInfos: {
|
|
7574
|
-
/** Type: DATA16 */
|
|
7575
|
-
attrId: number;
|
|
7576
|
-
/** Type: DATA8 */
|
|
7577
|
-
dataType: number;
|
|
7578
|
-
}[];
|
|
7579
|
-
};
|
|
7256
|
+
discoverRsp: ReturnType<typeof Foundation.discoverRsp.parse>;
|
|
7580
7257
|
/** ID: 14 */
|
|
7581
|
-
readStructured:
|
|
7582
|
-
/** Type: DATA16 */
|
|
7583
|
-
attrId: number;
|
|
7584
|
-
/** Type: STRUCTURED_SELECTOR */
|
|
7585
|
-
selector: StructuredSelector;
|
|
7586
|
-
}[];
|
|
7258
|
+
readStructured: ReturnType<typeof Foundation.readStructured.parse>;
|
|
7587
7259
|
/** ID: 15 */
|
|
7588
|
-
writeStructured:
|
|
7589
|
-
/** Type: DATA16 */
|
|
7590
|
-
attrId: number;
|
|
7591
|
-
/** Type: STRUCTURED_SELECTOR */
|
|
7592
|
-
selector: StructuredSelector;
|
|
7593
|
-
/** Type: DATA8 */
|
|
7594
|
-
dataType: number;
|
|
7595
|
-
/** Type: USE_DATA_TYPE */
|
|
7596
|
-
elementData: unknown;
|
|
7597
|
-
}[];
|
|
7260
|
+
writeStructured: ReturnType<typeof Foundation.writeStructured.parse>;
|
|
7598
7261
|
/** ID: 16 */
|
|
7599
|
-
writeStructuredRsp:
|
|
7600
|
-
/** Type: ENUM8 */
|
|
7601
|
-
status: number;
|
|
7602
|
-
/** Type: DATA16 conditions=[{fieldEquals field=status reversed=true value=0}] */
|
|
7603
|
-
attrId?: number;
|
|
7604
|
-
/** Type: STRUCTURED_SELECTOR conditions=[{fieldEquals field=status reversed=true value=0}] */
|
|
7605
|
-
selector?: StructuredSelector;
|
|
7606
|
-
}[];
|
|
7262
|
+
writeStructuredRsp: ReturnType<typeof Foundation.writeStructuredRsp.parse>;
|
|
7607
7263
|
/** ID: 17 */
|
|
7608
|
-
discoverCommands:
|
|
7609
|
-
/** Type: DATA8 */
|
|
7610
|
-
startCmdId: number;
|
|
7611
|
-
/** Type: DATA8 */
|
|
7612
|
-
maxCmdIds: number;
|
|
7613
|
-
};
|
|
7264
|
+
discoverCommands: ReturnType<typeof Foundation.discoverCommands.parse>;
|
|
7614
7265
|
/** ID: 18 */
|
|
7615
|
-
discoverCommandsRsp:
|
|
7616
|
-
/** Type: UINT8 */
|
|
7617
|
-
discComplete: number;
|
|
7618
|
-
attrInfos: {
|
|
7619
|
-
/** Type: DATA8 */
|
|
7620
|
-
cmdId: number;
|
|
7621
|
-
}[];
|
|
7622
|
-
};
|
|
7266
|
+
discoverCommandsRsp: ReturnType<typeof Foundation.discoverCommandsRsp.parse>;
|
|
7623
7267
|
/** ID: 19 */
|
|
7624
|
-
discoverCommandsGen:
|
|
7625
|
-
/** Type: DATA8 */
|
|
7626
|
-
startCmdId: number;
|
|
7627
|
-
/** Type: DATA8 */
|
|
7628
|
-
maxCmdIds: number;
|
|
7629
|
-
};
|
|
7268
|
+
discoverCommandsGen: ReturnType<typeof Foundation.discoverCommandsGen.parse>;
|
|
7630
7269
|
/** ID: 20 */
|
|
7631
|
-
discoverCommandsGenRsp:
|
|
7632
|
-
/** Type: UINT8 */
|
|
7633
|
-
discComplete: number;
|
|
7634
|
-
attrInfos: {
|
|
7635
|
-
/** Type: DATA8 */
|
|
7636
|
-
cmdId: number;
|
|
7637
|
-
}[];
|
|
7638
|
-
};
|
|
7270
|
+
discoverCommandsGenRsp: ReturnType<typeof Foundation.discoverCommandsGenRsp.parse>;
|
|
7639
7271
|
/** ID: 21 */
|
|
7640
|
-
discoverExt:
|
|
7641
|
-
/** Type: DATA16 */
|
|
7642
|
-
startAttrId: number;
|
|
7643
|
-
/** Type: DATA8 */
|
|
7644
|
-
maxAttrIds: number;
|
|
7645
|
-
};
|
|
7272
|
+
discoverExt: ReturnType<typeof Foundation.discoverExt.parse>;
|
|
7646
7273
|
/** ID: 22 */
|
|
7647
|
-
discoverExtRsp:
|
|
7648
|
-
/** Type: UINT8 */
|
|
7649
|
-
discComplete: number;
|
|
7650
|
-
attrInfos: {
|
|
7651
|
-
/** Type: DATA16 */
|
|
7652
|
-
attrId: number;
|
|
7653
|
-
/** Type: DATA8 */
|
|
7654
|
-
dataType: number;
|
|
7655
|
-
/** Type: DATA8 */
|
|
7656
|
-
access: number;
|
|
7657
|
-
}[];
|
|
7658
|
-
};
|
|
7274
|
+
discoverExtRsp: ReturnType<typeof Foundation.discoverExtRsp.parse>;
|
|
7659
7275
|
}
|
|
7660
|
-
export type TFoundationRepetitive = "read" | "readRsp" | "write" | "writeUndiv" | "writeRsp" | "writeNoRsp" | "configReport" | "configReportRsp" | "readReportConfig" | "readReportConfigRsp" | "report" | "readStructured" | "writeStructured" | "writeStructuredRsp";
|
|
7661
|
-
export type TFoundationFlat = "defaultRsp" | "discover" | "discoverCommands" | "discoverCommandsGen" | "discoverExt";
|
|
7662
|
-
export type TFoundationOneOf = "discoverRsp" | "discoverCommandsRsp" | "discoverCommandsGenRsp" | "discoverExtRsp";
|
|
7663
7276
|
export type TClusterAttributeKeys<Cl extends number | string> = Cl extends keyof TClusters ? (keyof TClusters[Cl]["attributes"])[] : (string | number)[];
|
|
7664
7277
|
export type TClusterAttributes<Cl extends number | string> = Cl extends keyof TClusters ? TClusters[Cl]["attributes"] : never;
|
|
7665
7278
|
export type TPartialClusterAttributes<Cl extends number | string> = Cl extends keyof TClusters ? Partial<TClusters[Cl]["attributes"]> : never;
|
|
@@ -7671,8 +7284,5 @@ export type TClusterCommandPayload<Cl extends number | string, Co extends number
|
|
|
7671
7284
|
export type TClusterCommandResponsePayload<Cl extends number | string, Co extends number | string> = Cl extends keyof TClusters ? Co extends keyof TClusters[Cl]["commandResponses"] ? TClusters[Cl]["commandResponses"][Co] : never : never;
|
|
7672
7285
|
export type TClusterPayload<Cl extends number | string, Co extends number | string> = Cl extends keyof TClusters ? TClusters[Cl]["commands"] extends never ? TClusters[Cl]["commandResponses"] extends never ? never : Co extends keyof TClusters[Cl]["commandResponses"] ? TClusters[Cl]["commandResponses"][Co] : never : Co extends keyof TClusters[Cl]["commands"] ? TClusters[Cl]["commands"][Co] : Co extends keyof TClusters[Cl]["commandResponses"] ? TClusters[Cl]["commandResponses"][Co] : never : never;
|
|
7673
7286
|
export type TFoundationGenericPayload = TFoundation[keyof TFoundation];
|
|
7674
|
-
export type TFoundationRepetitivePayload = TFoundation[TFoundationRepetitive];
|
|
7675
|
-
export type TFoundationFlatPayload = TFoundation[TFoundationFlat];
|
|
7676
|
-
export type TFoundationOneOfPayload = TFoundation[TFoundationOneOf];
|
|
7677
7287
|
export type TFoundationPayload<Co extends number | string> = Co extends keyof TFoundation ? TFoundation[Co] : TFoundationGenericPayload;
|
|
7678
7288
|
//# sourceMappingURL=clusters-types.d.ts.map
|