State And Settings

Work In Progress

get
Site Summary

https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_status
Request
Response
Request
Path Parameters
:site_id
required
integer
The {site_id} from the products list
Headers
Authorization
required
string
Bearer {access_token} from authentication
Response
200: OK

get
Site Data

https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/live_status
Request
Response
Request
Path Parameters
:site_id
required
integer
The {site_id} from the products list
Headers
Authorization
required
string
Bearer {access_token} from authentication
Response
200: OK

get
Site Configuration

https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_info
Request
Response
Request
Path Parameters
:site_id
required
integer
The {site_id} from the products list
Headers
Authorization
required
string
Bearer {access_token} from authentication
Response
200: OK

get
Historical Data

https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/history
Request
Response
Request
Path Parameters
:site_id
required
integer
The {site_id} from the products list
Headers
Authorization
required
string
Bearer {access_token} from authentication
Query Parameters
period
optional
string
day, week, month, year
kind
optional
string
value of kind e.g. energy
Response
200: OK