Zigbee add received commands as battery auto-probe triggers

This commit is contained in:
Stephan Hadinger 2022-08-04 18:33:31 +02:00
parent 43a02cf369
commit d112800dc3

View File

@ -1700,6 +1700,7 @@ void Z_IncomingMessage(class ZCLFrame &zcl_received) {
zcl_received.parseWriteAttributesResponse(attr_list);
} else if (zcl_received.isClusterSpecificCommand()) {
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());