The official API for ev.energy, version 2.
- VehicleLocationLog
ev.energy v2 API (2.0)
Records an error that occurred when attempting to communicate with a vehicle's telematics API.
The date and time when this error was logged by the ev.energy system.
The HTTP status code of the error response from the vehicle telematics API.
The vehicle controller/integration that was being used when the error occurred.
The error code received from the provider or determined by the ev.energy system.
The error type received from the provider or determined by the ev.energy system.
The request ID that resulted in this error. Used for tracing and debugging.
The command/method that was being executed when the error occurred.
{ "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/error_logs/2024-04-17T09:39:45.984584Z/", "logged_at": "2019-08-24T14:15:22Z", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "status_code": 401, "controller": "ENODE", "error_code": "AUTHENTICATION_ERROR", "error_type": "VehicleAPIUnauthorized", "request_id": "56rst-z2jku-tty9t-0dn2f-qazow", "command": "START_CHARGE", "error_detail": "string", "internal_command_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
Records when location data was sampled for a vehicle. The actual location coordinates are not exposed through this resource.
The date and time when the location data was sampled from the vehicle (supplied by the API).
{ "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/location_logs/2024-04-17T09:39:45.984584Z/", "sampled_at": "2019-08-24T14:15:22Z", "logged_at": "2019-08-24T14:15:22Z", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "at_home": true }
Records a command that was sent to a vehicle.
The date and time when this command was logged by the ev.energy system.
The type of command that was sent to the vehicle.
External command ID from the vehicle provider.
If a start/stop command was sent, this is the current level that was sent in milliamps.
{ "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/command_logs/2024-04-17T09:39:45.984584Z/", "logged_at": "2019-08-24T14:15:22Z", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "command": "START_CHARGE", "external_command_id": "ext-cmd-12345", "current_milliamps": 32000, "internal_command_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }