通过 Tessie API 控制您的特斯拉车辆——这是一个拥有超过 50 万用户的特斯拉管理平台。
获取您的 Tessie API 凭证:
1. 访问 https://tessie.com/developers
2. 注册并创建一个 API 密钥
3. 在 Clawdbot 中配置:
skills:
entries:
tessie:
apiKey: "your-tessie-api-key-here"
或通过环境变量配置:
export TESSIE_API_KEY="your-tessie-api-key-here"
注意:车辆 ID 和 VIN 码会自动从 API 检测,无需手动配置。
# 检查电池和续航
"tessie battery"
"tessie how much charge"
"tessie range"
# 预热车辆(若温度大于 50 则默认为华氏度)
"tessie preheat 72"
"tessie precool"
"tessie turn on climate"
# 查看行程
"tessie show my drives"
"tessie recent drives"
"tessie drives 5"
# 充电命令
"tessie start charging"
"tessie stop charging"
"tessie set charge limit to 90%"
"tessie charging status"
# 车辆位置
"tessie where is my car"
"tessie location"
# 车辆状态
"tessie is the car locked?"
"tessie vehicle status"
所有请求都需要:
Authorization: Bearer <api-key>
GET https://api.tessie.com/vehicles
返回包含 last_state 的完整车辆列表
GET https://api.tessie.com/{VIN}/drives?limit=10
返回最近的行程历史
GET https://api.tessie.com/{VIN}/idles?limit=10
返回包含空调/哨兵模式使用情况的驻车记录
所有控制命令都使用 VIN 码(而非 vehicle_id):
POST https://api.tessie.com/{VIN}/command/{command}
可用命令:
- start_climate, stop_climate, set_temperatures
- start_charging, stop_charging, set_charge_limit
- lock, unlock, enable_sentry, disable_sentry
- activate_front_trunk, activate_rear_trunk
- open_windows, close_windows, vent_windows
完整列表请参见:https://developer.tessie.com