mirror of https://github.com/arendst/Tasmota.git
Merge pull request #16520 from s-hadinger/zigbee_zcl_update
Zigbee update ZCL
This commit is contained in:
commit
4332430ed2
File diff suppressed because it is too large
Load Diff
|
@ -559,26 +559,32 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = {
|
|||
//{ Zmap8, Cx0005, 0x0004, (NameSupport), Cm1, 0 },
|
||||
|
||||
// On/off cluster
|
||||
{ Zbool, Cx0006, 0x0000, Z_(Power), Cm1 + Z_EXPORT_DATA, Z_MAPPING(Z_Data_OnOff, power) },
|
||||
{ Zenum8, Cx0006, 0x4003, Z_(StartUpOnOff), Cm1, 0 },
|
||||
{ Zbool, Cx0006, 0x8000, Z_(Power), Cm1, 0 }, // See 7280
|
||||
{ Zbool, Cx0006, 0x4000, Z_(OnOff), Cm1, 0 },
|
||||
{ Zuint16, Cx0006, 0x4001, Z_(OnTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0006, 0x4002, Z_(OffWaitTime), Cm1, 0 },
|
||||
{ Zbool, Cx0006, 0x0000, Z_(Power), Cm1 + Z_EXPORT_DATA, Z_MAPPING(Z_Data_OnOff, power) },
|
||||
{ Zenum8, Cx0006, 0x4003, Z_(StartUpOnOff), Cm1, 0 },
|
||||
{ Zbool, Cx0006, 0x8000, Z_(Power), Cm1, 0 }, // See 7280
|
||||
{ Zbool, Cx0006, 0x4000, Z_(OnOff), Cm1, 0 },
|
||||
{ Zuint16, Cx0006, 0x4001, Z_(OnTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0006, 0x4002, Z_(OffWaitTime), Cm1, 0 },
|
||||
|
||||
// On/Off Switch Configuration cluster
|
||||
{ Zenum8, Cx0007, 0x0000, Z_(SwitchType), Cm1, 0 },
|
||||
{ Zenum8, Cx0007, 0x0010, Z_(SwitchActions), Cm1, 0 },
|
||||
|
||||
// Level Control cluster
|
||||
{ Zuint8, Cx0008, 0x0000, Z_(Dimmer), Cm1 + Z_EXPORT_DATA, Z_MAPPING(Z_Data_Light, dimmer) },
|
||||
{ Zuint16, Cx0008, 0x0001, Z_(DimmerRemainingTime), Cm1, 0 },
|
||||
{ Zmap8, Cx0008, 0x000F, Z_(DimmerOptions), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x0000, Z_(Dimmer), Cm1 + Z_EXPORT_DATA, Z_MAPPING(Z_Data_Light, dimmer) },
|
||||
{ Zuint16, Cx0008, 0x0001, Z_(DimmerRemainingTime), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x0002, Z_(DimmerMinLevel), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x0003, Z_(DimmerMaxLevel), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0004, Z_(DimmerCurrentFrequency),Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0005, Z_(DimmerMinFrequency), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0006, Z_(DimmerMaxFrequency), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0010, Z_(OnOffTransitionTime), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x0011, Z_(OnLevel), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0012, Z_(OnTransitionTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0013, Z_(OffTransitionTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0014, Z_(DefaultMoveRate), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x0011, Z_(OnLevel), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0012, Z_(OnTransitionTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0013, Z_(OffTransitionTime), Cm1, 0 },
|
||||
{ Zuint16, Cx0008, 0x0014, Z_(DefaultMoveRate), Cm1, 0 },
|
||||
{ Zmap8, Cx0008, 0x000F, Z_(DimmerOptions), Cm1, 0 },
|
||||
{ Zuint8, Cx0008, 0x4000, Z_(DimmerStartUpLevel), Cm1, 0 },
|
||||
|
||||
// Alarms cluster
|
||||
{ Zuint16, Cx0009, 0x0000, Z_(AlarmCount), Cm1, 0 },
|
||||
|
@ -959,6 +965,7 @@ const Z_AttributeConverter Z_PostProcess[] PROGMEM = {
|
|||
{ Zmap16, Cx0300, 0x400A, Z_(ColorCapabilities), Cm1, 0 },
|
||||
{ Zuint16, Cx0300, 0x400B, Z_(ColorTempPhysicalMinMireds), Cm1, 0 },
|
||||
{ Zuint16, Cx0300, 0x400C, Z_(ColorTempPhysicalMaxMireds), Cm1, 0 },
|
||||
{ Zuint16, Cx0300, 0x4010, Z_(ColorStartUpColorTempireds), Cm1, 0 },
|
||||
|
||||
// Ballast Configuration
|
||||
{ Zuint8, Cx0301, 0x0000, Z_(BallastPhysicalMinLevel), Cm1, 0 },
|
||||
|
|
Loading…
Reference in New Issue