I did some successful quick tests yesterday, it should be an easy task to add an additional column to the Device Health Status app for both the Zigbee and Z-wave devices. @bcopeland it would be great if a lastMessage column is added to the HE Matter Details page as well..
I have only a few Z-wave devices, and the lastMessage seems to be accurate for all my devices as well! But I am not a Z-wave expert and I haven't monitored the Z-wave devices long time enough.
It is not about filtering, but receiving periodical check-in or heartbeat messages that usually do not produce any hub events. These messages are an excellent indication that the device is healthy and online! I used to use a workaround in some of my drivers - resending 'powerSource mains' as an example when a heartbeat message was received and the device.lastActivity was more than 4 hours ago. Sending an event which is not state change leaves no trace in the events history, but updates the device.lastActivity and makes the Device Activity Check app happy.
lastActivity == last time when an event was generated by the driver.
it doesn't necessarily mean the device is alive and online.