Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

Model S REST API

This site may earn commission on affiliate links.
I've seen that return null, true, false, and '3' As near as I can tell 'true' means on, and all other values mean false - if you look at 3rd party Tesla apps, they often screw up and show the front defroster as 'on' because they interpret '3' as non-zero/non-null and think it means "on". Nope, "3" is sometimes returned for off for some reason.
Interesting, for front-defroster I either see the value '3' when off, or the value '1' when enabled at any level. I have never seen true, false, or null values for this field.

If it's true the battery_current field is no longer provided in the latest firmware update, sad day... The streaming telemetry API provides current power, albeit imprecise as an integer.
 
Did anyone else notice that the vehicle IDs changed for them?

Those where the IDs that where valid for my two Model S 90D a week ago:

VEHICLE_ID" => "71923xxxxx2960506" 2017 model
VEHICLE_ID" => "42123xxxxx6015174" 2016 model

Then I got the message in the official tesla app that my car was no longer in my mytesla account and now after debugging I found out that my two cars have different vehicle IDs:

VEHICLE_ID" => "33840xxxxx782417" 2017 model
VEHICLE_ID" => "110818xxxxx880609" 2016 model

Am I the only one or did I miss that change in this thread?
 
Did anyone else notice that the vehicle IDs changed for them?

Those where the IDs that where valid for my two Model S 90D a week ago:

VEHICLE_ID" => "71923xxxxx2960506" 2017 model
VEHICLE_ID" => "42123xxxxx6015174" 2016 model

Then I got the message in the official tesla app that my car was no longer in my mytesla account and now after debugging I found out that my two cars have different vehicle IDs:

VEHICLE_ID" => "33840xxxxx782417" 2017 model
VEHICLE_ID" => "110818xxxxx880609" 2016 model

Am I the only one or did I miss that change in this thread?

Yes, saw that. So you can't trust your vehicle_id as a GUID/constant. VIN is the only stable item I've found.
 
  • Like
Reactions: Prefect