Set Powerwall backup reserve and operating mode via the Tesla Fleet API energy site endpoints
domain: developer.tesla.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Call GET /api/1/energy_sites/{energy_site_id}/site_info to read current settings including backup reserve, assets (e.g. solar presence), and features like storm_mode_capable
Call POST /api/1/energy_sites/{energy_site_id}/operation to set the site's operating mode, such as 'autonomous' (time-based control) or 'self_consumption'
Call the backup reserve endpoint to adjust the site's backup reserve percentage
Call POST /api/1/energy_sites/{energy_site_id}/off_grid_vehicle_charging_reserve to set a separate reserve threshold for off-grid EV charging
Use the live status GET endpoint to read current power, state of energy, and grid status, with power in watts and energy in watt-hours
Known gotchas
Backup reserve and off-grid vehicle charging reserve are configured via separate endpoints; do not conflate the two settings
Operation mode ('autonomous' vs 'self_consumption') changes automatic site behavior; confirm which mode is active before layering manual commands on top
This requires standard Tesla Fleet API OAuth partner registration and scopes; it is a different access path from the local Powerwall gateway API
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?