Skip to main content
Vehicle settings let your application override a value that Smartcar would otherwise derive for a vehicle. Each setting feeds one or more signals. After you set a value, read it back from those signals. A setting is stored once per vehicle, not per application. Every application connected to the vehicle sees the same value.

Available Settings

Setting codes match the code of the signal they affect.

Nominal Battery Capacity

For some vehicles, Smartcar can’t determine the nominal battery capacity on its own. In that case, the TractionBattery.NominalCapacity signal lists the options in availableCapacities, and capacity stays empty until someone chooses. You can resolve it in one of two ways:
1

Read the available capacities

Call GET /vehicles/{vehicleId}/signals/tractionbattery-nominalcapacity. Use one of the values in availableCapacities.
2

Set the capacity

3

Read the new value

The response confirms the value and links to the affected signal. The signal then returns the new capacity with source set to APPLICATION.

Source of the value

The source field on the signal tells you who decided the current capacity: The most recent value wins, whoever set it. If the vehicle owner selects a capacity in Connect after an application set one, the owner’s selection replaces it, and the reverse is also true.

Simulated vehicles

Simulated vehicles accept any capacity from 10 to 200 kWh.

Key Concepts

sc-user-id Header

Like commands, settings endpoints require the sc-user-id header. It identifies the user whose connection to the vehicle your application acts through.

Errors