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

API Battery/Range Data and True Range

This site may earn commission on affiliate links.
I've been exploring the Tesla API and have a question that hopefully someone here can answer.

Sending the request "data_request/charge_state" returns the response below. Anybody know what the difference between ideal_battery_range vs est_battery_range? Ideal matches battery_range which is the number displayed in the car and app.
20190306_121619.jpg


Running some quick numbers:
66% of 309mi = 203.94mi
66% of 310mi = 204.6mi
66% of 337mi = 222.42mi

Could the max range from the LR battery pack be closer to 337 miles?
 
I Anybody know what the difference between ideal_battery_range vs est_battery_range?

Running some quick numbers:
66% of 309mi = 203.94mi
66% of 310mi = 204.6mi
66% of 337mi = 222.42mi

Could the max range from the LR battery pack be closer to 337 miles?

No, how about you do: 203.64 / 310.00 = 65.69%, which matches the API’s “66” rounded to nearest % :)

See post above. est_battery_range is the estimated range shown in your last 30 miles or last 50 km of driving (depending on your display preference), but always reported in units of miles by the API.