Reset Device Statistics (Device Profile Counters) - 0x0017
Table of Contents
Before you start
Make sure you have read:
The full list of API calls is in the Swagger documentation: api.oemserver.com/swagger/index.html
Device Statistics are only available on battery-powered devices. The device also needs firmware that supports this ‘reset stats’ feature, so check the firmware release notes for each device.
Description
This message tells the device to reset its Device Statistics, also called Device Profile Counters. These are long-term, low-frequency counters used to monitor and predict device performance. Examples are successful and failed uploads, GPS fix counts and times, accelerometer wakeups, trips, uptime and reboots. More information here.
The reset also clears:
- The low battery and critical battery flags
- The battery percentage on devices with a battery meter, like the Remora3.
This is useful after a battery change. If the batteries were swapped too quickly, the device may not have reset properly, and the old low or critical battery flags can stay set even though the new batteries are fine. Sending this message clears them.
It does the same thing as the Reset Device Statistics button on the Device Details page in Device Manager.

Request Example
Body:
{
"MessageType": 23, // 0x0017 Reset Device Statistics
"CANAddress": 4294967295, // 0xFFFFFFFF, HOST_ADDRESS - message to device
"ExpiryDateUTC": "2028-07-20T18:25:43.511Z" // message expiry
}The payload is empty. You only send the message type, the host address and the message expiry.
-
MessageType
23is the decimal form of0x0017. -
CANAddress
4294967295(0xFFFFFFFF) means the message goes from the host to the device. - ExpiryDateUTC is when the message itself expires. If the device has not received and actioned it by then, it is discarded.
The reset does not happen straight away if the device is not connected to the server. The device receives and processes the message the next time it connects.
Confirming the device has actioned the message
A successful API response only means Device Manager has queued the message for delivery. To check that the device has actually reset its statistics:
- Device Details in Device Manager: Open the device's details page by clicking its serial number. The counters at the bottom of the page should have returned to near-zero values.
-
Device Logs: Check the
DeviceCounters.DeviceProfilingvalues in records sent after the reset. They should show the counters starting again from zero. - Battery flags: The low and critical battery flags should clear. Allow a few updates or heartbeats after the reset for this to show.
Troubleshooting
The counters or battery flags did not reset
-
The message expired before the device received it.
ExpiryDateUTCis a fixed date and time, not a period counted from when the device connects. Make sure it is far enough in the future to cover the device's next check-in. - The firmware does not support it. Check that the device is on firmware that supports Reset Device Statistics.
- The flags have not updated yet. Wait for a few updates or heartbeats.
- LTC battery passivation. On devices with LTC batteries, passivation can make the voltage dip, which can set the low battery flag again after a reset.