Tesla soon rolling out app update which loads car data instantly

25th August 2022
Tesla soon rolling out app update which loads car data instantly

Tesla have updated their API to support loading cached data after its launch in April 2022 - cached data is sent when the car goes to sleep, waking up and when there is an OTA - alongside other new vehicle statistics.

Tesla appears to be gearing up to release the 'cached data' update which will allow the Tesla app to display the last known status of the vehicle before it went to sleep. For example, if you checked the Tesla app at 9am and it went to sleep at 10:00am — when you reopen the Tesla app later in the day, it will be in a "loading" state and show the data the app cached from 9am.


But with the new update, the app would be able to load data that the car last sent to Teslas server from 10:00am which will allow the app to load instantly and will update the information in the background once it updates. This change will make for a much smoother experience especially when it can take up to 10 seconds for the car to wake up.


The new endpoint in the app was first spotted in April but now Tesla is now making changes to it. The change means that the vehicle will send Tesla a snapshot of data before it goes to sleep, so when you check the Tesla app, it will be able to load the last known status/data from the vehicle whilst it wakes it up.


The `vehicle_data` endpoint which services like Teslascope and TeslaFi use hasn't been altered yet but it likely will in the future to accommodate the new changes.


Right now, whilst the endpoint HAS changed, it is not functional when the vehicle is sleeping and will likely be available with the next major car update to "enable" it.


A snippet of code returned by the API.




Here's a breakdown of the changes:

There are lots of differences between vehicle_data and latest_vehicle_data now.


charger_phases is now 0 instead of NULL.
not_enough_power_to_heat is now 0 instead of NULL.
user_charge_enable_request is now FALSE instead of NULL.
battery_heater_no_power is now FALSE instead of NULL.
bioweapon_mode HAS BEEN ADDED OR MOVED.
seat_fan_front_left HAS BEEN ADDED OR MOVED.
seat_fan_front_right HAS BEEN ADDED OR MOVED.
seat_heater_rear_left_back HAS BEEN ADDED OR MOVED.
seat_heater_rear_right_back HAS BEEN ADDED OR MOVED.
seat_heater_third_row_left HAS BEEN ADDED OR MOVED.
seat_heater_third_row_right HAS BEEN ADDED OR MOVED.
closures_state HAS BEEN ADDED OR MOVED.
proto_json_version HAS BEEN ADDED OR MOVED.
session_id HAS BEEN ADDED OR MOVED.
bioweapon_mode_supported HAS BEEN ADDED.
is_raven HAS BEEN ADDED.
range_plus_badging HAS BEEN ADDED.
homelink_device_count HAS BEEN ADDED.
patsy_mode HAS BEEN ADDED OR MOVED.
software_update > scheduled_time_ms HAS BEEN ADDED OR MOVED.
software_update > warning_time_remaining_ms HAS BEEN ADDED OR MOVED.
sun_roof_percent_open HAS BEEN ADDED OR MOVED.
valet_pin_needed HAS BEEN ADDED OR MOVED.
Tesla Updates Team
News
Share Article