{% hint style="warning" %} Work In Progress {% endhint %}
{% api-method method="get" host="https://owner-api.teslamotors.com" path="/api/1/powerwalls/:battery_id/status" %} {% api-method-summary %} Battery Status {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %}
{% api-method-request %}
{% api-method-path-parameters %}
{% api-method-parameter name=":battery_id" type="integer" required=true %}
The {battery_id}
from the products list
{% endapi-method-parameter %}
{% endapi-method-path-parameters %}
{% api-method-headers %}
{% api-method-parameter name="Authorization" type="string" required=true %}
Bearer {access_token}
from authentication
{% endapi-method-parameter %}
{% endapi-method-headers %}
{% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://owner-api.teslamotors.com" path="/api/1/powerwalls/:battery_id" %} {% api-method-summary %} Battery Data {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %}
{% api-method-request %}
{% api-method-path-parameters %}
{% api-method-parameter name=":battery_id" type="integer" required=true %}
The {battery_id}
from the products list
{% endapi-method-parameter %}
{% endapi-method-path-parameters %}
{% api-method-headers %}
{% api-method-parameter name="Authorization" type="string" required=true %}
Bearer {access_token}
from authentication
{% endapi-method-parameter %}
{% endapi-method-headers %}
{% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://owner-api.teslamotors.com" path="/api/1/powerwalls/:battery_id/powerhistory" %} {% api-method-summary %} Battery Power Timeseries Data {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %}
{% api-method-request %}
{% api-method-path-parameters %}
{% api-method-parameter name=":battery_id" type="integer" required=true %}
The {battery_id}
from the products list
{% endapi-method-parameter %}
{% endapi-method-path-parameters %}
{% api-method-headers %} {% api-method-parameter name="Authorizaiton" type="string" required=true %} Bearer {access_token} from authentication {% endapi-method-parameter %} {% endapi-method-headers %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://owner-api.teslamotors.com" path="/api/1/powerwalls/:battery_id/energyhistory" %} {% api-method-summary %} Battery Energy Timeseries Data {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %}
{% api-method-request %}
{% api-method-path-parameters %}
{% api-method-parameter name=":battery_id" type="integer" required=true %}
The {battery_id}
from the products list
{% endapi-method-parameter %}
{% endapi-method-path-parameters %}
{% api-method-headers %} {% api-method-parameter name="Authorization" type="string" required=true %} Bearer {access_token} from authentication {% endapi-method-parameter %} {% endapi-method-headers %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}