Hello,
First of all, this software is amazing and I’m so grateful that it is available for free. Thank you!
I’m trying to use Traccar to keep track of my vehicle’s personal use vs business use for tax purposes. I’m hoping to export my trips at the end of a week and make notes in the spreadsheet about which are personal and which are for business. However, my trips are not being recorded as expected.
I’m hosting the server on my NAS, and I’m connecting to it via my Android phone. I’ve used Tasker to trigger the app Intents to Start and Stop the Traccar Client Service when my phone connects and disconnects to a Bluetooth device in my vehicle.
(Following the instructions near the end of this thread: https://www.traccar.org/forums/topic/tasker/)
This works. I can see that the client is running while my vehicle is on and the Bluetooth connection is connected.
However, when I check the trips on the server’s web portal I don’t see the trips as expected. Often there will be no trips at all listed in a given day, or only segments of trips. My first thought was that my minimum trip distance and length were the issue. But I’ve changed those to be very small and that has not affected the issue.
I think whats happening is that the application is trying to infer when a trip starts and stops when it calculates what constitutes a “trip”, where as in my use-case I would like to specify exactly when a trip starts and stops using the Android Intents.
Is there a way to use these Android Intents to specify the start and stop of trips rather than the applications own logic? (Since my aim is to not leave the Traccar client always running on my phone.)
In the cases where only segments of trips show up as “trips” in the web portal, the rest of trip (as I would like it to be presented) does exist in the database. I can see locations in the database directly before and after where the “Trip” in the web portal is reported to start and stop. So I’m confident that it is purely a matter of the servers logic in defining what a trip is.
I would really appreciate any help / guidance / suggestions.
Thanks again!
Is there a way to use these Android Intents to specify the start and stop of trips rather than the applications own logic?
There's no way to do something like that out of the box.
Wow, thank you for the quick response!
Bummer. I'd ask where I might start to try and implement something like that but if I'm being honest, I had enough of a had time getting it up and running it of the box.
I guess the simplest option would be to leave it running all the time. I'll give that a go and see what my trips look like.
Im worried my phone might kill the process eventually (though I've followed the instruction in-app to prevent that). Maybe the easiest thing would be to have Tasker intermittently open the app.
Thanks again.
Yes, running it all the time is probably the easiest option.
If you turn it off between trips, how long are those breaks usually? You can try to configure report.trip.minimalNoDataDuration
to categorize those as stops.
Hello,
First of all, this software is amazing and I’m so grateful that it is available for free. Thank you!
I’m trying to use Traccar to keep track of my vehicle’s personal use vs business use for tax purposes. I’m hoping to export my trips at the end of a week and make notes in the spreadsheet about which are personal and which are for business. However, my trips are not being recorded as expected.
I’m hosting the server on my NAS, and I’m connecting to it via my Android phone. I’ve used Tasker to trigger the app Intents to Start and Stop the Traccar Client Service when my phone connects and disconnects to a Bluetooth device in my vehicle.
(Following the instructions near the end of this thread: https://www.traccar.org/forums/topic/tasker/)
This works. I can see that the client is running while my vehicle is on and the Bluetooth connection is connected.
However, when I check the trips on the server’s web portal I don’t see the trips as expected. Often there will be no trips at all listed in a given day, or only segments of trips. My first thought was that my minimum trip distance and length were the issue. But I’ve changed those to be very small and that has not affected the issue.
I think whats happening is that the application is trying to infer when a trip starts and stops when it calculates what constitutes a “trip”, where as in my use-case I would like to specify exactly when a trip starts and stops using the Android Intents.
Is there a way to use these Android Intents to specify the start and stop of trips rather than the applications own logic? (Since my aim is to not leave the Traccar client always running on my phone.)
In the cases where only segments of trips show up as “trips” in the web portal, the rest of trip (as I would like it to be presented) does exist in the database. I can see locations in the database directly before and after where the “Trip” in the web portal is reported to start and stop. So I’m confident that it is purely a matter of the servers logic in defining what a trip is.
I would really appreciate any help / guidance / suggestions.
Thanks again!