mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 00:36:33 +00:00
Merge pull request #16152 from s-hadinger/zigbee_autoprobe_cmd
Zigbee add received commands as battery auto-probe triggers
This commit is contained in:
commit
dfc1f72ea0
@ -1700,6 +1700,7 @@ void Z_IncomingMessage(class ZCLFrame &zcl_received) {
|
|||||||
zcl_received.parseWriteAttributesResponse(attr_list);
|
zcl_received.parseWriteAttributesResponse(attr_list);
|
||||||
} else if (zcl_received.isClusterSpecificCommand()) {
|
} else if (zcl_received.isClusterSpecificCommand()) {
|
||||||
zcl_received.parseClusterSpecificCommand(attr_list);
|
zcl_received.parseClusterSpecificCommand(attr_list);
|
||||||
|
Z_Query_Battery(srcaddr); // do battery auto-probing when receiving commands
|
||||||
}
|
}
|
||||||
|
|
||||||
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_ZIGBEE D_JSON_ZIGBEEZCL_RAW_RECEIVED ": {\"0x%04X\":{%s}}"), srcaddr, attr_list.toString().c_str());
|
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_ZIGBEE D_JSON_ZIGBEEZCL_RAW_RECEIVED ": {\"0x%04X\":{%s}}"), srcaddr, attr_list.toString().c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user