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

Tesla Owner API doesn't allow sending vehicle commands anymore #4

Open
erwin1 opened this issue May 30, 2024 · 4 comments
Open

Tesla Owner API doesn't allow sending vehicle commands anymore #4

erwin1 opened this issue May 30, 2024 · 4 comments

Comments

@erwin1
Copy link
Owner

erwin1 commented May 30, 2024

See https://developer.tesla.com/docs/fleet-api#2023-10-24-vehicle-data-update-on-firmware-versions-2023-38

Tesla now requires end-to-end authentication to send vehicle commands.

Possible solutions:

  1. Refactor to use Fleet API instead of Owner API + setup and run tesla-http-proxy from https://github.com/teslamotors/vehicle-command to send commands
  2. Use the BLE SDK from https://github.com/teslamotors/vehicle-command to send command directly to the vehicle.
@erwin1
Copy link
Owner Author

erwin1 commented May 30, 2024

Tested option 1:

This works, but the Fleet API has VERY low rate limits: https://developer.tesla.com/docs/fleet-api#membership-levels
Only 5 charging commands per day, which is far too low for this use case.

@erwin1
Copy link
Owner Author

erwin1 commented May 30, 2024

Tested option 2:

This works using the command line SDK. Next step is to integrate the commands in the homecontrol app instead of calling the Owner API to send vehicle commands.

@erwin1
Copy link
Owner Author

erwin1 commented Jun 1, 2024

interesting feature request teslamotors/vehicle-command#52 as this would allow operation via BLE only (no need to use the REST API to get vehicle_data)

@dglaude
Copy link

dglaude commented Jul 1, 2024

I wanted to make sure you knew about https://github.com/wimaha/TeslaBleHttpProxy as an HTTP way to do BLE control.

Right now I try to make evcc work for me, but since I have an HomeWizard P1 reader, I might have all the hardware needed to switch to your project.

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

2 participants