Client app: Motion true with low accuracy

Nick DL3 months ago

Hello, I am using the Client app on Android 14. OnePlus 10 Pro.
I've been a user of Traccar for more than 6 years with various trackers and have recently started using it with the Client app as well.

I am not getting Trips and Stops logged in Traccar web instance. I suppose this is because my device doesn't activate motion.
My accuracy in the Client app is set to Low.

Yes I know High accuracy does provide a speed, but I do not care about the accuracy at all. A guess is good enough.

Yes I have read the trips and stops documentation.

Yes I know Speed controls Motion.

No, setting SpeedThreshold to 0 doesn't fix the problem.

Is it possible to have the motion calculated any other way than with Speed? Like for example if the latitude longitude changes by 50 seconds/degrees it is considered motion? Anything but speed, so I can save my battery and have accuracy set to Low or Medium.

Thank you

Anton Tananaev3 months ago

Low accuracy means that you will likely not get any speed information, which means trips won't be detected. You could override motion flag using computed attributes if you want.

Nick DL3 months ago

Hi Anton, I know this is an issue of there being no speed because of low accuracy.

Can you provide an example of how I could do this with calculated values please? I cannot figure out how to set it based on Longitude changing by 50 seconds for example. Or do you have another suggestion?
Thank you

Anton Tananaev3 months ago

One easy option is to check distance attribute. It's a distance from previous location.

Nick DL3 months ago

Hi Anton

Ok, made a Computer Attribute on Motion with Expression "distance > 0.05 ? true : false"
Let's see if that works.

Thanks for the quick responses.

Anton Tananaev3 months ago

Distance is in meters, so you probably need a higher value.