Motion Delay

Joystick5 years ago

Hi Anton,
Traccar is working great, thanks for such a good product. I have gps units fitted on cranes that might not move each day and would like to record all hours work as a trip so I can calculate the fuel spent for the hours. I've set report.trip.useIgnition to true and use computed attribute as below to trigger motion:

Attribute: Motion
Expression: ignition==true? true:false

All work fine and motion is triggered as expected but because my devices use can adaptors they sometimes take a few seconds to report the correct fuel level.
Is it possible to set a delay in the Motion attribute so it delay for 30 seconds after ignition is true?

Anton Tananaev5 years ago

Don't think it's possible out of the box.