tesla-commands
Control your Tesla via MyTeslaMate API. Supports multi-vehicle accounts, climate control, and charging schedules.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Tesla Commands Skill 🚗
This skill allows you to monitor and control your Tesla vehicle using the MyTeslaMate API.
Prerequisites
To use this skill, you must have:
- A MyTeslaMate account with a configured vehicle.
- An API Token from MyTeslaMate (Get it at app.myteslamate.com/fleet).
- The VIN of your vehicle.
Environment Variables
The following environment variables must be set for the skill to work:
-
TESLA_MATE_TOKEN: Your MyTeslaMate API token. -
TESLA_VIN: Your vehicle's VIN (optional if you specify it via command line).
Tools
tesla-control
Manage vehicle status, climate, charging, and schedules.
Usage:
public-skills/tesla-commands/bin/tesla-control.py [options]
Options:
-
--list: List all vehicles on the account and their VINs. -
--status: Fetch full vehicle data (battery, climate, location, locks, etc.). -
--wake: Wake up the vehicle from sleep mode. -
--climate [on|off]: Start or stop the climate control. -
--charge-limit [50-100]: Set the battery charge limit percentage. -
--set-schedule [HH:MM]: Set a scheduled charging start time. -
--clear-schedule: Disable scheduled charging. -
--vin [VIN]: Target a specific vehicle (overrides the defaultTESLA_VIN).
Examples
Wake up the car:
./bin/tesla-control.py --wake
Set charge limit to 80%:
./bin/tesla-control.py --charge-limit 80
Set charging to start at 02:00:
./bin/tesla-control.py --set-schedule 02:00
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-30
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!