Trip calculation alternative in trcacar server

bsaggarwal6 years ago

hi. i have tested traccar with 2 device ( one using HB02 and other using milesmate). in both the situation , device does not report "motion". the "ignition bit" is always set to 1.
the issue is , at the end of trip when ever the vehical goes into basement (GPS not available,GPRS available), the device reports last know speed ( greater then event.motion.threshold 17km/hr in my case) the trip does not end correctly ( as per expected behavior according to documentation).
However is their a way to end the trip.? all the data is available in route.
something like checking the same coordinates (considering filter.distance, to avoid GPS drift issue) for more than configurable time?

below is what my device is reporting (milesmate), where F:17.41 is km/hr, K:xxxxxV is invalid GPS but valid GPRS. J:10000100 first bit represent Ignition ON.

ApiString={A:8613590374xxxxx,B:11.3,C:00.0,D:153055,E:2830.4467N,F:07724.5470E,G:017.41,H:311018,I:G,J:10000100,K:0000000V,L:1234,M:123.61}