tesla-commands
Control your Tesla via MyTeslaMate API. Supports multi-vehicle accounts, climate control, and charging schedules.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-30
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!