zigbee-herdsman 9.0.6 → 9.0.8

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.
@@ -405,7 +405,7 @@ exports.Clusters = {
405
405
  {
406
406
  name: "capacity",
407
407
  type: enums_1.DataType.UINT8,
408
- min: 1,
408
+ min: 0,
409
409
  max: 0xff,
410
410
  special: [
411
411
  ["NoFurtherScenesMayBeAdded", "00"],
@@ -2883,9 +2883,9 @@ exports.Clusters = {
2883
2883
  velocityLift: { ID: 0x0014, type: enums_1.DataType.UINT16, write: true, max: 0xffff, default: 0 },
2884
2884
  accelerationTimeLift: { ID: 0x0015, type: enums_1.DataType.UINT16, write: true, max: 0xffff, default: 0 },
2885
2885
  decelerationTimeLift: { ID: 0x0016, type: enums_1.DataType.UINT16, write: true, max: 0xffff, default: 0 },
2886
- windowCoveringMode: { ID: 0x0017, type: enums_1.DataType.BITMAP8, required: true, default: 4 },
2887
- intermediateSetpointsLift: { ID: 0x0018, type: enums_1.DataType.OCTET_STR, default: "1,0x0000" },
2888
- intermediateSetpointsTilt: { ID: 0x0019, type: enums_1.DataType.OCTET_STR, default: "1,0x0000" },
2886
+ windowCoveringMode: { ID: 0x0017, type: enums_1.DataType.BITMAP8, write: true, required: true, default: 4 },
2887
+ intermediateSetpointsLift: { ID: 0x0018, type: enums_1.DataType.OCTET_STR, write: true, default: "1,0x0000" },
2888
+ intermediateSetpointsTilt: { ID: 0x0019, type: enums_1.DataType.OCTET_STR, write: true, default: "1,0x0000" },
2889
2889
  // custom
2890
2890
  // XXX: doesn't exist?
2891
2891
  operationalStatus: { ID: 0x000a, type: enums_1.DataType.BITMAP8 },
@@ -3083,7 +3083,6 @@ exports.Clusters = {
3083
3083
  },
3084
3084
  fourNoksHysteresisLow: { ID: 0x0102, type: enums_1.DataType.UINT16, manufacturerCode: manufacturerCode_1.ManufacturerCode.ASTREL_GROUP_SRL, write: true, max: 0xffff },
3085
3085
  SinopeOccupancy: { ID: 0x0400, type: enums_1.DataType.ENUM8, manufacturerCode: manufacturerCode_1.ManufacturerCode.SINOPE_TECHNOLOGIES, write: true, max: 0xff },
3086
- elkoLoad: { ID: 0x0401, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
3087
3086
  SinopeMainCycleOutput: {
3088
3087
  ID: 0x0401,
3089
3088
  type: enums_1.DataType.UINT16,
@@ -3093,8 +3092,6 @@ exports.Clusters = {
3093
3092
  },
3094
3093
  elkoDisplayText: { ID: 0x0402, type: enums_1.DataType.CHAR_STR, write: true },
3095
3094
  SinopeBacklight: { ID: 0x0402, type: enums_1.DataType.ENUM8, manufacturerCode: manufacturerCode_1.ManufacturerCode.SINOPE_TECHNOLOGIES, write: true, max: 0xff },
3096
- elkoSensor: { ID: 0x0403, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
3097
- elkoRegulatorTime: { ID: 0x0404, type: enums_1.DataType.UINT8, write: true, max: 0xff },
3098
3095
  SinopeAuxCycleOutput: {
3099
3096
  ID: 0x0404,
3100
3097
  type: enums_1.DataType.UINT16,
@@ -3102,20 +3099,6 @@ exports.Clusters = {
3102
3099
  write: true,
3103
3100
  max: 0xffff,
3104
3101
  },
3105
- elkoRegulatorMode: { ID: 0x0405, type: enums_1.DataType.BOOLEAN, write: true },
3106
- elkoPowerStatus: { ID: 0x0406, type: enums_1.DataType.BOOLEAN, write: true },
3107
- elkoDateTime: { ID: 0x0407, type: enums_1.DataType.OCTET_STR, write: true },
3108
- elkoMeanPower: { ID: 0x0408, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
3109
- elkoExternalTemp: { ID: 0x0409, type: enums_1.DataType.INT16, write: true, min: -32768, max: 32767 },
3110
- elkoNightSwitching: { ID: 0x0411, type: enums_1.DataType.BOOLEAN, write: true },
3111
- elkoFrostGuard: { ID: 0x0412, type: enums_1.DataType.BOOLEAN, write: true },
3112
- elkoChildLock: { ID: 0x0413, type: enums_1.DataType.BOOLEAN, write: true },
3113
- elkoMaxFloorTemp: { ID: 0x0414, type: enums_1.DataType.UINT8, write: true, max: 0xff },
3114
- elkoRelayState: { ID: 0x0415, type: enums_1.DataType.BOOLEAN, write: true },
3115
- elkoVersion: { ID: 0x0416, type: enums_1.DataType.OCTET_STR, write: true },
3116
- elkoCalibration: { ID: 0x0417, type: enums_1.DataType.INT8, write: true, min: -128, max: 127 },
3117
- elkoLastMessageId: { ID: 0x0418, type: enums_1.DataType.UINT8, write: true, max: 0xff },
3118
- elkoLastMessageStatus: { ID: 0x0419, type: enums_1.DataType.UINT8, write: true, max: 0xff },
3119
3102
  viessmannWindowOpenInternal: {
3120
3103
  ID: 0x4000,
3121
3104
  type: enums_1.DataType.ENUM8,
@@ -7118,41 +7101,6 @@ exports.Clusters = {
7118
7101
  commands: {},
7119
7102
  commandsResponse: {},
7120
7103
  },
7121
- manuSpecificLegrandDevices: {
7122
- ID: 0xfc01,
7123
- manufacturerCode: manufacturerCode_1.ManufacturerCode.LEGRAND_GROUP,
7124
- attributes: {
7125
- // attributes seems to vary depending on the device. Can't be static
7126
- },
7127
- commands: {},
7128
- commandsResponse: {},
7129
- },
7130
- manuSpecificLegrandDevices2: {
7131
- ID: 0xfc40,
7132
- manufacturerCode: manufacturerCode_1.ManufacturerCode.LEGRAND_GROUP,
7133
- attributes: {},
7134
- commands: {
7135
- command0: { ID: 0x00, parameters: [{ name: "data", type: enums_1.BuffaloZclDataType.BUFFER }] },
7136
- },
7137
- commandsResponse: {},
7138
- },
7139
- manuSpecificLegrandDevices3: {
7140
- ID: 0xfc41,
7141
- manufacturerCode: manufacturerCode_1.ManufacturerCode.LEGRAND_GROUP,
7142
- attributes: {},
7143
- commands: {
7144
- command0: { ID: 0x00, parameters: [{ name: "data", type: enums_1.BuffaloZclDataType.BUFFER }] },
7145
- },
7146
- commandsResponse: {},
7147
- },
7148
- wiserDeviceInfo: {
7149
- ID: 0xfe03, // 65027
7150
- attributes: {
7151
- deviceInfo: { ID: 0x0020, type: enums_1.DataType.CHAR_STR, write: true },
7152
- },
7153
- commands: {},
7154
- commandsResponse: {},
7155
- },
7156
7104
  /**
7157
7105
  * Tuya cluster
7158
7106
  *
@@ -7435,78 +7383,6 @@ exports.Clusters = {
7435
7383
  commands: {},
7436
7384
  commandsResponse: {},
7437
7385
  },
7438
- tradfriButton: {
7439
- ID: 0xfc80,
7440
- manufacturerCode: manufacturerCode_1.ManufacturerCode.IKEA_OF_SWEDEN,
7441
- attributes: {},
7442
- commands: {
7443
- action1: { ID: 0x01, parameters: [{ name: "data", type: enums_1.DataType.UINT8, max: 0xff }] },
7444
- action2: { ID: 0x02, parameters: [{ name: "data", type: enums_1.DataType.UINT8, max: 0xff }] },
7445
- action3: { ID: 0x03, parameters: [{ name: "data", type: enums_1.DataType.UINT8, max: 0xff }] },
7446
- action4: { ID: 0x04, parameters: [{ name: "data", type: enums_1.DataType.UINT8, max: 0xff }] },
7447
- action6: { ID: 0x06, parameters: [{ name: "data", type: enums_1.DataType.UINT8, max: 0xff }] },
7448
- },
7449
- commandsResponse: {},
7450
- },
7451
- schneiderSpecificPilotMode: {
7452
- ID: 0xff23,
7453
- manufacturerCode: manufacturerCode_1.ManufacturerCode.SCHNEIDER_ELECTRIC,
7454
- attributes: {
7455
- pilotMode: { ID: 0x0031, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7456
- },
7457
- commands: {},
7458
- commandsResponse: {},
7459
- },
7460
- elkoOccupancySettingClusterServer: {
7461
- ID: 0xff19,
7462
- manufacturerCode: manufacturerCode_1.ManufacturerCode.ADEO,
7463
- attributes: {
7464
- AmbienceLightThreshold: { ID: 0x0000, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7465
- OccupancyActions: { ID: 0x0001, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7466
- UnoccupiedLevelDflt: { ID: 0x0002, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7467
- UnoccupiedLevel: { ID: 0x0003, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7468
- },
7469
- commands: {},
7470
- commandsResponse: {},
7471
- },
7472
- elkoSwitchConfigurationClusterServer: {
7473
- ID: 0xff17,
7474
- manufacturerCode: manufacturerCode_1.ManufacturerCode.ADEO,
7475
- attributes: {
7476
- SwitchIndication: { ID: 0x0000, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7477
- UpSceneID: { ID: 0x0010, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7478
- UpGroupID: { ID: 0x0011, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7479
- DownSceneID: { ID: 0x0020, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7480
- DownGroupID: { ID: 0x0021, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7481
- SwitchActions: { ID: 0x0001, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7482
- },
7483
- commands: {},
7484
- commandsResponse: {},
7485
- },
7486
- manuSpecificSchneiderLightSwitchConfiguration: {
7487
- ID: 0xff17,
7488
- manufacturerCode: manufacturerCode_1.ManufacturerCode.SCHNEIDER_ELECTRIC,
7489
- attributes: {
7490
- ledIndication: { ID: 0x0000, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7491
- upSceneID: { ID: 0x0010, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7492
- upGroupID: { ID: 0x0011, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7493
- downSceneID: { ID: 0x0020, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7494
- downGroupID: { ID: 0x0021, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7495
- switchActions: { ID: 0x0001, type: enums_1.DataType.ENUM8, write: true, max: 0xff },
7496
- },
7497
- commands: {},
7498
- commandsResponse: {},
7499
- },
7500
- manuSpecificSchneiderFanSwitchConfiguration: {
7501
- ID: 0xfc04,
7502
- manufacturerCode: manufacturerCode_1.ManufacturerCode.SCHNEIDER_ELECTRIC,
7503
- attributes: {
7504
- ledIndication: { ID: 0x0002, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7505
- ledOrientation: { ID: 0x0060, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7506
- },
7507
- commands: {},
7508
- commandsResponse: {},
7509
- },
7510
7386
  sprutVoc: {
7511
7387
  ID: 0x6601,
7512
7388
  manufacturerCode: 26214,
@@ -7667,178 +7543,6 @@ exports.Clusters = {
7667
7543
  },
7668
7544
  commandsResponse: {},
7669
7545
  },
7670
- manuSpecificAssaDoorLock: {
7671
- ID: 0xfc00,
7672
- attributes: {
7673
- autoLockTime: { ID: 0x0012, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7674
- wrongCodeAttempts: { ID: 0x0013, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7675
- shutdownTime: { ID: 0x0014, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7676
- batteryLevel: { ID: 0x0015, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7677
- insideEscutcheonLED: { ID: 0x0016, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7678
- volume: { ID: 0x0017, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7679
- lockMode: { ID: 0x0018, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7680
- language: { ID: 0x0019, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7681
- allCodesLockout: { ID: 0x001a, type: enums_1.DataType.BOOLEAN, write: true },
7682
- oneTouchLocking: { ID: 0x001b, type: enums_1.DataType.BOOLEAN, write: true },
7683
- privacyButtonSetting: { ID: 0x001c, type: enums_1.DataType.BOOLEAN, write: true },
7684
- /* enableLogging: {ID: 0x0020, type: DataType.BOOLEAN, write: true},*/ // marked in C4 driver as not supported
7685
- numberLogRecordsSupported: { ID: 0x0021, type: enums_1.DataType.UINT16, write: true, max: 0xffff },
7686
- numberPinsSupported: { ID: 0x0030, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7687
- numberScheduleSlotsPerUser: { ID: 0x0040, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7688
- alarmMask: { ID: 0x0050, type: enums_1.DataType.UINT8, write: true, max: 0xff },
7689
- },
7690
- commands: {
7691
- getLockStatus: { ID: 0x10, response: 0, parameters: [] },
7692
- getBatteryLevel: { ID: 0x12, parameters: [] },
7693
- setRFLockoutTime: { ID: 0x13, parameters: [] },
7694
- /* getLogRecord: {ID: 0x20,
7695
- parameters: [],
7696
- },*/ // marked in C4 driver as not supported
7697
- userCodeSet: {
7698
- ID: 0x30,
7699
- parameters: [
7700
- // bit pack ("bbb", slot, status, pinLength) .. pin
7701
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7702
- ],
7703
- },
7704
- userCodeGet: {
7705
- ID: 0x31,
7706
- parameters: [
7707
- // bit pack ("b", slot)
7708
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7709
- ],
7710
- },
7711
- userCodeClear: {
7712
- ID: 0x32,
7713
- parameters: [
7714
- // bit pack ("b", slot)
7715
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7716
- ],
7717
- },
7718
- clearAllUserCodes: { ID: 0x33, parameters: [] },
7719
- setUserCodeStatus: { ID: 0x34, parameters: [] },
7720
- getUserCodeStatus: { ID: 0x35, parameters: [] },
7721
- getLastUserIdEntered: { ID: 0x36, parameters: [] },
7722
- userAdded: { ID: 0x37, parameters: [] },
7723
- userDeleted: { ID: 0x38, parameters: [] },
7724
- setScheduleSlot: {
7725
- ID: 0x40,
7726
- parameters: [
7727
- // bit pack ("bbbbbbb", 0, slot, weeklyScheduleNumber, startHour, startMinute, hours, minutes)
7728
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7729
- ],
7730
- },
7731
- getScheduleSlot: {
7732
- ID: 0x41,
7733
- parameters: [
7734
- // bit pack ("bb", slot, userId)
7735
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7736
- ],
7737
- },
7738
- setScheduleSlotStatus: {
7739
- ID: 0x42,
7740
- parameters: [
7741
- // bit pack ("bbb", 0, slot, status)
7742
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7743
- ],
7744
- },
7745
- reflash: {
7746
- ID: 0x60,
7747
- response: 1,
7748
- parameters: [
7749
- // bit pack ("bI", version, length)
7750
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7751
- ],
7752
- },
7753
- reflashData: {
7754
- ID: 0x61,
7755
- response: 2,
7756
- parameters: [
7757
- // bit pack ("IH", segmentId - 1, length) .. string sub (data, start, finish)
7758
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7759
- ],
7760
- },
7761
- reflashStatus: {
7762
- ID: 0x62,
7763
- response: 3,
7764
- parameters: [
7765
- // bit pack ("bI", reflashStatusParameter, 0x00)
7766
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7767
- ],
7768
- },
7769
- getReflashLock: { ID: 0x90, parameters: [] },
7770
- getHistory: { ID: 0xa0, parameters: [] },
7771
- getLogin: { ID: 0xa1, parameters: [] },
7772
- getUser: { ID: 0xa2, parameters: [] },
7773
- getUsers: { ID: 0xa3, parameters: [] },
7774
- getMandatoryAttributes: { ID: 0xb0, parameters: [] },
7775
- readAttribute: { ID: 0xb1, parameters: [] },
7776
- writeAttribute: { ID: 0xb2, parameters: [] },
7777
- configureReporting: { ID: 0xb3, parameters: [] },
7778
- getBasicClusterAttributes: { ID: 0xb4, parameters: [] },
7779
- },
7780
- commandsResponse: {
7781
- getLockStatusRsp: { ID: 0x00, parameters: [{ name: "status", type: enums_1.DataType.UINT8, max: 0xff }] },
7782
- reflashRsp: { ID: 0x01, parameters: [{ name: "status", type: enums_1.DataType.UINT8, max: 0xff }] },
7783
- reflashDataRsp: { ID: 0x02, parameters: [{ name: "status", type: enums_1.DataType.UINT8, max: 0xff }] },
7784
- reflashStatusRsp: { ID: 0x03, parameters: [{ name: "status", type: enums_1.DataType.UINT8, max: 0xff }] },
7785
- /* boltStateRsp: {ID: 4,
7786
- parameters: [
7787
- {name: 'state', type: DataType.UINT8, max: 0xff},
7788
- ],
7789
- },*/ // C4 driver has this response yet there is no command - maybe a non-specific cluster response?
7790
- /* lockStatusReportRsp: {ID: 5,
7791
- parameters: [
7792
- {name: 'status', type: DataType.UINT8, max: 0xff},
7793
- ],
7794
- },*/ // C4 driver has this response yet there is no command - maybe a non-specific cluster response?
7795
- /* handleStateRsp: {ID: 6,
7796
- parameters: [
7797
- {name: 'state', type: DataType.UINT8, max: 0xff},
7798
- ],
7799
- },*/ // C4 driver has this response yet there is no command - maybe a non-specific cluster response?
7800
- /* userStatusRsp: {ID: 7,
7801
- parameters: [
7802
- {name: 'status', type: DataType.UINT8, max: 0xff},
7803
- ],
7804
- },*/ // C4 driver has this response yet there is no command - maybe a non-specific cluster response?
7805
- },
7806
- },
7807
- manuSpecificDoorman: {
7808
- ID: 0xeacc,
7809
- attributes: {},
7810
- commands: {
7811
- getConfigurationParameter: {
7812
- ID: 0xfc,
7813
- parameters: [
7814
- // bit pack ("bbb", 0x00, 0x00, configurationId)
7815
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7816
- ],
7817
- },
7818
- setConfigurationParameter: {
7819
- ID: 0xfd,
7820
- parameters: [
7821
- // bit pack ("bbbb", 0x00, 0x00, configurationId, value)
7822
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7823
- ],
7824
- },
7825
- integrationModeActivation: {
7826
- ID: 0x25,
7827
- parameters: [
7828
- // bit pack ("bbbbb", slot, codeType, string sub (userCode, 1, 2), string sub (userCode, 3, 4), string sub (userCode, 5, 6)) .. String duplicate (0xff, 12)
7829
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7830
- ],
7831
- },
7832
- armDisarm: {
7833
- ID: 0x4e,
7834
- parameters: [
7835
- // bit pack ("bb", lockSequenceNumber, operatingParameter)
7836
- { name: "payload", type: enums_1.DataType.CHAR_STR },
7837
- ],
7838
- },
7839
- },
7840
- commandsResponse: {},
7841
- },
7842
7546
  manuSpecificProfalux1: {
7843
7547
  ID: 0xfc21, // Config cluster, 0xfc20 mostly for commands it seems
7844
7548
  manufacturerCode: manufacturerCode_1.ManufacturerCode.PROFALUX,