Generate a report for solar, grid, and battery data up to a given date, aligned with the start of various calendar periods. Reports for certain periods will return subtotals for smaller constituent periods.
This method is used to render bar and line graphs in the Tesla Android app.
Path Parameters
Name
Type
Description
:site_id
integer
The {energy_site_id} number from the products list
Query Parameters
Name
Type
Description
end_date
string
ISO 8601 datetime, e.g.2019-12-23T17:39:18.546Z. The response report interval ends on this datetime and starts at the beginning of the given period at 1:00 AM. Defaults to the current time.
time_zone
string
IANA/Olsen time zone identifier, e.g.America/New_York. Seems to have no effect on response data.
period
string
Amount of time to include in report. One of day, week, month, year, and lifetime. When kind is power, this parameter is ignored, is not required, and is always treated as day.
kind
string
Type of report to generate. One of power, energy, and self_consumption.
May be a deprecated method. Seems to be similar to the Historical Calendar Data method above, except these responses are missing the time_zone_offset field.
Path Parameters
Name
Type
Description
:site_id
integer
The {energy_site_id} number from the products list