mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-22 14:01:20 +00:00
Log device OTA request response. https://github.com/Koenkk/zigbee2mqtt/issues/16371
This commit is contained in:
1 parent
4179d879d2
commit
a3f1399489
1 file changed
+3
@@ -122,6 +122,9 @@ export default class OTAUpdate extends Extension {
|
||||
if (endpoint) {
|
||||
// Some devices send OTA requests without defining OTA cluster as input cluster.
|
||||
await endpoint.commandResponse('genOta', 'queryNextImageResponse', {status: 0x98});
|
||||
logger.debug(`Responded to OTA request of '${data.device.name}' with 'NO_IMAGE_AVAILABLE'`);
|
||||
} else {
|
||||
logger.debug(`Did not respond to OTA request of '${data.device.name}' (no OTA endpoint)`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user