Tesla Energy · Schema
Tesla Energy Site Live Status
Real-time power flow and state-of-charge snapshot returned by GET /energy_sites/{site_id}/live_status. Power values are signed: positive battery_power means discharging, positive grid_power means importing from the grid.
EnergyClean EnergySolarBattery StoragePowerwallMegapackSolar RoofVirtual Power PlantIoTGrid ServicesHome EnergyUtility Scale
Properties
| Name | Type | Description |
|---|---|---|
| solar_power | number | Instantaneous solar generation in watts. |
| battery_power | number | Instantaneous battery power in watts (positive = discharging). |
| grid_power | number | Instantaneous grid power in watts (positive = importing). |
| load_power | number | Instantaneous home or site load in watts. |
| generator_power | number | Instantaneous generator power in watts (if installed). |
| percentage_charged | number | Battery state-of-charge as a percent. |
| energy_left | number | Battery energy remaining in watt-hours. |
| total_pack_energy | number | Total Powerwall (or Megapack) pack energy capacity in watt-hours. |
| grid_status | string | Whether the grid is currently connected. |
| backup_capable | boolean | Whether the site can island and provide backup power. |
| storm_mode_active | boolean | True when Storm Mode is currently pre-charging or holding. |
| island_status | string | Detailed grid-coupling state. |
| timestamp | string | Reading timestamp in ISO-8601. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/tesla-energy/refs/heads/main/json-schema/tesla-energy-live-status-schema.json",
"title": "Tesla Energy Site Live Status",
"description": "Real-time power flow and state-of-charge snapshot returned by GET /energy_sites/{site_id}/live_status. Power values are signed: positive battery_power means discharging, positive grid_power means importing from the grid.",
"type": "object",
"required": ["timestamp"],
"properties": {
"solar_power": {
"type": "number",
"description": "Instantaneous solar generation in watts."
},
"battery_power": {
"type": "number",
"description": "Instantaneous battery power in watts (positive = discharging)."
},
"grid_power": {
"type": "number",
"description": "Instantaneous grid power in watts (positive = importing)."
},
"load_power": {
"type": "number",
"description": "Instantaneous home or site load in watts."
},
"generator_power": {
"type": "number",
"description": "Instantaneous generator power in watts (if installed)."
},
"percentage_charged": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Battery state-of-charge as a percent."
},
"energy_left": {
"type": "number",
"description": "Battery energy remaining in watt-hours."
},
"total_pack_energy": {
"type": "number",
"description": "Total Powerwall (or Megapack) pack energy capacity in watt-hours."
},
"grid_status": {
"type": "string",
"enum": ["Active", "Inactive", "Unknown"],
"description": "Whether the grid is currently connected."
},
"backup_capable": {
"type": "boolean",
"description": "Whether the site can island and provide backup power."
},
"storm_mode_active": {
"type": "boolean",
"description": "True when Storm Mode is currently pre-charging or holding."
},
"island_status": {
"type": "string",
"enum": ["on_grid", "off_grid", "off_grid_intentional", "off_grid_unintentional"],
"description": "Detailed grid-coupling state."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Reading timestamp in ISO-8601."
}
}
}