Tesla Tracking

Imzenreally2 months ago

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

sbh2 months ago

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.

Anton Tananaev2 months ago

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.

Imzenreally2 months ago

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

SwayDev2 months ago

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.

Anton Tananaev2 months ago

Email support everyone who's interested in sponsoring the work. We'll see if we get enough interest.

sbh2 months ago

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.

Anton Tananaev2 months ago

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.