ConnectedVehicle
Connected Vehicle API.
Provides access to vehicle status, diagnostics, statistics data and remote commands. All methods are suspending and require a valid VCC API key and OAuth2 access token.
All methods in this interface may throw:
Throws
if the access token is invalid or expired (401)
if the API key lacks required permissions (403)
if the rate limit is exceeded (429)
if the request is malformed or the VIN is not found (400/404)
if the Volvo API returns a server error (5xx)
if the request times out
Functions
Get brake status.
Get command accessibility status.
Get list of available commands for the vehicle.
Get vehicle diagnostics (service warnings, washer fluid, etc.).
Get door and lock status.
Get engine diagnostic values (oil level, coolant level warnings).
Get engine running status.
Get fuel amount in liters.
Get odometer value in kilometers.
Get vehicle statistics (average speed, trip meters, etc.).
Get tyre pressure status for all tyres.
Get vehicle details including model, year, fuel type, etc.
Get list of vehicles associated with the user.
Get vehicle warnings (bulb failures, etc.).
Get window status for all windows.
Send climatization start command to the vehicle.
Send climatization stop command to the vehicle.
Send engine start command to the vehicle.
Send engine stop command to the vehicle.
Send flash lights command to the vehicle.
Send honk command to the vehicle.
Send honk and flash command to the vehicle.
Send lock command to the vehicle.
Send lock with reduced guard command to the vehicle.
Send unlock command to the vehicle.