Commands

Work In Progress

Backup Reserve

POST https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/backup

Path Parameters

NameTypeDescription

:site_id

integer

The {energy_site_id} number from the products list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Site Name

POST https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/site_name

Change the user-facing name of the energy site. This value can be read from the Site Configuration method. The request body is a JSON object.

Path Parameters

NameTypeDescription

:site_id

integer

The {energy_site_id} number from the products list

Headers

NameTypeDescription

Content-Type

string

application/json or application/json; charset=utf-8

Authorization

string

Bearer {access_token} from authentication

Request Body

NameTypeDescription

site_name

string

The new name for the site. { "site_name": "My Site" }

{
  "response": {
    "code": 201,
    "message": "Updated"
  }
}

Operation Mode

POST https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/operation

Path Parameters

NameTypeDescription

:site_id

integer

The {energy_site_id} number from the products list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Time Of Use Settings

POST https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/time_of_use_settings

Path Parameters

NameTypeDescription

:site_id

integer

The {energy_site_id} number from the products list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Storm Mode

POST https://owner-api.teslamotors.com/api/1/energy_sites/:site_id/storm_mode

Path Parameters

NameTypeDescription

:site_id

integer

The {energy_site_id} number from the products list

Headers

NameTypeDescription

Authorization

string

Bearer {access_token} from authentication

Last updated