Tesla Smart Charge
Skill by thibautrey
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/thibautrey/tesla-smart-chargename: tesla-smart-charge description: Smart Tesla charging scheduler with charge limit management. Runs daily to check a schedule file and charge only on configured dates. Automatically manages charge limits during sessions (default 100%) and after sessions (default 80%). Use when you need to: (1) Charge your Tesla on specific planned dates, (2) Manage charge limits for battery health, (3) Calculate optimal charging start times, (4) Set up recurring daily checking with flexible charge scheduling.
Tesla Smart Charge Optimizer
Schedule Tesla charging to reach target battery % by a specific time. Runs daily via cron to check a schedule file and only charges on configured dates.
Security & Dependencies
Required:
- Environment variable:
TESLA_EMAIL(your Tesla account email) - Skill dependency:
teslaskill must be installed and properly configured with Tesla API credentials
Security improvements (v1.1.0+):
- ✅ No shell injection risk: Uses argument lists instead of shell=True
- ✅ Email validation: TESLA_EMAIL is validated before use
- ✅ Input validation: Charge limits are validated (0-100% range)
- ✅ Secure env passing: Credentials passed via environment variables, not string interpolation
- ✅ Explicit dependencies: Metadata declares required env vars and skill dependencies
Quick Start
1. Set Up Schedule
Copy the example schedule file:
cp skills/tesla-smart-charge/references/tesla-charge-schedule-example.json \
memory/tesla-charge-schedule.json
Edit memory/tesla-charge-schedule.json with your planned charge dates:
{
"charges": [
{
"date": "2026-02-01",
"target_battery": 100,
"target_time": "08:00"
},
{
"date": "2026-02-03",
"target_battery": 80,
"target_time": "07:00"
}
]
}
Cron Setup (Recommended)
Option 1: Daily Check at Midnight (Simple)
clawdbot cron add \
--name "Tesla daily charge check" \
--schedule "0 0 * * *" \
--task "[email protected] python3 /path/to/skills/tesla-smart-charge/scripts/tesla-smart-charge.py --check-schedule"
Option 2: Daily Check + Session Management (Recommended)
For better charge limit management, run both:
At midnight (initialize daily charge):
clawdbot cron add \
--name "Tesla daily charge check" \
--schedule "0 0 * * *" \
--task "[email protected] python3 /path/to/skills/tesla-smart-charge/scripts/tesla-smart-charge.py --check-schedule"
Every 30 minutes during active hours (manage session limits):
clawdbot cron add \
--name "Tesla session management" \
--schedule "*/30 8-23 * * *" \
--task "[email protected] python3 /path/to/skills/tesla-smart-charge/scripts/tesla-smart-charge.py --manage-session"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-thibautrey-tesla-smart-charge": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
meal-suggester
Quick dinner companion blending taste profiles, inventory tracking, and learning-based recipe rotation. Use to generate ≤25‑minute meals, log ingredients, and build shopping suggestions that respect both your and your partner’s preferences.
agent-hq
Deploy the Agent HQ mission-control stack (Express + React + Telegram notifier / Jarvis summary) so other Clawdbot teams can spin up the same board, high-priority watcher, and alert automation. Includes setup, telemetry, and automation hooks.
evenrealities-tracker
Automate Evenrealities order monitoring (daily checks, status history, change-only alerts). Uses fast-browser-use to fill the tracker form, compare statuses, and notify Telegram only when something changes, while logging everything into `memory/evenrealities-status-history.json`.