Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Tagged: dev_idle, stopped time, vehicle_dev_idle
Hi
I am trying to calculate the time a vehicle is stopped using the latest data sent by the device.
I was playing with dev_idle and vehicle_dev_idle but not sure this is a cumulativa value.
Any help
Hi @cytoplyu@gmail.com, apologies for the delay.
dev_idle and vehicle_dev_idle are in fact cumulative values, dev_idle is the devices hardcoded value that increments until there’s a device change.
while vehicle_dev_idle is a user editable offset from the dev_idle.
In most cases these are identical.
your best bet to get the time that a vehicle spends in Idle is to either use the counters API or the rawdata api with a resampled request.
example:
in both responses the data is returned in seconds.
"dev_idle": 4261.0
email: support@digitalcomtech.com
slack: DCT Support Channel
chat: DCT Main Page
developer chat: Gitter
Thank you for Signing Up |
*Entering your email address in this form indicates that you agree to our Privacy Policy. You can withdraw your consent at any time.