The official API for ev.energy, version 2.
- List command logs for an EVSE
ev.energy v2 API (2.0)
Request
An EVSE status log is uniquely identified by the combination of EVSE ID and the time it was sampled at.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses/{evse_id}/status_logs/{sampled_at}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses/{evse_id}/status_logs/{sampled_at}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses/{evse_id}/status_logs/{sampled_at}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5/status_logs/2024-04-17T09:39:45.984584Z?expand=evse' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Retrieve a single status log for a specific EVSE.
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.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
The date and time when this data was recorded. Likely to be later than sampled_at, but how much later depends on the integration and other factors.
Is there currently a vehicle connected to the EVSE? Will be null if we are unable to get this information from the EVSE integration.
Is the EVSE currently delivering charge? Will be null if we are unable to get this information from the EVSE integration.
{ "url": "https://api.ev.energy/v2/evse/evse01HSH04KDEWF6Z4DB2J77J74K5/status_logs/2024-01-01T11:11:11.1111Z/", "sampled_at": "2019-08-24T14:15:22Z", "logged_at": "2019-08-24T14:15:22Z", "evse": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5", "is_plugged_in": true, "is_charging": true, "charge_rate_watts": 0 }
Request
List the historical command logs for a specific EVSE. These logs record commands that were sent to the EVSE.
Return results from the page after this ID.
Return results from the page before this ID.
Specify the number of results to return per page.
Filters for logs logged at or after this datetime.
Filters for logs logged at or before this datetime.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses/{evse_id}/command_logs
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses/{evse_id}/command_logs
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses/{evse_id}/command_logs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5/command_logs?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&logged_at__gte=2024-04-17T09%3A39%3A45.984584Z&logged_at__lte=2024-04-17T09%3A39%3A45.984584Z&expand=evse' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'List all command logs for a specific EVSE, sorted newest first.
Provides links to the previous and next pages of data, if they exist.
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.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
The date and time when this command was logged by the ev.energy system.
The target maximum load sent to the EVSE, in milliamps.
The target state sent for is_enabled (i.e. free-vend mode).
Whether the EVSE should always be in is_enabled (i.e. free-vend) mode.
The reason the command was sent to the EVSE.
Internal UUID to track this command dispatch. This links with device command logs.
[ { "url": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5/command_logs/2024-04-17T09:39:45.984584Z/", "logged_at": "2019-08-24T14:15:22Z", "evse": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5", "max_load_target_milliamps": 32000, "is_enabled_target": true, "always_enabled": false, "reason": "SCHEDULED_CHARGING", "internal_command_id": "d4e5f6a7-b8c9-0123-def0-123456789abc" } ]
Request
An EVSE command log is uniquely identified by the combination of EVSE ID and the time it was logged at.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/evses/{evse_id}/command_logs/{logged_at}
- Live API for both production and sandbox requests.https://api.ev.energy/v2/evses/{evse_id}/command_logs/{logged_at}
- Staging server for internal testing only.https://api-staging.ev.energy/v2/evses/{evse_id}/command_logs/{logged_at}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5/command_logs/2024-04-17T09:39:45.984584Z?expand=evse' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Retrieve a single command log for a specific EVSE.
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.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
The date and time when this command was logged by the ev.energy system.
The target maximum load sent to the EVSE, in milliamps.
The target state sent for is_enabled (i.e. free-vend mode).
Whether the EVSE should always be in is_enabled (i.e. free-vend) mode.
The reason the command was sent to the EVSE.
{ "url": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5/command_logs/2024-04-17T09:39:45.984584Z/", "logged_at": "2019-08-24T14:15:22Z", "evse": "https://api.ev.energy/v2/evses/evse01HSH04KDEWF6Z4DB2J77J74K5", "max_load_target_milliamps": 32000, "is_enabled_target": true, "always_enabled": false, "reason": "SCHEDULED_CHARGING", "internal_command_id": "d4e5f6a7-b8c9-0123-def0-123456789abc" }