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 am not sure if this is against any copyright rules or just not exactly fair to Tesla, but I was able to extract all the images from the iPhone app. They are .PNG's which have images for all of the car colors and for each state of the car.

I am sure the Android app has the same images contained in it. Maybe you could try borrowing them from one of the mobile apps

Good idea. I'll probe the iPhone app. Thanks.
 
Haven't read every post in this thread, but did a search and couldn't find an answer. Does the REST API return Lat/Long quicker as the car speeds up? Or is it static? Also, is there an API (maybe Google maps) that would return elevation if fed Lat/Long? Maybe someone has already done this but would be awesome to easily see elevation gain/loss for each data point.
 
(1)Does the REST API return Lat/Long quicker as the car speeds up? (2)Or is it static? (3)Also, is there an API (maybe Google maps) that would return elevation if fed Lat/Long?
  1. In a binary sense yes. When the car is off, the streaming API returns data "somewhat slowly". When the car is moving, it returns data at 1/4 second intervals.
  2. Not static unless the car is static. In fact, sometimes when the car is static it returns some (small) variance as well.
  3. I presume there is an elevation query available from Google or Bing, but you don't need to do that because the streaming API returns elevation as well.

Data sample from my at-home logs for my car leaving Harris Ranch on July 11th:
Code:
charging_state=Complete
charge_limit_soc=90
charge_limit_soc_std=90
charge_limit_soc_min=50
charge_limit_soc_max=100
charge_to_max_range=false
battery_heater_on=false
not_enough_power_to_heat=false
max_range_charge_counter=0
fast_charger_present=true
battery_range=231.48
est_battery_range=194.64
ideal_battery_range=266.42
battery_level=90
battery_current=-0.9
charge_starting_range=null
charge_starting_soc=null
charger_voltage=0
charger_pilot_current=0
charger_actual_current=0
charger_power=0
time_to_full_charge=0.0
charge_rate=-1.0
charge_port_door_open=true
scheduled_charging_start_time=null
scheduled_charging_pending=false
user_charge_enable_request=null
charge_enable_request=true
inside_temp=41.5
outside_temp=37.0
driver_temp_setting=21.4
passenger_temp_setting=21.4
is_auto_conditioning_on=false
is_front_defroster_on=0
is_rear_defroster_on=false
fan_status=0
shift_state=null
speed=null
latitude=36.254138
longitude=-120.238136
heading=359
gps_as_of=1373590052
gui_distance_units=mi/hr
gui_temperature_units=F
gui_charge_rate_units=mi/hr
gui_24_hour_time=false
gui_range_display=Rated
df=0
dr=0
pf=0
pr=0
ft=0
rt=0
car_version=1.33.54
locked=true
sun_roof_installed=true
sun_roof_state=unknown
sun_roof_percent_open=0
dark_rims=false
wheel_type=Silver21
has_spoiler=true
roof_color=None
perf_config=Sport
1373590049612,,11277.6,90,136,359,36.254138,-120.238136,0,,231,195
1373590094111,,11277.6,90,136,359,36.254138,-120.238136,0,,231,194

1373590217702,,11277.6,90,136,359,36.254138,-120.238136,0,,231,194
1373590265452,,11277.6,90,136,359,36.254138,-120.238136,0,P,231,194
1373590266452,,11277.6,90,136,359,36.254138,-120.238136,1,P,231,194
1373590274202,,11277.6,90,136,359,36.254138,-120.238136,2,P,231,194
1373590284202,,11277.6,90,136,359,36.254138,-120.238136,3,P,231,194
1373590295202,,11277.6,90,136,359,36.254138,-120.238136,4,P,231,194
1373590295952,,11277.6,90,136,359,36.254138,-120.238136,3,P,231,194
1373590296702,,11277.6,90,136,359,36.254138,-120.238136,4,P,231,194
1373590297202,0,11277.6,90,136,359,36.254138,-120.238136,4,P,231,194
1373590303452,0,11277.6,90,136,359,36.254138,-120.238136,5,R,231,194
1373590303702,0,11277.6,90,136,359,36.254138,-120.238136,4,R,231,194
1373590305203,0,11277.6,90,136,359,36.254138,-120.238136,5,R,231,194
1373590307202,0,11277.6,90,136,359,36.254138,-120.238136,6,R,231,194
1373590308702,1,11277.6,90,136,359,36.254139,-120.238136,6,R,231,194
1373590309452,1,11277.6,90,136,359,36.254141,-120.238136,5,R,231,194
1373590309952,1,11277.6,90,136,359,36.254141,-120.238136,6,R,231,194
1373590310952,1,11277.6,90,136,359,36.254139,-120.238137,5,R,231,194
1373590311702,1,11277.6,90,136,359,36.254137,-120.238137,6,R,231,194
1373590312952,1,11277.6,90,136,359,36.254132,-120.238137,5,R,231,194
1373590313952,1,11277.6,90,136,359,36.254129,-120.238137,6,R,231,194
1373590315702,1,11277.6,90,136,359,36.254122,-120.238136,7,R,231,194
1373590315952,1,11277.6,90,136,359,36.254122,-120.238136,6,R,231,194
1373590317952,1,11277.6,90,136,359,36.254115,-120.238135,7,R,231,194
1373590318202,2,11277.6,90,136,359,36.254115,-120.238135,7,R,231,194
1373590318702,2,11277.6,90,136,359,36.254112,-120.238135,6,R,231,194
1373590320952,2,11277.6,90,136,359,36.254099,-120.238133,5,R,231,194
1373590321202,1,11277.6,90,136,359,36.254098,-120.238133,5,R,231,194
1373590321952,1,11277.6,90,136,359,36.254090,-120.238132,6,R,231,194
1373590322452,1,11277.6,90,136,359,36.254085,-120.238132,5,R,231,194
1373590323452,0,11277.6,90,136,359,36.254078,-120.238131,6,R,231,194
1373590323702,1,11277.6,90,136,359,36.254076,-120.238131,7,R,231,194
1373590324702,1,11277.6,90,136,359,36.254074,-120.238131,6,R,231,194
1373590324952,1,11277.6,90,136,359,36.254073,-120.238131,5,R,231,194
1373590325702,1,11277.6,90,136,359,36.254071,-120.238131,5,D,231,194
1373590325952,1,11277.6,90,136,359,36.254070,-120.238131,7,D,231,194
1373590326202,0,11277.6,90,136,359,36.254068,-120.238130,7,D,231,194
1373590326452,0,11277.6,90,136,359,36.254066,-120.238130,8,D,231,194
1373590326702,1,11277.6,90,136,359,36.254065,-120.238130,9,D,231,194
1373590326952,2,11277.6,90,136,359,36.254065,-120.238130,10,D,231,194
1373590327202,3,11277.6,90,136,359,36.254065,-120.238130,11,D,231,194
1373590327452,4,11277.6,90,136,358,36.254067,-120.238130,10,D,231,194
1373590327702,4,11277.6,90,136,357,36.254069,-120.238130,8,D,231,194
1373590327952,4,11277.6,90,136,357,36.254070,-120.238130,6,D,231,194
1373590328202,4,11277.6,90,136,356,36.254072,-120.238130,5,D,231,194
1373590328452,4,11277.6,90,136,357,36.254075,-120.238131,5,D,231,194
1373590328702,4,11277.6,90,136,359,36.254077,-120.238131,5,D,231,194
1373590328952,4,11277.6,90,136,1,36.254078,-120.238131,5,D,231,194
1373590329202,4,11277.6,90,136,3,36.254080,-120.238130,5,D,231,194
1373590329452,4,11277.6,90,136,9,36.254084,-120.238128,5,D,231,194
1373590329702,4,11277.6,90,136,13,36.254087,-120.238127,5,D,231,194
1373590329952,4,11277.6,90,136,17,36.254090,-120.238125,10,D,231,194
1373590330202,5,11277.6,90,136,21,36.254093,-120.238122,12,D,231,194
1373590330452,5,11277.6,90,136,29,36.254099,-120.238116,13,D,231,194
1373590330702,6,11277.6,90,136,33,36.254103,-120.238112,13,D,231,194
1373590330952,6,11277.6,90,136,37,36.254106,-120.238107,13,D,231,194
1373590331202,6,11277.6,90,136,41,36.254109,-120.238102,13,D,231,194
1373590331452,7,11277.6,90,136,50,36.254114,-120.238091,13,D,231,194
1373590331702,7,11277.6,90,136,54,36.254116,-120.238085,13,D,231,194
1373590331952,7,11277.6,90,136,58,36.254118,-120.238079,13,D,231,194
1373590332202,8,11277.6,90,136,62,36.254119,-120.238072,12,D,231,194
1373590332452,8,11277.6,90,136,71,36.254120,-120.238057,12,D,231,194
1373590332702,8,11277.6,90,136,75,36.254120,-120.238050,12,D,231,194
1373590332952,9,11277.6,90,136,80,36.254119,-120.238042,12,D,231,194
1373590333202,9,11277.6,90,136,84,36.254118,-120.238033,11,D,231,194
1373590333452,9,11277.6,90,136,91,36.254114,-120.238016,11,D,231,194
1373590333702,9,11277.6,90,136,93,36.254112,-120.238008,11,D,231,194
1373590333952,10,11277.6,90,136,96,36.254109,-120.237999,10,D,231,194
1373590334202,10,11277.6,90,136,98,36.254106,-120.237991,10,D,231,194
1373590334452,10,11277.6,90,136,101,36.254100,-120.237973,7,D,231,194
1373590334702,10,11277.6,90,136,100,36.254097,-120.237964,6,D,231,194
1373590334952,10,11277.6,90,136,100,36.254095,-120.237956,3,D,231,194
1373590335202,10,11277.6,90,136,100,36.254093,-120.237947,-1,D,231,194
1373590335452,9,11277.6,90,136,97,36.254090,-120.237930,-2,D,231,194
1373590335702,9,11277.6,90,136,94,36.254090,-120.237922,-1,D,231,194
1373590335952,8,11277.6,90,136,92,36.254091,-120.237914,1,D,231,194
1373590336202,7,11277.6,90,136,89,36.254091,-120.237907,2,D,231,194
1373590336452,6,11277.6,90,136,80,36.254096,-120.237894,4,D,231,194
1373590336702,5,11277.6,90,136,74,36.254099,-120.237888,4,D,231,194
1373590336952,4,11277.6,90,136,68,36.254103,-120.237883,5,D,231,194
1373590337202,3,11277.6,90,136,62,36.254106,-120.237879,6,D,231,194
1373590337452,2,11277.6,90,136,55,36.254115,-120.237873,6,D,231,194
1373590337702,1,11277.6,90,136,55,36.254119,-120.237872,6,R,231,194
1373590337952,0,11277.6,90,136,55,36.254123,-120.237871,5,R,231,194
1373590338202,0,11277.6,90,136,55,36.254127,-120.237870,6,R,231,194
1373590339202,0,11277.6,90,136,55,36.254142,-120.237866,7,R,231,194
1373590339952,1,11277.6,90,136,55,36.254146,-120.237865,7,R,231,194
1373590340452,1,11277.6,90,136,55,36.254148,-120.237863,8,R,231,194
1373590340702,2,11277.6,90,136,55,36.254149,-120.237863,8,R,231,194
1373590340952,2,11277.6,90,136,55,36.254150,-120.237862,7,R,231,194
1373590341452,2,11277.6,90,136,55,36.254150,-120.237859,6,R,231,194
1373590341952,2,11277.6,90,136,55,36.254149,-120.237859,7,R,231,194
1373590343452,2,11277.6,90,136,79,36.254140,-120.237858,7,R,231,194
1373590343702,2,11277.6,90,136,102,36.254138,-120.237858,7,R,231,194
1373590343952,3,11277.6,90,136,125,36.254135,-120.237857,8,R,231,194
1373590344202,3,11277.6,90,136,148,36.254131,-120.237856,8,R,231,194
1373590344452,3,11277.6,90,136,170,36.254123,-120.237858,7,R,231,194
1373590344702,3,11277.6,90,136,169,36.254119,-120.237859,6,R,231,194
1373590344952,3,11277.6,90,136,167,36.254116,-120.237860,5,R,231,194
1373590345202,2,11277.6,90,136,166,36.254113,-120.237861,5,R,231,194
1373590345452,2,11277.6,90,136,164,36.254108,-120.237861,5,R,231,194
1373590346452,1,11277.6,90,136,164,36.254102,-120.237856,6,D,231,194
1373590347202,1,11277.6,90,136,164,36.254099,-120.237853,7,D,231,194
1373590347452,0,11277.6,90,136,164,36.254097,-120.237852,7,D,231,194
1373590347702,0,11277.6,90,136,164,36.254097,-120.237851,8,D,231,194
1373590347952,0,11277.6,90,136,164,36.254096,-120.237850,9,D,231,194
1373590348202,1,11277.6,90,136,164,36.254095,-120.237849,10,D,231,194
1373590348452,2,11277.6,90,136,164,36.254092,-120.237847,11,D,231,194
1373590348702,3,11277.6,90,136,154,36.254090,-120.237845,12,D,231,194
1373590348952,3,11277.6,90,136,154,36.254088,-120.237844,13,D,231,194
1373590349202,4,11277.6,90,136,154,36.254085,-120.237842,13,D,231,194
1373590349452,5,11277.6,90,136,186,36.254081,-120.237839,12,D,231,194
1373590349702,5,11277.6,90,136,218,36.254079,-120.237842,11,D,231,194
1373590349952,5,11277.6,90,136,251,36.254079,-120.237846,9,D,231,194
1373590350202,5,11277.6,90,136,283,36.254080,-120.237853,9,D,231,194
1373590350452,5,11277.6,90,136,312,36.254090,-120.237864,8,D,231,194
1373590350702,5,11277.6,90,136,309,36.254096,-120.237868,8,D,231,194
1373590350952,5,11277.6,90,136,305,36.254103,-120.237872,8,D,231,194
1373590351202,5,11277.6,90,136,302,36.254109,-120.237876,7,D,231,194
1373590351452,6,11277.6,90,136,295,36.254116,-120.237886,7,D,231,194
1373590351702,6,11277.6,90,136,291,36.254116,-120.237892,9,D,231,194
1373590351952,6,11277.6,90,136,287,36.254117,-120.237898,10,D,231,194
1373590352202,6,11277.6,90,136,283,36.254116,-120.237904,10,D,231,194
1373590352452,6,11277.6,90,136,277,36.254115,-120.237917,9,D,231,194
1373590352702,6,11277.6,90,136,275,36.254115,-120.237923,9,D,231,194
1373590352952,7,11277.6,90,136,273,36.254114,-120.237929,9,D,231,194
1373590353202,7,11277.6,90,136,272,36.254113,-120.237936,9,D,231,194
1373590353452,7,11277.6,90,136,269,36.254111,-120.237949,8,D,231,194
1373590353702,7,11277.6,90,136,269,36.254110,-120.237955,7,D,231,194
1373590354202,7,11277.6,90,136,268,36.254109,-120.237967,8,D,231,194
1373590354452,7,11277.6,90,136,267,36.254107,-120.237980,9,D,231,194
1373590354702,7,11277.6,90,136,266,36.254107,-120.237987,10,D,231,194
1373590354952,7,11277.6,90,136,265,36.254106,-120.237994,10,D,231,194
1373590355202,7,11277.6,90,136,264,36.254106,-120.238001,10,D,231,193
1373590355452,8,11277.6,90,136,261,36.254103,-120.238015,12,D,231,193
1373590355702,8,11277.6,90,136,259,36.254102,-120.238022,12,D,231,193
1373590355952,8,11277.6,90,136,257,36.254100,-120.238029,14,D,231,193
1373590356202,8,11277.6,90,136,255,36.254098,-120.238036,15,D,231,193
1373590356452,8,11277.6,90,135,249,36.254092,-120.238050,18,D,231,193
1373590356702,9,11277.6,90,135,245,36.254088,-120.238057,18,D,231,193
1373590356952,9,11277.6,90,135,241,36.254084,-120.238064,18,D,231,193
1373590357202,9,11277.6,90,135,237,36.254078,-120.238071,17,D,231,193
1373590357452,10,11277.6,90,135,228,36.254066,-120.238082,16,D,231,193
1373590357702,10,11277.6,90,135,224,36.254059,-120.238087,14,D,231,193
1373590357952,10,11277.6,90,135,220,36.254052,-120.238091,12,D,231,193
1373590358202,11,11277.6,90,135,215,36.254044,-120.238095,12,D,231,193
1373590358452,11,11277.6,90,135,208,36.254026,-120.238100,12,D,231,193
1373590358702,11,11277.6,90,135,204,36.254018,-120.238101,12,D,231,193
1373590358952,11,11277.6,90,135,201,36.254009,-120.238102,11,D,231,193
1373590359202,12,11277.6,90,135,198,36.253999,-120.238102,11,D,231,193
1373590359452,12,11277.6,90,135,194,36.253981,-120.238103,11,D,231,193
1373590359702,12,11277.6,90,135,193,36.253971,-120.238103,11,D,231,193
1373590359952,12,11277.6,90,135,192,36.253962,-120.238103,11,D,231,193
1373590360202,12,11277.6,90,135,191,36.253953,-120.238103,10,D,231,193
1373590360452,12,11277.6,90,135,189,36.253934,-120.238104,9,D,231,193
1373590360702,12,11277.6,90,135,188,36.253924,-120.238105,8,D,231,193
1373590360952,12,11277.6,90,135,187,36.253915,-120.238105,6,D,231,193
1373590361202,12,11277.6,90,135,186,36.253906,-120.238106,6,D,231,193
1373590361452,12,11277.6,90,135,185,36.253887,-120.238106,4,D,231,193
1373590361702,12,11277.6,90,135,184,36.253877,-120.238106,3,D,231,193
1373590361952,11,11277.6,90,135,183,36.253868,-120.238106,1,D,231,193
1373590362202,11,11277.6,90,135,182,36.253859,-120.238106,1,D,231,193
1373590362452,11,11277.6,90,135,180,36.253841,-120.238104,1,D,231,193
1373590362702,11,11277.6,90,135,180,36.253832,-120.238103,2,D,231,193
1373590362952,10,11277.6,90,135,179,36.253823,-120.238102,2,D,231,193
1373590363452,10,11277.6,90,135,178,36.253797,-120.238099,0,D,231,193
1373590363702,9,11277.6,90,135,178,36.253789,-120.238099,-1,D,231,193
1373590363952,8,11277.6,90,135,178,36.253781,-120.238098,-1,D,231,193
1373590364202,8,11277.6,90,135,178,36.253773,-120.238097,0,D,231,193
1373590364452,8,11277.6,90,135,178,36.253759,-120.238096,4,D,231,193
1373590364702,8,11277.6,90,135,178,36.253751,-120.238096,5,D,231,193
1373590364952,8,11277.6,90,135,178,36.253744,-120.238096,6,D,231,193
1373590365204,7,11277.6,90,135,178,36.253736,-120.238096,5,D,231,193
1373590365452,7,11277.6,90,135,179,36.253722,-120.238095,4,D,231,193
1373590365702,7,11277.6,90,135,179,36.253716,-120.238095,3,D,231,193
1373590365952,6,11277.6,90,135,179,36.253710,-120.238095,4,D,231,193
1373590366452,6,11277.6,90,135,182,36.253692,-120.238095,5,D,231,193
1373590366702,6,11277.6,90,135,184,36.253686,-120.238096,10,D,231,193
1373590366952,6,11277.6,90,135,186,36.253681,-120.238097,11,D,231,193
1373590367202,7,11277.6,90,135,188,36.253675,-120.238098,10,D,231,193
1373590367452,6,11277.6,90,135,195,36.253664,-120.238103,6,D,231,193
1373590367702,6,11277.6,90,135,200,36.253659,-120.238106,5,D,231,193
1373590367952,6,11277.6,90,135,204,36.253655,-120.238110,4,D,231,193
1373590368202,5,11277.6,90,135,208,36.253651,-120.238114,4,D,231,193
1373590368452,4,11277.6,90,135,218,36.253646,-120.238123,5,D,231,193
1373590368702,4,11277.6,90,135,224,36.253644,-120.238128,5,D,231,193
1373590368952,3,11277.6,90,135,229,36.253643,-120.238133,5,D,231,193
1373590369202,2,11277.6,90,135,235,36.253643,-120.238138,6,D,231,193
1373590369702,1,11277.6,90,135,235,36.253642,-120.238151,5,D,231,193
1373590370452,1,11277.6,90,135,235,36.253642,-120.238166,6,D,231,193
1373590371452,1,11277.6,90,135,235,36.253640,-120.238179,5,D,231,193
1373590372452,0,11277.6,90,135,235,36.253641,-120.238183,5,D,231,193
1373590381952,0,11277.6,90,135,235,36.253641,-120.238184,5,R,231,193
1373590382452,0,11277.6,90,135,235,36.253641,-120.238184,6,R,231,193
1373590382952,0,11277.6,90,135,235,36.253641,-120.238185,5,R,231,193
1373590385202,0,11277.6,90,135,235,36.253641,-120.238189,5,D,231,193
1373590387202,0,11277.6,90,135,235,36.253641,-120.238189,6,D,231,193
1373590387702,0,11277.6,90,135,235,36.253641,-120.238189,7,D,231,193
1373590387952,1,11277.6,90,135,235,36.253641,-120.238189,7,D,231,193
1373590388702,2,11277.6,90,135,235,36.253639,-120.238190,7,D,231,193
1373590388952,2,11277.6,90,135,235,36.253639,-120.238191,6,D,231,193
1373590389202,2,11277.6,90,135,235,36.253638,-120.238192,5,D,231,193
1373590390452,1,11277.6,90,135,235,36.253637,-120.238196,5,D,231,193
1373590391952,0,11277.6,90,135,235,36.253638,-120.238204,5,D,231,193
1373590394952,1,11277.6,90,135,235,36.253637,-120.238212,5,D,231,193
1373590395202,1,11277.6,90,135,235,36.253637,-120.238213,6,D,231,193
1373590395702,2,11277.6,90,135,235,36.253636,-120.238216,7,D,231,193
1373590395952,2,11277.6,90,135,235,36.253635,-120.238217,11,D,231,193
1373590396202,3,11277.6,90,135,240,36.253634,-120.238220,13,D,231,193
1373590396452,5,11277.6,90,135,245,36.253632,-120.238225,14,D,231,193
1373590396702,5,11277.6,90,135,249,36.253631,-120.238228,14,D,231,193
1373590396952,5,11277.6,90,135,254,36.253631,-120.238231,13,D,231,193
1373590397202,6,11277.6,90,135,259,36.253630,-120.238235,13,D,231,193
1373590397452,7,11277.6,90,135,263,36.253630,-120.238244,13,D,231,193
1373590397952,7,11277.6,90,135,263,36.253631,-120.238253,12,D,231,193
1373590398452,8,11277.6,90,135,263,36.253632,-120.238269,12,D,231,193

The (bottom) lines with commas are the streaming API results. The rest are from the other methods.

The header for the streaming data if you want to import into Excel is:
  • timestamp,speed,odometer,soc,elevation,est_heading,est_lat,est_lng,power,shift_state,range,est_range

Taking the last row for example:
1373590398452,8,11277.6,90,135,263,36.253632,-120.238269,12,D,231,193
  • Thursday, July 11, 2013 5:53:18 PM PT
  • 8mph
  • 11277.6mi (odometer)
  • 90% SOC
  • 135m elevation
  • 36.253632° latitude
  • -120.238269° longitude
  • 12 kW power use
  • Drive shift state
  • 213mi rated range
  • 193mi projected range (based on 30mi back-looking average, IIRC)
 
Last edited:
My cron job - based on the script posted in one of the early posts - is returning the wrong value for the plug status.

Tue Jul 16 18:30:01 PDT 2013
Plugged in range 201.64
Wed Jul 17 03:00:02 PDT 2013
Plugged in range 198.69


The car was definitely unplugged...

Anyone else seeing this?

Note: I just ran it again from the CLI and the car is plugged in and it returned the right status.
 
The (bottom) lines with commas are the streaming API results. The rest are from the other methods.

The header for the streaming data if you want to import into Excel is:
  • timestamp,speed,odometer,soc,elevation,est_heading,est_lat,est_lng,power,shift_state,range,est_range

Taking the last row for example:

  • Thursday, July 11, 2013 5:53:18 PM PT
  • 8mph
  • 11277.6mi (odometer)
  • 90% SOC
  • 135m elevation
  • 36.253632° latitude
  • -120.238269° longitude
  • 12 kW power use
  • Drive shift state
  • 213mi rated range
  • 193mi projected range (based on 30mi back-looking average, IIRC)

So even if the car is barely moving all the way up to light speed it returns every 1/4 second? 1/4 second seems way fast but ok. So essentially we should be able to build a very robust topo map of all the superchargers and the anticipated rated range needed to travel between them at a given ambient temp, average wind speed, tire size/type and then could determine how fast you could go to get there with a certain buffer range remaining. Very cool!
 
So even if the car is barely moving all the way up to light speed it returns every 1/4 second? 1/4 second seems way fast but ok. So essentially we should be able to build a very robust topo map of all the superchargers and the anticipated rated range needed to travel between them at a given ambient temp, average wind speed, tire size/type and then could determine how fast you could go to get there with a certain buffer range remaining. Very cool!

4 updates a second sounds like a lot until you try and measure 0-60 mph times and realize that its either 5.0 seconds or 5.25 second and nothing in between.
 
Push to Tesla

I apologize for taking this discussion slightly off the topic of pure REST
Is there any documentation on how to push messages to the Tesla's console ?

Say I wanted to "break in" to whatever the driver had displayed on the console at any given time and just overlay the screen with some sort of an (alert) message.
 
I apologize for taking this discussion slightly off the topic of pure REST
Is there any documentation on how to push messages to the Tesla's console ?

Nope. That kind of functionality would need to be exposed in an official Tesla developer SDK which does not yet exist. It is also likely that when a developer kit is released that such and app would have to be approved by Tesla before it could be made available to others. At least that is how Ford and Audi do things with similar toolkits and functionality. Their concern is that apps should not be distracting the driver, which is also why video is turned off on the center console web browser.
 
I presume there is an elevation query available from Google or Bing, but you don't need to do that because the streaming API returns elevation as well
Assuming that elevation measurement comes from GPS, don't expect it to be very precise (or accurate). What is the minimum interval by which the reading varies?

Related: Compass and Elevation
 
Nope. That kind of functionality would need to be exposed in an official Tesla developer SDK which does not yet exist. It is also likely that when a developer kit is released that such and app would have to be approved by Tesla before it could be made available to others. At least that is how Ford and Audi do things with similar toolkits and functionality. Their concern is that apps should not be distracting the driver, which is also why video is turned off on the center console web browser.

Makes complete sense obviously.
Will keep my eyes peeled on that Tesla dev SDK