10948 questions

13055 answers

20358 comments

27911 members

0 votes
89 views 0 comments
by

How can I get a timestamped list of each status change (eg: Offline to Online, Online to Offline) for a device? Preferably via CSV or the API.

I notice there is Mobile Data Information that seems to be every 5 minutes that might be useful but is it:

  • Every 5 minutes from boottime it blindly attempts to submit a datapoint or;
  • Every 5 minutes from the time mobile modem is connected and online it submits a datapoint or;
  • Every 5 minutes from the first successful (re)connect to Teltonika RMS it submits a datapoint?

1 Answer

0 votes
by

Hello,

Apologies for the late reply.
Once a device reconnects to RMS, it sends information to RMS, and then the 5 minute interval starts. So for example, if the device connects to RMS at 14:06, information will be gathered at 14:06, 14:11, 14:16, and so on.
You can use the API to gather information on your devices, including the status of all your devices. For this purpose you can use the "GET ​/devices" endpoint with the "fields=status" parameter, this will list the statuses of all devices in your RMS company.

The status of devices does not get updated every 5 minutes, once the device disconnects, the status changes immediately and this shows in the web version of RMS as well as the API. This makes tracking the status of your devices via API possible as making an API call you would get the same result as you would if you were browsing the web version of RMS.