If you want real time from Tesla i suppose you need root access to the system in your car to setup transmission of position from Tesla, and then Traccar needs to implement whatever protocol they use. Perhaps easier to just install another (supported) tracking device in your car.
It looks like Teslas can stream data directly to a third party service:
https://developer.tesla.com/docs/fleet-api/fleet-telemetry
Pretty cool. It should be possible to support this.
The Tesla mate project on GitHub already pulls all this data and presents it in a nice postgres database via Grafana and Google maps
Even building a plug-in that would feed from Tesla mate would be a great benefit
I fully recognize this is probably a niche. You know I don’t imagine there are many fleets of Tesla’s out there, but for my own personal use, it would be kind of cool.
I am no Dev, but I’m happy to help how I can
If there is user interest and willingness to sponsor this work, I would be happy to contribute a portion of the costs for this project.
Email support everyone who's interested in sponsoring the work. We'll see if we get enough interest.
I don't feel sure that the car streams directly to 3.d party, it seems more like its getting it from the Tesla server.
However this too will be sufficient in many cases.
This is what the documentation says:
Fleet Telemetry allows vehicles to stream data directly to a server, eliminating the need to poll the vehicle_data endpoint.
So Tesla has a pretty accurate gps tracker built in - using tesla mate I was able to access the records etc etc etc
But I want to pipe that data into Traccar to track with the rest of my stuff - such as my phone and some trackers I’ve built using sinotrack gear
Has anyone done this? I’ve found a way via home assistant but it isn’t nearly as up to date (real time) as the Tesla tracking