Coding

Tesla

Try it

Control your Tesla vehicles — lock/unlock, climate, location, charge status, and more. Supports multiple vehicles via Tesla Fleet API.

What it does

Control your Tesla vehicles from OpenClaw. Supports multiple cars on one account.

The skill document

Tesla

Control your Tesla vehicles from OpenClaw. Supports multiple cars on one account.

Fleet API Update (2026): Tesla is deprecating direct /command REST calls. Vehicles on firmware 2024.26+ require the Vehicle Command Protocol (VCP) SDK. The tesla-fleet-api Python package (v1.x+) handles this automatically.

Setup

First-time authentication:

TESLA_EMAIL="you@email.com" python3 {baseDir}/scripts/tesla.py auth

This will:

  1. Display a Tesla login URL
  2. You log in and authorize in browser
  3. Paste the callback URL back
  4. Token cached for future use (~30 days, auto-refreshes)

Environment variables:

  • TESLA_EMAIL — Your Tesla account email
  • Token cached in ~/.tesla_cache.json

Multi-Vehicle Support

Use --car or -c to specify which vehicle:

# List all vehicles
python3 {baseDir}/scripts/tesla.py list

# Commands for specific car
python3 {baseDir}/scripts/tesla.py --car "Snowflake" status
python3 {baseDir}/scripts/tesla.py -c "Stella" lock

Without --car, commands target your first vehicle.

Commands

# List all vehicles
python3 {baseDir}/scripts/tesla.py list

# Get vehicle status
python3 {baseDir}/scripts/tesla.py status
python3 {baseDir}/scripts/tesla.py --car "Stella" status

# Lock/unlock
python3 {baseDir}/scripts/tesla.py lock
python3 {baseDir}/scripts/tesla.py unlock

# Climate
python3 {baseDir}/scripts/tesla.py climate on
python3 {baseDir}/scripts/tesla.py climate off
python3 {baseDir}/scripts/tesla.py climate temp 72

# Charging
python3 {baseDir}/scripts/tesla.py charge status
python3 {baseDir}/scripts/tesla.py charge start
python3 {baseDir}/scripts/tesla.py charge stop

# Location
python3 {baseDir}/scripts/tesla.py location

# Honk & flash
python3 {baseDir}/scripts/tesla.py honk
python3 {baseDir}/scripts/tesla.py flash

# Wake up (if asleep)
python3 {baseDir}/scripts/tesla.py wake

Example Chat Usage

  • "Is my Tesla locked?"
  • "Lock Stella"
  • "What's Snowflake's battery level?"
  • "Where's my Model X?"
  • "Turn on the AC in Stella"
  • "Honk the horn on Snowflake"

API Reference

Uses the unofficial Tesla Owner API documented at: https://tesla-api.timdorr.com

Privacy & Security

  • Credentials stored locally only
  • Refresh token cached in ~/.tesla_cache.json
  • No data sent to third parties
  • Tokens auto-refresh for ~30 days

Related skills

Post videos, photos, text, and documents to 10 social platforms through a single REST API call.

by victorcavero14375 installs50 stars

Query and manage Linear issues, projects, teams, cycles, labels, and comments through a managed OAuth GraphQL endpoint.

by byungkyu518 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Query Twitter/X profiles, tweets, follower events, and KOL data through the 6551 REST API.

by infra403840 installs27 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Manage Stripe customers, subscriptions, invoices, products, prices, and payments through OAuth-authenticated API calls.

by byungkyu720 installs29 stars

More from mvanhorn

Browse all skills

Cross-platform research report drawn from the last 30 days of community signals.

by mvanhorn281 installs20 stars

Query and trade on Polymarket prediction markets — check odds, trending markets, search events, view order books, place trades, and manage positions. Now ava...

by Matt Van Horn304 installs24 stars

Real-time X/Twitter search powered by Grok-4. Find tweets, trends, and discussions with citations. Grok-4.20 also returns image results alongside tweet citat...

by mvanhorn275 installs32 stars

Connect to Supabase for SQL queries, CRUD, table management, and vector similarity search using pgvector extension and OpenAI embeddings.

by Matt Van Horn34 installs

Create and manage AI agent tasks via Manus API. Manus 1.5 autonomously browses the web, uses tools, and delivers complete work products. Cost-efficient Manus...

by mvanhorn101 installs4 stars

Chat with Grok models via xAI API. Supports Grok-4, Grok-4.20, Grok-3, Grok-3-mini, vision, and real-time X search.

by mvanhorn128 installs5 stars