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
Start a Discussionhttps://teslamotorsclub.com/tmc/tags/

Mac Tesla App - (Tapp 1.5 release)

Discussion in 'Technical' started by Carspotter Daily, Sep 11, 2017.

  1. Carspotter Daily

    Carspotter Daily Tesla > ICE

    Joined:
    Aug 12, 2015
    Messages:
    73
    Location:
    Hamilton, Ontario, Canada
    Tapp 1.5
    Features:
    • Automatic Login
    • Minute-by-Minute vehicle location and tracking
    • Google maps car location
    • Lock + Unlock, Horn, Lights, Climate control, Charge Port control, Charge functions including Start, Stop, Charge limit, Remote Start, Valet mode controls
    • Graphs - Temperature both inside and outside the car, charge level.
    • Car photo (matching specs)
    • Custom Alarm (Use in emergencies only)
    • Secure login with Tesla's API
    Passwords and identifying information: The app does not, under any circumstances collect or send identifying information about your vehicle or yourself (such as usage information, car information, car location etc) to I or any third party except for the following: Google maps is passed a coordinate in form of latitude and longitude to locate your car visually, no data other than latitude and longitude are sent. The application stores an access token securely which can be used to access your car remotely. This token is only saved with express permission from the user and is only used to perform automatic logins.
    Upcoming Additions:

    • Apple keychain support for safer data
    • Cleaner UI
    • Graphs, graphs, graphs
    • Bug fixes, as always.

    Screenshots:
    [​IMG]
    [​IMG]
    [​IMG]

    Spencer
     
    • Like x 3
  2. BigD0g

    BigD0g Member

    Joined:
    Jan 12, 2017
    Messages:
    773
    Location:
    Somewhere
    Spencer, you should add a home / away profile to the APP to allow for choosing to use the proxy or not. At work proxy / home no proxy.
    Great APP though, if I get sometime I'll code a patch and send it your way for this feature.
     
  3. Carspotter Daily

    Carspotter Daily Tesla > ICE

    Joined:
    Aug 12, 2015
    Messages:
    73
    Location:
    Hamilton, Ontario, Canada
    Thanks for the idea! I'm working on version 2 and will try to include proxy support.

    How about something like the following:
    • App checks the current WiFi network name (SSID)
    • App then prompts user to select either Home or Away options (Saves selection for current SSID)
    • If the user selects home, then the app proceeds to the initialization
    • If the user selects away, then the app asks the user whether or not to use a proxy
    • If the user says yes to proxy usage, then the app asks for proxy info (Saves proxy info as well)
    • If not, then the app continues, but is more secure in it's communication with the Tesla servers. (SSL certificate verification)
    This shouldn't be too much of a hassle, except for routing all the communication through the proxy.
    Periodic app updates are kept here

    Spencer
     
  4. BigD0g

    BigD0g Member

    Joined:
    Jan 12, 2017
    Messages:
    773
    Location:
    Somewhere
    Yep, love it, you don’t even have to modify it to much really I can send you my working proxy setup with your code if you want it. But, great work.
     
  5. Carspotter Daily

    Carspotter Daily Tesla > ICE

    Joined:
    Aug 12, 2015
    Messages:
    73
    Location:
    Hamilton, Ontario, Canada
    :) Alright!

    It would be amazing if you could send me the proxy code!

    Here's what I managed for today, this will appear on app startup.
    [​IMG]

    Thanks!
     
  6. BigD0g

    BigD0g Member

    Joined:
    Jan 12, 2017
    Messages:
    773
    Location:
    Somewhere
    Pm me yoiur email address or I can do a PR on your git, but I’m not up to date, either way I’ll get it to yah.

    What’s the reason to ask if it’s trusted, we should always be https even when trusted I think.
     
  7. Carspotter Daily

    Carspotter Daily Tesla > ICE

    Joined:
    Aug 12, 2015
    Messages:
    73
    Location:
    Hamilton, Ontario, Canada
    Https is on all of the time; but SSL certificate verification is off by default. If the network is deemed unsafe, then the app will also check if Tesla's SSL certificate is valid before using the API.
     

Share This Page