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
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).
It will show the time it was online in the device list.
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"?