mirror of https://github.com/arendst/Tasmota.git
Zigbee add WindowCovering cluster to auto-binding #10962
This commit is contained in:
parent
dffdfafac1
commit
5a0e92f0e5
|
@ -772,11 +772,13 @@
|
||||||
#define USE_ZIGBEE_AUTOBIND_PRESSURE 1 // hPA
|
#define USE_ZIGBEE_AUTOBIND_PRESSURE 1 // hPA
|
||||||
#define USE_ZIGBEE_AUTOBIND_ILLUMINANCE 5 // lux
|
#define USE_ZIGBEE_AUTOBIND_ILLUMINANCE 5 // lux
|
||||||
#define USE_ZIGBEE_AUTOBIND_HUMIDITY 1.0 // %
|
#define USE_ZIGBEE_AUTOBIND_HUMIDITY 1.0 // %
|
||||||
|
#define USE_ZIGBEE_AUTOBIND_LIFT 1.0 // %
|
||||||
// Below are the Max Thresholds for reporting time (in seconds)
|
// Below are the Max Thresholds for reporting time (in seconds)
|
||||||
#define USE_ZIGBEE_MAXTIME_BATT 4*60*60 // 4h
|
#define USE_ZIGBEE_MAXTIME_BATT 4*60*60 // 4h
|
||||||
#define USE_ZIGBEE_MAXTIME_TRV 60*10 // 10m
|
#define USE_ZIGBEE_MAXTIME_TRV 60*10 // 10m
|
||||||
#define USE_ZIGBEE_MAXTIME_SENSOR 60*60 // 1h
|
#define USE_ZIGBEE_MAXTIME_SENSOR 60*60 // 1h
|
||||||
#define USE_ZIGBEE_MAXTIME_LIGHT 60*60 // 1h
|
#define USE_ZIGBEE_MAXTIME_LIGHT 60*60 // 1h
|
||||||
|
#define USE_ZIGBEE_MAXTIME_LIFT 4*60*60 // 4h
|
||||||
|
|
||||||
// -- Other sensors/drivers -----------------------
|
// -- Other sensors/drivers -----------------------
|
||||||
|
|
||||||
|
|
|
@ -657,7 +657,7 @@ int32_t Z_ReceiveActiveEp(int32_t res, const SBuffer &buf) {
|
||||||
|
|
||||||
// list of clusters that need bindings
|
// list of clusters that need bindings
|
||||||
const uint8_t Z_bindings[] PROGMEM = {
|
const uint8_t Z_bindings[] PROGMEM = {
|
||||||
Cx0001, Cx0006, Cx0008, Cx0201, Cx0300,
|
Cx0001, Cx0006, Cx0008, Cx0102, Cx0201, Cx0300,
|
||||||
Cx0400, Cx0402, Cx0403, Cx0405, Cx0406,
|
Cx0400, Cx0402, Cx0403, Cx0405, Cx0406,
|
||||||
Cx0500,
|
Cx0500,
|
||||||
};
|
};
|
||||||
|
@ -1499,6 +1499,7 @@ const Z_autoAttributeReporting_t Z_autoAttributeReporting[] PROGMEM = {
|
||||||
{ 0x0001, 0x0020, 60*60, USE_ZIGBEE_MAXTIME_BATT, USE_ZIGBEE_AUTOBIND_BATTVOLTAGE }, // BatteryVoltage
|
{ 0x0001, 0x0020, 60*60, USE_ZIGBEE_MAXTIME_BATT, USE_ZIGBEE_AUTOBIND_BATTVOLTAGE }, // BatteryVoltage
|
||||||
{ 0x0001, 0x0021, 60*60, USE_ZIGBEE_MAXTIME_BATT, USE_ZIGBEE_AUTOBIND_BATTPERCENT }, // BatteryPercentage
|
{ 0x0001, 0x0021, 60*60, USE_ZIGBEE_MAXTIME_BATT, USE_ZIGBEE_AUTOBIND_BATTPERCENT }, // BatteryPercentage
|
||||||
{ 0x0006, 0x0000, 1, USE_ZIGBEE_MAXTIME_LIGHT, 0 }, // Power
|
{ 0x0006, 0x0000, 1, USE_ZIGBEE_MAXTIME_LIGHT, 0 }, // Power
|
||||||
|
{ 0x0102, 0x0008, 1, USE_ZIGBEE_MAXTIME_LIFT, USE_ZIGBEE_AUTOBIND_LIFT }, // CurrentPositionLiftPercentage
|
||||||
{ 0x0201, 0x0000, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_TEMPERATURE }, // LocalTemperature
|
{ 0x0201, 0x0000, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_TEMPERATURE }, // LocalTemperature
|
||||||
{ 0x0201, 0x0008, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_HEATDEMAND }, // PIHeatingDemand
|
{ 0x0201, 0x0008, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_HEATDEMAND }, // PIHeatingDemand
|
||||||
{ 0x0201, 0x0012, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_TEMPERATURE }, // OccupiedHeatingSetpoint
|
{ 0x0201, 0x0012, 60, USE_ZIGBEE_MAXTIME_TRV, USE_ZIGBEE_AUTOBIND_TEMPERATURE }, // OccupiedHeatingSetpoint
|
||||||
|
|
Loading…
Reference in New Issue