/
Retrieve a home battery
Retrieve a single, specific home battery's details.
Security
oauth2(Required scopes: home_battery:read)
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/home_batteries/{home_battery_id}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/home_batteries/{home_battery_id}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/home_batteries/{home_battery_id}
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/home_batteries/{home_battery_id}?expand=model' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-User: user01HN2NJ9NMRZBXT1H6FT9N7735' \
-H 'EvEnergy-Version: 2'Returns a single home battery.
Headers
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
Value:2
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
Default:1000
The number of requests remaining until this client's rate limit is reached.
Default:999
Unique identifier for the given Home Battery.
Example:"hoba01J5DCXX8DMJDJYGVR1DW4J7AA"
Example:"https://api.ev.energy/v2/home_batteries/hoba01J5DCXX8DMJDJYGVR1DW4J7AA"
Example:"https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735"
One of:
The owner of this home battery. Defaults to a url, but can be expanded to the full User resource via the expand query parameter.
string or null (uri)read-only
When this home battery was connected to the platform.
Example:"2024-03-15T14:22:33.123456Z"
Response
{ "id": "hoba01J5DCXX8DMJDJYGVR1DW4J7AA", "url": "https://api.ev.energy/v2/home_batteries/hoba01J5DCXX8DMJDJYGVR1DW4J7AA", "model": "https://api.ev.energy/v2/home_battery_models/bmod7XL7Q5294J6TUZARBQT2D1EOHY", "user": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "created_at": "2024-03-15T14:22:33.123456Z", "latest_status_log": { "url": "https://api.ev.energy/v2/home_batteries/hoba01J5DCXX8DMJDJYGVR1DW4J7AA/status_logs/2024-04-17T09:39:45.984584Z/", "sampled_at": "2019-08-24T14:15:22Z", "home_battery": { … }, "capacity_watt_hours": 13500, "state_of_charge_percentage": 82, "charge_rate_watts": 2200, "discharge_limit_percentage": 20, "status": "CHARGING", "operation_mode": "SELF_RELIANCE" } }