Shortcuts for Tesla

A collection of shortcuts to control and get information about your Tesla. These are especially useful when run from the home screen as widgets.

Setup and usage

These shortcuts use Tesla’s (unofficial) API to get information about your car and send commands to it. An access token is required for authentication when making these API requests.

You must install the Auth app for Tesla iOS app to generate this token. This app handles authentication using your Tesla credentials and provides it to these shortcuts. Your credentials are not stored anywhere and the app handles refreshing the token when needed.

I recommend creating a Tesla folder in Shortcuts to organize the Tesla shortcuts and show them on the home screen.

Configuration shortcuts

There are two “configuration” shortcuts required by each of the Tesla shortcuts. These shortcuts perform specific actions and are run within each of the Tesla shortcuts so they must be installed to work.

These configuration shortcuts are also used to set up Scriptable Widgets for Tesla. You only need to install them once to use these Tesla shortcuts or Scriptable widgets.

Tesla Car Select

Each shortcut needs the ID of the car to send the command to or get information about. The Tesla Car Select shortcut gets the ID of your Tesla and passes it to the shortcut in progress. If you have more than one Tesla associated with your account, the Tesla Car Select shortcut displays a list to select from.

Tesla Wake Car

Teslas go to sleep after a certain amount of time and need to be woken up before it can be interacted with. The Tesla Wake Car shortcut wakes the car before the chosen shortcut runs.


Tesla Battery Status

Get the charging status, battery level, and estimated range of your Tesla in miles and kilometers. Also gets the estimated charge time if the car is currently charging.

Tesla Security Status

Check if the doors are locked. Sentry Mode is armed or disarmed, and if either the frunk or trunk are open.

Tesla Flash Lights

Command your Tesla to flash its lights.

Tesla Honk Horn

Command your Tesla to honk its horn.

Tesla Open Frunk

Command your Tesla to open the frunk.

Tesla Actuate Trunk

Command your Tesla to open the trunk. If you have a car with a powered tailgate, this command also closes the trunk.

Tesla Sentry Mode

Command your Tesla to arm or disarm Sentry mode.

Tesla Charge Port

Command your Tesla to open or close its charge port.

Find My Tesla

Locate your Tesla and get directions to it.

Credits

My thanks to Tim Dorr for the unofficial Tesla API documentation and to Kim Hansen for Auth app for Tesla.

Want to buy me a coffee?

I enjoy creating shortcuts and sharing them for everyone to enjoy. If you’d like to show your appreciation and help keep me caffeinated, consider sending a few bucks my way.

$3.00
$5.00
$10.00

Any contribution is greatly appreciated.

Donate

Changelog

  • 2021-03-28
    • Updated all shortcuts to use Auth app for Tesla iOS app to handle Tesla authentication. These shortcuts no longer handle token generation and Tesla Settings has been deprecated.
  • 2020-12-29
    • Resolved issue where some shortcuts couldn’t access token information on iCloud Drive
  • 2020-12-20
    • Updated all shortcuts to resolve an issue where the “Tesla Auth” shortcut was reportedly missing. This was originally a name of what became the Tesla Settings shortcut. Despite renaming it before release, there seems to be a bug in Shortcuts that was causing some of these shortcuts to ignore the newer name. I’ve manually updated every shortcut to resolve this. I recommend deleting the existing shortcuts and installing them again.