How to find out last activity with device?

jayjajaya year ago

I have 5 devices connected to my traccar server, works great. The issue I have is, how do I know when the last successful ping / communication between the device and the server?

I understand you can look at "device time" and "server time" etc. but why isn't there an option "Last ping"?

SwayDeva year ago

For pings with data, you can refer to the serverTime of the latest position.

And for the rest another approach is to look for event types deviceOnline and deviceOffline

deviceOnline event will be the time the device connected to server

deviceOffline time will be the time the devices connection with the server ended
(Can be a graceful disconnect, or a timeout) check out the configurations documentation -> for .timeout

  • Understanding why and how timeout work is critical if you want precise to the dot time of last device to server connection.
Track-tracea year ago

The simple approach is adding DeviceTime to the popup window.

It actually is the last time a device has send the Link keep message (at least for Watch Protocol).

Anton Tananaeva year ago

It will show the time it was online in the device list.