Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles.
Control your Tesla vehicles from Clawdbot. Supports multiple cars on one account.
```bash
TESLA_EMAIL="[email protected]" 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)
Use `--car` or `-c` to specify which vehicle:
```bash
python3 {baseDir}/scripts/tesla.py list
python3 {baseDir}/scripts/tesla.py --car "Snowflake" status
python3 {baseDir}/scripts/tesla.py -c "Stella" lock
```
Without `--car`, commands target your first vehicle.
```bash
python3 {baseDir}/scripts/tesla.py list
python3 {baseDir}/scripts/tesla.py status
python3 {baseDir}/scripts/tesla.py --car "Stella" status
python3 {baseDir}/scripts/tesla.py lock
python3 {baseDir}/scripts/tesla.py unlock
python3 {baseDir}/scripts/tesla.py climate on
python3 {baseDir}/scripts/tesla.py climate off
python3 {baseDir}/scripts/tesla.py climate temp 72
python3 {baseDir}/scripts/tesla.py charge status
python3 {baseDir}/scripts/tesla.py charge start
python3 {baseDir}/scripts/tesla.py charge stop
python3 {baseDir}/scripts/tesla.py location
python3 {baseDir}/scripts/tesla.py honk
python3 {baseDir}/scripts/tesla.py flash
python3 {baseDir}/scripts/tesla.py wake
```
Uses the unofficial Tesla Owner API documented at:
https://tesla-api.timdorr.com
Leave a review
No reviews yet. Be the first to review this skill!