I’d be very grateful if some attention could be given to ZHA logging. I’ve tried several Zigbee implementations and have decided to stick to ZHA for several reasons, however the logging isn’t very helpful compared to others.
I have the odd occasion where a device drops off the network or crashes needing a reset. This causes automations to fail until I attend to it, and travelling for work makes it difficult to rectify and most importantly keep the wife happy.
The current logging only contains the failure but does not point to the device.
Failed to send request: Failed to deliver message: <sl_Status.ZIGBEE_DELIVERY_FAILED: 3074>
It would be extremely helpful if this could say which device or even the entity from the automation that didn’t get the message.
The Nwk ID of the device should be included in the full message. There’s more information when using the debug log mode.
You can also find the Nwk ID on each device page in HA by expanding the info section on the left.
Is that all the logs? Even with debug logging turned off I get 20 some lines when there is a transmit failure. Overall, I think ZHA logging is fairly robust. I’d like to see us filter the logs during device join to unknown devices and have a way to filter debug logs to a specific device, but there are workarounds for both of those use cases.
To be honest I haven’t turned on debug logging to fix things, I can usually work it out by bulk turning things on and off to see what’s not working when I’m at home. However at the same time I don’t want to sift through all the debug logs to find a nwk ID to then determine the device each time something drops off when I’m away.
Would be a very much appreciated feature if this could be extracted and attached to the general warning log for normal everyday users. It would allow me to quickly check on my phone and send an SMS to my wife saying which device to reset. Especially when it’s a battery device that’s failed due to a router device crashing.
Otherwise has anyone got an idea for an automation that can send a push notification saying “hey this mains powered device has failed to check in for some time”?