skills$openclaw/tesla
mvanhorn3.0k

by mvanhorn

tesla – OpenClaw Skill

tesla is an OpenClaw Skills integration for coding workflows. Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles.

3.0k stars3.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nametesla
descriptionControl your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles. OpenClaw Skills integration.
ownermvanhorn
repositorymvanhorn/tesla
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @mvanhorn/tesla
last updatedFeb 7, 2026

Maintainer

mvanhorn

mvanhorn

Maintains tesla in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
tesla.py
9.1 KB
_meta.json
442 B
SKILL.md
2.3 KB
SKILL.md

name: tesla description: Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles. homepage: https://tesla-api.timdorr.com metadata: {"clawdbot":{"emoji":"🚗","requires":{"env":["TESLA_EMAIL"]}}}

Tesla

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

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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install tesla?

Run openclaw add @mvanhorn/tesla in your terminal. This installs tesla into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/mvanhorn/tesla. Review commits and README documentation before installing.