TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker and becoming a Supporting Member. For more info: Support TMC

Tesla Data Transfer Protocols

Discussion in 'Model S' started by NOLA_Mike, Jan 14, 2017.

  1. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    Looking at my (admittedly primitive) router logs, the following is sort of a "typical day" in the life of the Model S data transfer:

    Screenshot 2017-01-14 20.33.09.png

    Granted, this is not a complete day's worth since anytime I leave it is transferring data via cell network but I'm curious as to what data goes in and out over what protocol.

    I would guess that "Google APIs" are map and traffic data which is displayed on the 17" screen.

    I would also guess that "OpenVPN" is the secure connection back to the Tesla Mothership over which firmware updates are downloaded and vehicle logs and diagnostics are uploaded.

    Anybody else with knowledge of these things care to shed some light on what's what? @wk057 @Ingineer

    (BTW, I only obsess over this when waiting for a firmware update. :))

    Mike
     
  2. mbhforum

    mbhforum Member

    Joined:
    Apr 4, 2016
    Messages:
    481
    Location:
    Long Island, NY
    I think your guesses are pretty good ones. NTP is just syncing time, DNS is name resolution. Hard to really determine this without putting a packet sniffer on the network to look deeper into the traffic. This won't help with the encrypted traffic though.
     
    • Like x 1
  3. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    I wonder how the streaming radio comes through - HTTP? I would also assume any use of the Browser would show up under HTTP.
     
  4. Patrick W

    Patrick W Active Member

    Joined:
    Mar 17, 2015
    Messages:
    1,085
    Location:
    SLC, UT
    What device/program are you using to get those data?
     
  5. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    #5 NOLA_Mike, Jan 14, 2017
    Last edited: Jan 14, 2017
    That's right off my ASUS RT-AC68R router.

    EDIT: Screenshot of the web/user interface of the router which has a Traffic Analyzer tab where I get to this screen.
     
  6. wk057

    wk057 Senior Tinkerer

    Joined:
    Feb 23, 2014
    Messages:
    4,926
    Location:
    Hickory, NC, USA
    The vast majority of important data goes over an encrypted OpenVPN connection to Tesla. Logs, mobile app commands, and other telemetry.

    Updates are generally pulled from va.teslamotors.com over http (also encrypted with a custom format with per-car keys).

    There is benign traffic directly to other sites like streaming music, google maps, etc... but nothing important.
     
    • Informative x 3
    • Helpful x 1
  7. Patrick W

    Patrick W Active Member

    Joined:
    Mar 17, 2015
    Messages:
    1,085
    Location:
    SLC, UT
    Actually thats all Greek to me. :) But I showed your screen save to a tech-wise friend who said I can't get the same data from my CenturyLink C1100Z router. Darn...
     
  8. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    Each router manufacturer has their own "web interface" wherein you can make changes to settings (IP address ranges, DNS, etc.) and this one is specific to the ASUS model I have.
     
  9. Patrick W

    Patrick W Active Member

    Joined:
    Mar 17, 2015
    Messages:
    1,085
    Location:
    SLC, UT
    Thanks for the tip. After reading your email I was able to find a way to logon to the router but none of the options netted the data I'm looking for so I'll be checking with Century Link.
     
  10. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    Here's what it looked like downloading firmware (2.52.120) last night:

    Screenshot 2017-01-16 06.05.15.png

    As @wk057 indicated, the firmware came via HTTP.

    The firmware was downloaded, unpacked and staged by 22:48 - that's when I got notification on my phone that a software update is available.

    Jason - I remember you saying a while back that if AP1 module was updated it took quite a long time. Have you studied AP2 yet? That 1 GB update took < 25 mins. to install.
     
  11. NOLA_Mike

    NOLA_Mike Grouchy

    Joined:
    May 11, 2013
    Messages:
    2,030
    Location:
    Hammond, LA
    Hmmmm... I find that data transfer with Spotify interesting being that we get Slacker and don't currently get Spotify in the US...
     
    • Informative x 1

Share This Page