This small project allows for controlling Tesla cars over BLE. Right now, only setting the charging current is possible.
- Use tesla-control to create a key pair and enroll it in your vehicle.
- Important: don't let it save the private key into a keychain! This project cannot work with keychains. Use
-key-file
. - Configure the vehicle(s) based on the example.yaml.
- Build the executable and grant BLE permissions to it:
go build
sudo setcap 'cap_net_admin=eip' hass-tesla-vc
- Run:
./hass-tesla-vc config.yaml