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

iPhone app

Discussion in 'Roadster: Technical' started by dsm363, Aug 26, 2010.

  1. dsm363

    dsm363 Roadster + Sig Model S

    Joined:
    May 17, 2009
    Messages:
    18,235
    Location:
    Las Vegas, NV
    The Roadster still doesn't have any kind of iPhone (or other phone) app that lets you check your charge, unlock doors or maybe turn on the AC remotely, right? I wonder if this is something that they could add later.

    Dave
     
  2. tomsax

    tomsax Member

    Joined:
    Jun 19, 2008
    Messages:
    867
    Location:
    Sammamish, WA
    #2 tomsax, Aug 29, 2010
    Last edited: Jun 19, 2011
    Of course they could do it later. In fact, the 2010 Roadsters have a GSM modem built in, so those cars have all of the required hardware for two-way communication. Tesla could build a service to relay info and commands through a web service and enable those features through a web browser or smart phone.

    This is a frequently requested feature and much more important than a cool convenience when you are charging on a road trip through an outlet of unknown reliability. I personally know two owners who have been rudely surprised in the morning to find their overnight charge stopped a few minutes after they stopped watching it. It's something we all think about on long trips and could be solved with an SMS message from the car any time a charge stops early.

    So far Tesla has been unreceptive to requests for this feature.
     
  3. dsm363

    dsm363 Roadster + Sig Model S

    Joined:
    May 17, 2009
    Messages:
    18,235
    Location:
    Las Vegas, NV
    Thanks Tom. Being able to remotely cool your car during the summer (or heat during winter) would be an amazing selling point. I wonder what the hold up is.
     
  4. kgb

    kgb Member

    Joined:
    Sep 22, 2009
    Messages:
    605
    Location:
    Houston, TX
    Just like apple has the "Where's my iPhone?" app, a "Where's my Tesla?" app would be nice too. For when I reluctantly let the wife drive it, or the valet, I was too drunk to drive home last night, or if it's not where I left it, etc...
     
  5. tdelta1000

    tdelta1000 Active Member

    Joined:
    Jul 19, 2009
    Messages:
    1,667
    Location:
    South Florida
    There is off the shelf technology thats available today.
     
  6. tomsax

    tomsax Member

    Joined:
    Jun 19, 2008
    Messages:
    867
    Location:
    Sammamish, WA
    Please explain. Technology to do which of the several tasks we've discussed in this thread? An example would be nice, too.
     
  7. kgb

    kgb Member

    Joined:
    Sep 22, 2009
    Messages:
    605
    Location:
    Houston, TX
    There are car tracking devices available. I'm sure that is the technology of which tdelta refers. But that does not use the internal network connection. You'd have to install your own tracker and get a cellular network service contract for your device.
     
  8. tomsax

    tomsax Member

    Joined:
    Jun 19, 2008
    Messages:
    867
    Location:
    Sammamish, WA
    LoJack devices are interesting in general, but I thought this thread is about getting access to Roadster features remotely: reading charge state info, starting/stopping charging, controlling HVAC, etc.

    Are there any such devices available or under development?
     
  9. vfx

    vfx Well-Known Member

    Joined:
    Aug 18, 2006
    Messages:
    14,792
    Location:
    CA CA
    #9 vfx, Sep 13, 2010
    Last edited by a moderator: Mar 13, 2016
    On topic.


    PS
    Anyone here know an IPhone programming hobbyist?
     
  10. woof

    woof Model S #P683 Blue 85 kWh

    Joined:
    Apr 30, 2009
    Messages:
    1,149
    I am one such a hobbyist...
     
  11. tdelta1000

    tdelta1000 Active Member

    Joined:
    Jul 19, 2009
    Messages:
    1,667
    Location:
    South Florida
    exactly.
     
  12. tomsax

    tomsax Member

    Joined:
    Jun 19, 2008
    Messages:
    867
    Location:
    Sammamish, WA
    The iPhone part is easy. I'd do it myself if there was a way to talk to the car.

    I already have an app on the store that lets you control a robot over WiFi. It's just a client for a bit of specialized hardware that lets FTC students control their VEX robot controller over WiFi. If we had the equivalent gizmo for our cars, using either WiFi or SMS, this problem would be solved.

    I also have an iPhone app I use to track EV energy use, efficiency, etc. Maybe someday I'll get it to a nice enough state to submit it to the App Store.
     
  13. dsm363

    dsm363 Roadster + Sig Model S

    Joined:
    May 17, 2009
    Messages:
    18,235
    Location:
    Las Vegas, NV
    That's awesome. Have you talked to anyone at Tesla to see what their thoughts are on such an app or why it already hasn't happened? Thanks.
     
  14. scott451

    scott451 KWH-PWR#1349Sprt,S Sig#96

    Joined:
    Apr 2, 2009
    Messages:
    251
    Location:
    Palo Alto
    #14 scott451, Sep 19, 2010
    Last edited: Sep 20, 2010
    VDS Can bus Messages

    Actually, talking to the car is easy. I've analyzed many of the VDS messages on the CAN bus. The problem is providing a connection to the Internet/SMS. If you use the iPhone, then you have to leave it with the car and you'd need another phone/iphone to receive the status.

    I'm currently using a $300 HP 1050 netbook with a built in EVDO/UMTS data card and a usb to canbus adapter.
    I run a small VC++ app on the HP netbook that listens to the VDS CANbus and sends UDP message to my web server. The webserver updates a status page that is always available. It's one way, so I do not send commands to the car, I just monitor the status of the car. I have perl script to send email/sms, but I have not added it to my server yet. I'm working on a better/simpler way to do this, but this was my first hack at it.

    So here's some info to get you started. You can access the VDS CAN bus via a connector at the back of the VDS. The red wire is CAN_H and the blue wire is CAN_L. (It's a standard TYCO connector, so you can get the male/female and build a Y-cable.)

    Status messages to the VDS are sent on CAN ID # 0x100. The first byte (B1) is a sub_message index. The bitrate is 1Mbps. A simplification of the messages you need and their interpretation is as follows:

    Bytes are numbered B1 to B8 not B0-B7
    bits are numbered bit0 to bit7
    Byte pairs are in little endian order (e.g B4*256+B3)

    Charger V1.5
    • B1=0x95
    • B2=State (1=charging, 2=top off, 4=done, 13=preparing to charge, 21-25=stopped charging)
    • B3=Sub State (2=scheduled start, 3=by request, 7=connect power cable, 9=xxMinutes-yyKWHrs,)
    • B5=Mode (0=standard, 1=storage,3=range,4=performance)
    • B8=Charging KWhrs (see sub state 9)

    Charger settings
    • B1=0x88
    • B7=Charge limit
    • B2=Charging current
    • B3 & B4 Charge duration in minutes (see charger V1.5 sub state 9)

    Charger interface
    • B1=0x89
    • B3&B4= Vline
    • B6=Iavailable(from pilot PWM)

    Doors
    • B1=0x96
    • bit2 of B2 = Charge port (open=1/closed=0)
    • bit3 of B2 = Pilot present (true=1/false=0)
    • bit4 of B2 = Charging (true=1/false=0)

    Range
    • B1=0x80
    • B2= Adjusted state of charge
    • B3&B4= Ideal range
    • B7&B8= Estimated range

    messages from the VDS are sent on CAN ID # 0x102.

    Set Charge mode
    • B1=0x5
    • B2=0x19
    • B5=Mode (0=standard, 1=storage,3=range,4=performance)

    Start/Stop charge
    • B1=0x05
    • B2=0x03
    • B3=0x00
    • B4=0x00
    • B5=(Stop=0x00, Start=0x01)
    • B6=0x00
    • B7=0x00
    • B8=0x00


    HVAC sits on the battery (ESS) can bus. So I don't think it will be possible to control it without a separate connection to the ESS can bus.

    -Scott

    Disclaimer: My CAN bus interpretation could be wrong. I don't work for Tesla nor have any friends that do. I'm just passionate about Tesla's products and understanding how they work. The data is the result of my own analysis of my 2008 roadster. CAN bus messages on the 2010 are slightly different (e.g V2.0 charge mode is on B6 bits 7-4 not B5 and the UTC start time offset is in minutes).
     
  15. SByer

    SByer '08 #383

    Joined:
    Oct 23, 2007
    Messages:
    1,068
    Location:
    Cupertino, CA
    Cool. Hardware-wise I'd be thinking an Arduino w/ a cell modem module, though I can't seem to find a ready-made kit. It sure would be fun to play around with this if I wasn't already stacked up a couple of software projects deep at home...

    -Scott
     
  16. Excimer

    Excimer Member

    Joined:
    Aug 22, 2010
    Messages:
    20
    Location:
    Irvington, NY
    Can I request an Android based app at the same time which I suspect will be less arduous than an Apple based app?
     
  17. dsm363

    dsm363 Roadster + Sig Model S

    Joined:
    May 17, 2009
    Messages:
    18,235
    Location:
    Las Vegas, NV
    I'm all for an iPhone/Android app so any way to make it happen would be great. Ideally Tesla should do it so maybe once Model S development is coming to a close, they'll come back and address it.
     
  18. tomsax

    tomsax Member

    Joined:
    Jun 19, 2008
    Messages:
    867
    Location:
    Sammamish, WA
    If Tesla would create a secure web service that would allow us to communicate with our cars over the Internet, then I'll bet owners would write (or fund) apps for all the mobile platforms. It seems like Tesla shouldn't have to develop expertise on Mac, Windows, iPhone, Android, Blackberry and Windows mobile. Create a web platform and the developers will take care of the apps.
     
  19. dsm363

    dsm363 Roadster + Sig Model S

    Joined:
    May 17, 2009
    Messages:
    18,235
    Location:
    Las Vegas, NV
    That's a good idea. I e-mailed my sales person and he said it's been brought up many times but wasn't sure where it stood with the engineers. I happen to have an iPhone and I imagine a lot of other people do too but I agree, supporting as many platforms with your method would be the best. Maybe it's a security issue (even with a secure connection) that they're worried about someone messing something up when they log in?
     
  20. trevorlsciact

    trevorlsciact Member

    Joined:
    Dec 14, 2009
    Messages:
    40
    Why would it be less arduous? Apps on the iPhone are not hard to use at all. In fact, Nissan and GM's apps are pretty much the same on both platforms, and I suspect Tesla would be no different.
     

Share This Page