Tesla
Wattage
When the vehicle is charging, returns the instant charging wattage as measured by the vehicle. When the vehicle is not charging, this endpoint results in a vehicle state error.
GET
/v2.0/vehicles/{id}/{make}/charge/wattmeter
This endpoint is currently available for TESLA
Permission
read_charge
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
makerequired
string
The make of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/wattmeter" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
wattage
number
The instant power measured by the vehicle (in kilowatts).
{
"wattage": 3.5
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/{make}/charge/wattmeter" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"wattage": 3.5
}