-
Notifications
You must be signed in to change notification settings - Fork 3
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 support for Command signing #5
Comments
Yes there are plans to do this, but it is very difficult, and it will take time. I will also need a way to install a private key on vehicles, which is likely going to require a bluetooth implementation, which I have also started for Home Assistant. |
Did a quick google to get a better understanding on the whole key topic. For protocol, the relevant part of the article:
|
Yes, but that's written in Go and the only Python implementation hasn't been updated for ~2 years and no longer works. I've spent most of the day today working on it and while I can get the public key installed that's about as far as I have it working. I may just give up on the Bluetooth implementation and resort to giving people instructions to use Tesla's tools. |
Oh I see. You wanted it to be part of this project (makes sense). |
Well the bluetooth side will live in https://github.com/Teslemetry/python_tesla_bluetooth but it creates the private key that this library could then use. So really now the biggest blocker is that the only command signing implementation ive seen that works is either in C# or Go, and I need it in Python. It'll be the next thing I try attempt. |
Mind sharing the go project? |
https://github.com/teslamotors/vehicle-command/blob/main/cmd/tesla-http-proxy/main.go I have started the library side implementation here: https://github.com/Teslemetry/python-tesla-fleet-api/blob/main/tesla_fleet_api/vehiclesigned.py |
I got pretty close to a working implementation on flash_lights tonight. Just the HMAC signature to go, so it's realistic that I could get this in for 2024.11 |
IT WORKS |
I love how you went from
to
in just 3 days. |
I suffer from shiny object syndrome. I started making progress and felt like It was actually acheivable. I have working:
Just the matter of writting all the protobuf defintions for the other Infotainment commands and then a lot of exception handling. |
Sounds to me like you got into some kind of flow. I love when that happens :) Given the commit history, you've been chipping away. |
Hi @Bre77, maybe I missed something... |
Pretty sure this didn't make it into the 2024.11 release as the aktual implementation in HA happend 2 days ago (See home-assistant/core#128407) Should be part of 2024.12 I think |
So there is no hope that it will be introduced in 2024.11.x? :( |
Home Assistant does not release new features in .x releases, only in the monthly x.0 release. |
Discussions aren't enabled and there's no issue for this yet so here I go...
Home-Assistant just added a bunch of features to the tesla integration which is based on this module.
For my m3 highland, command signing seems to be required.
Are there plans on adding support for this?
I don't know how difficult this would be so excuse me if I sound ignorant.
The text was updated successfully, but these errors were encountered: