-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Add Tesla using official vehicle command library #10802
Conversation
0f0ead2
to
fb29c37
Compare
fb29c37
to
9a2dbc7
Compare
Very cool! Is it still not an option to get the climate/preconditioning state with this new API because it has to be woken up each time which drains the battery? |
Does this already work? Tesla deactivated the old API as of last week for me, making EVCC unusable with a TWC3. |
Yes, but not for twc3 for reasons explained in #10460 (comment) |
any idea when this is released? I cannot use my Tesla vehicle anymore because the old API is no more working. |
When testing I get:
I don't understand why you're doing this: |
When generating the new API token using https://tesla.evcc.io/, which check boxes do I have to tick? All or only the ones with wakeup and charging data? |
I also get: "creating vehicle Infinus failed: cannot create vehicle type 'template': cannot create vehicle type 'tesla-command': cannot get vehicles: unexpected status: 421 (Misdirected Request)" |
@infinus please open issue with trace log for Tesla. Which region are you located in? Sounds like teslamotors/vehicle-command#131. |
Yes exactly what I am thinking and what I referenced in my other post. I will open an issue. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Closing here since this has been implemented. |
Fix #10460, refs #10789
How to get Tesla Integration working?
template
fromtesla
totesla-command
.tesla-command
might change before the next stable release. But for now, this is the working version.Using local builds is still possible, but now requires a Tesla Developer account. Use the
TESLA_CLIENT_ID
env.Optional: