Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to "share a vehicle configuration with Tesla"? #41

Closed
Niek opened this issue Jun 29, 2023 · 31 comments
Closed

How to "share a vehicle configuration with Tesla"? #41

Niek opened this issue Jun 29, 2023 · 31 comments

Comments

@Niek
Copy link

Niek commented Jun 29, 2023

Great project!

The README is pretty self-explanatory, but step 6 is a bit vague:

fleet-telemetry/README.md

Lines 114 to 127 in 2cb04c3

6. Create and share a vehicle configuration with Tesla
```
{
"hostname": string - server hostname,
"ca": string - pem format ca certificate(s),
"fields": { map of field configurations
name (string) -> {
"interval_seconds": int - data polling interval in seconds
}...
},
"alert_types": [ string list - alerts audiences that should be pushed to the server, recommendation is to use only "service" ]
}
```
Example: [client_config.json](./examples/client_config.json)

How can this config be shared? Is there some site where interested service providers (and hopefully individuals?) can sign up/upload the config?

@aaronpkahn
Copy link
Collaborator

Great question @Niek. More info to come on this soon.

@stx
Copy link

stx commented Jun 30, 2023

@aaronpkahn Creator of Tessie here - this looks incredible and is super exciting. Thank you for supporting this and all of the work you and your team do. ❤️

@ProductCrazy
Copy link

ProductCrazy commented Jun 30, 2023

The doors this will open up are truly endless. Hoping other manufacturers follow suit. Can you talk through the limitations (if any) when it comes to supported use-cases for the data once shared?

Or is the intention behind the open concept that if the user (owner) deems the 3rd party has value and decides to share access there's no downstream limitations?

@beaylott
Copy link

beaylott commented Jul 3, 2023

@aaronpkahn can i put a vote in for an API endpoint using current auth used to set this up?

@ErikDeBruijn
Copy link

This is a really great development!

I'm also very interested in this, specifically how to become authorised to receive someone's vehicle telemetry. We're offering a smart charging service to allow people to plan their charging to occur especially when curtailment is happening on the grid ( Stekker.app ). We want to scope down the information we have access to, to a very small subset of what is being offered here, (e.g. only charging related data).

(on a nitpicking side-note: the file name SECURTIY.md has a typo)

@tonychill
Copy link

@Niek any luck with this?

@Niek
Copy link
Author

Niek commented Jul 19, 2023

@Niek any luck with this?

No, we're waiting on @aaronpkahn to provide details. I guess Tesla will launch this soon - maybe in tandem with the Q2 earnings call today?

@tushar-mohan
Copy link

tushar-mohan commented Jul 20, 2023

I also wanted clarification on the "ca" field in the client config. It would seem that if Tesla CA is issuing certificates to the device and the server, the CA cert would not need to be provided in a production scenario. Would that be correct?

@tonychill
Copy link

Whoever provides the CA (you or Tesla) would also have to create the client and server certs. With the scenario of the vehicle sending data to your prod env I would prefer to manage those certs.

@tushar-mohan
Copy link

@tonychill thanks for reply. Yes, the same CA would need to issue both the certs -- and better it be in-house. Thanks for clarifying that. I was mistaken regarding the workflow earlier.

@KartikAiyer
Copy link

I'm curious if this will also provide some of the remote access to things like locks and air conditioning? Fleet managers would be able to provide their drivers with some of the remote access that native tesla owners have like turning on the AC before starting a trip.

@beaylott
Copy link

@aaronpkahn any updates on this?

@aaronpkahn
Copy link
Collaborator

Not yet @beaylott. We're currently in an active development and trial phase, and will communicate more when this phase completes.

@tlbdk
Copy link

tlbdk commented Aug 24, 2023

@aaronpkahn any way to sign up for the trial, we have quite a few customers who are interested in this?

@aaronpkahn
Copy link
Collaborator

@tlbdk not quite yet. We need to first complete some infrastructure development to reduce the internal cost of onboarding fleets.

@Meowcat285
Copy link

Any updates on this?

@Niek
Copy link
Author

Niek commented Oct 4, 2023

https://www.tesla.com/en_gb/fleet#contact

I assume this is the way to register. As far as I can see, this is mostly useful for larger companies.

@jdarpinian
Copy link

Registration is live now along with documentation https://developer.tesla.com/docs/fleet-api

@slashmili
Copy link

We have setup the new fleet-api, we are getting vehicle data via REST but still not sure how can we share this file with Tesla.

There is a section about registering partner account, is this how we should share this info with Tesla? There is no mention of telemetry on that api doc and I'm not sure how to move forward with streaming data

@vbarrier
Copy link

+1 release the kraken to stream data to our telemetry servers :-)

@john-optiwatt
Copy link

@aaronpkahn - is the ability to do this live yet? The developer docs reference using fleet telemetry, but nowhere does it seem documented on how to complete the "Create and share a vehicle configuration with Tesla" step. We'd love to be able to switch from polling to this new telemetry/websocket streaming as soon as viable to stay well within the rate limits outlined.

@wesley-coxauto
Copy link

We are also confused about this. Any updates?

@jlestel
Copy link

jlestel commented Nov 14, 2023

Please add WIP or update your API. Atm, we just lost time here.

@hullo-rikard
Copy link

hullo-rikard commented Nov 16, 2023

@aaronpkahn 👋 We started a small driving journal just a few weeks before the announcement that version 2023.38+ would no longer return any location data. We quickly implemented this new fleet-telemetry to be able to get location data again and are now stuck with angry users and no where to put our client/vehicle config 😓 Any type of update or information regarding this issue?

@slashmili
Copy link

slashmili commented Nov 16, 2023

@aaronpkahn 👋 We started a small driving journal just a few weeks before the announcement that version 2023.38+ would no longer return any location data. We quickly implemented this new fleet-telemetry to be able to get location data again and are now stuck with angry users and now here to put our client/vehicle config 😓 Any type of update or information regarding this issue?

Are you using fleet-telemetry or the REST API?

If you are using REST, there has been an update https://developer.tesla.com/docs/fleet-api#vehicle_data

Makes a live call to the vehicle. This may return cached data if the vehicle is offline. For vehicles running firmware versions 2023.38+, location_data is required to fetch vehicle location. This will result in a location sharing icon to show on the vehicle UI.

@hullo-rikard It means you need to call the endpoint with additional location_data in the query string, e.g;

curl http://...../api/1/vehicles/:id/vehicle_data?endpoints=location_data

If you are using fleet-telemetry I'm eager to learn how did you share the config with Tesla and the car

@mittsh
Copy link

mittsh commented Nov 30, 2023

@aaronpkahn Regarding Fleet Telemetry, do you have any update on the last step "Create and share a vehicle configuration with Tesla"? How to share (or upload, or POST) the file client_config.json?

Also curious if you got this to work @slashmili?

p.s. really appreciate the direction the Fleet API is taking, this is awesome, huge thanks to the team!

@slashmili
Copy link

@mittsh nope! Still waiting for more information to put fleet-telemetry in use

@slashmili
Copy link

FYI there has been an update in Tesla's Developer Doc regarding sharing the config:

https://developer.tesla.com/docs/fleet-api#fleet-telemetry

@agbpatro
Copy link
Collaborator

agbpatro commented Jan 3, 2024

We have updated instructions and documentation regarding this here

@Bre77
Copy link

Bre77 commented Jan 3, 2024

We have updated instructions and documentation regarding this here

Thats great to hear @agbpatro, are Fleet API Support still responding to CSRs over the holiday period? The new API is working in so far as It does not like my self-signed certificate 😄

@agbpatro
Copy link
Collaborator

agbpatro commented Jan 3, 2024

We have updated instructions and documentation regarding this here

Thats great to hear @agbpatro, are Fleet API Support still responding to CSRs over the holiday period? The new API is working in so far as It does not like my self-signed certificate 😄

Yes we are incrementally ramping up the process for responding to CSR requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests