Tesla Tracking

Imzenreallya year 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

sbha year 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 Tananaeva year 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.

Imzenreally10 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

SwayDev10 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 Tananaev10 months ago

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

sbh10 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 Tananaev10 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.

Jabber4 months ago

I have a solution working which I built as part of a larger project. I'm consuming data from a fleet of Tesla vehicles and sending it to Traccar using the OsmAnd protocol.

The data set is quite rich and reporting everything from trips, SOC, charging details, estimated range based on SOC, tire pressures, seat belts, gear, odometer, location, door states, etc.

If there's interest, and Anton is comfortable with it, I'd be happy to add support for the broader public to be able to push data to their respective Traccar instances.

Anton Tananaev4 months ago

There's clearly some interest. Would be great if you can share.

Jabber4 days ago

Anton / Community,

As mentioned in my earlier post, I’ve been working on opening up my Tesla → Traccar data streaming service to the broader public and would like to offer a handful of people 3 months of free access. Unfortunately, the service can’t remain free long-term since Tesla charges for the data stream and I need to cover those costs.

So far, most of my testing has been outside Europe, the Middle East, and Africa. I’d very much welcome at least one user from one of these regions to confirm that everything functions correctly there.

I don’t want to break any forum rules by posting or requesting personal / business information here. Anton, could you please advise on the best way to move forward in line with the forum guidelines?

To set up access, I’ll need a few details from interested parties so that I can send invites out.

Anton Tananaev4 days ago

If it's not open source, you can't post it here.