Zigbee: Last Message vs Last Activity At:

What is the difference between the data in
Settings/Zigbee Details, "Last Message" field
vs
Devices/[select device]/Device Details/ "Last Activity At" field?

I have a device which properly shows "Last Message" as the time when the device last executed a command vs. showing "Last Activity At" as 4 days ago. Device has successfully gone on and off several times over the last 4 days, so Last Activity At field is definitely wrong.

"Last Activity At" is normally whenever the driver sends an event to the platform. This should happen for, at least, most real-world state changes, which normally generate an event. Check the "Events" button at the top of the device detail page to see history. Nothing here should be newer than "Last Activity At," though it may be possible for the reverse to be true (I think it still counts events that are automatically filtered out because nothing changed).

The "Last Message" column in Zigbee Details is lower-level, likely to update much more frequently, and is not accessible to the driver or reflected on the device details page.

This could be a driver problem. If that really happened, an event should have been generated (hence my advice to check above), and that would definitely update "Last Activity At."

A "Configure" may fix this if not, or you might need a different driver.

1 Like

Yes, the event log shows when the bulb goes on and off. It is just the "Last Activity At" field that will not update.
I have three of these bulbs, all using the same driver, and the other two work fine. This one is flakey. I just hit the "Configure" button. That seemed to fix it!
Will wait a few days to confirm the fix remains.
THANKS!

"Events" or "Logs"? They are different. "Events" is the only authoritative source for event generation (even though descriptionText logging should put the same info out to Logs), so that's what I'd look at if the issue comes back.

In any case, hopefully it helps!

Sorry - poor choice of words; the matrix of data at Devices / [specific device]/ Events is what shows the bulb going on and off at sunset/sunrise, yet "Last Activity At:" was 4 days ago. "Last Activity At:" updated when I clicked configure.