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 or making a Paypal contribution here: paypal.me/SupportTMC

Logs

Discussion in 'Model S: User Interface' started by Doug_G, Nov 27, 2012.

  1. Doug_G

    Doug_G Lead Moderator

    Joined:
    Apr 2, 2010
    Messages:
    15,742
    Location:
    Ottawa, Canada
    One of the nice things about the Tesla Roadster is the ability to download logs of the car's activity. Various people have conspired to partially reverse-engineer the logs and have written software to extract all kinds of useful information on recent trips, charging activity, temperatures, etc. It's quite handy and very cool.

    Perhaps Tesla isn't so keen about all this. Model S logs can only be downloaded over the internet or using a proprietary connector connected to a computer.

    I wonder if it's somehow possible to extract some logging information from the Model S. :confused:
     
  2. blaz

    blaz Member

    Joined:
    Nov 18, 2012
    Messages:
    96
    Location:
    Marina del Rey, CA
    That sounds interesting.

    I'm assuming that once the tethering feature is enabled you could easily run a packet capture on your phone and dump all the information sent by the car, which would help locate those logs and reverse engineer their format. Unless they're encrypted of course, in which case things get complicated without access to a firmware dump to disassemble or the actual source code (if it's GPL, which seems unlikely).
     
  3. mknox

    mknox Well-Known Member

    Joined:
    Aug 7, 2012
    Messages:
    8,444
    Location:
    Toronto, ON
    Doesn't the car have an OBD II port? I thought that was legally required? I suppose even if it did, Tesla might not support this type of messaging over it.
     
  4. Doug_G

    Doug_G Lead Moderator

    Joined:
    Apr 2, 2010
    Messages:
    15,742
    Location:
    Ottawa, Canada
    Right... probably have to put together an ODBII logger.
     
  5. jerry33

    jerry33 S85 - VIN:P05130 - 3/2/13

    Joined:
    Mar 8, 2012
    Messages:
    12,600
    Location:
    Texas
    Yes, however, Telsa likely uses many kinds of buses. Assuming it is similar to Toyota (just as an illustration) there is the ODBII bus which has the basic items required by law. Then there is the CAN bus which has most of the interesting bits, and the BEAN bus that has the ABS, TC, VSC, etc.

    They can all be accessed through the ODBII port but you have to be able to send the correct code and read what comes back. Finding out what the correct codes are isn't all that easy because Toyota doesn't publish them. It took several years to find out a few of the more interesting ones in the 2004-2009 Prius.
     

Share This Page