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

New open-source and free desktop app available

Discussion in 'Model S' started by geraldoramos, Jun 8, 2019.

  1. migselv

    migselv Member

    Joined:
    Jan 23, 2017
    Messages:
    50
    Location:
    Denmark
    I would also like to see a small, local server application for logging. The client app could even be made to pull log data from the local server and act as the UI. This could be really nice.
     
  2. RunHideFight

    RunHideFight Member

    Joined:
    Jan 18, 2019
    Messages:
    5
    Location:
    Orange County, CA
    Great to here about this Windows and MacOS app. I've never tried VisibleTesla or other apps. Should I just skip the others and try this one?

    I'm on Windows, also use Stats on iPad. It would be nice to have something I could run on Windows. My use case is to have something similar to the native mobile app.

    Down the road I think the community would jump on an app that is a hybrid of Stats and TeslaFi. What I mean by that, is an app that polls the servers and collects data so we can have a localized history...before it's lost...I doubt Tesla has a way to pull history from their servers as I don't see anything but my usage after installing Stats. Second is something that can push commands to the car and be "smarter" than the native mobile app when possible. For example, doing a better job of scheduling charges. I know many of us are on TOU plans, I'm with SDGE and the super off-peak rate is around 9.3 cents from 12AM to 6AM M-F, weekends and holidays it's 12AM to 2PM. "Normal" rates are 40-52 cents.

    Even if Down the road items never happen, a Windows app that mimics the mobile app is still fantastic. Thanks for taking the time to make it happen!
     
  3. PCMc

    PCMc Member

    Joined:
    Jul 1, 2016
    Messages:
    22
    Location:
    Columbus, IN
    geraldoramos - regarding the need to run some form of server for data logging, have you looked at how VisibleTesla did that? My understanding is that code is likewise publicly available and my, albeit novice, understanding is that it also was running everything totally local, did not store credentials on any server, and all the logged data was saved on your local machine. It does require that I keep the application running at all times on my laptop, but supports the data logging capability, also has a scheduling capability (again, provided I leave it running on my computer at all times). My programming skills are rusty enough (like Fortran77 era) that I've never dug into it to figure out how to replicate it myself.

    It also is available on GitHub. I you've not looked at it, here's link to the overall VisibleTesla site which has links to the entries on GitHub.

    Getting Started
     
  4. geraldoramos

    geraldoramos Member

    Joined:
    Jun 8, 2019
    Messages:
    16
    Location:
    Salt Lake City
    Thanks, I was under the impression that if you use your local computer to log things, it will not be accurate and you will lose a lot of information when it's not running or has been reset, etc. I will take a look at visibleTesla. What I don't think is ideal is to turn a control/monitor desktop app in a logging tool. If I get into logging or scheduling, I think I should do separate services. But the desktop app can act as a client, to visualize some of the data on these other services. The user can either run these extra services on a local machine (raspberry pi for example) or a server on digitalocean/aws/linode/etc.

    I'm not super keen on what people like to log. Can you (or anyone else reading this) explain what are the most common use cases for data logging? Why people do it and what are their goals?


    See response above. It's a good idea to keep it separate but integrated. I think if I make a super uber easy solution that allows people to deploy the "simple logging service" to a cloud provider on their own, it could be way more valuable (to avoid running local machines at home).
     
  5. JJOhio

    JJOhio Member

    Joined:
    Jan 25, 2019
    Messages:
    42
    Location:
    Beavercreek, OH
    Works good but why is my miles rounded to the nearest mile and the one in your picture not?
     
  6. f205v

    f205v Member

    Joined:
    May 12, 2018
    Messages:
    379
    Location:
    Tessin, Switzerland
    @geraldoramos my usercase for logging are:
    ODO in any form (total, per month, week, day, per trip)
    Power usage (kWh): (again: total, per chunk of time, per trip)
    Times: total driving time, driving time per month, week, day, per trip
    Any statistics you can get from the above, like: ODO/time (for average speed), power/ODO (for specific consumption), etc.
    Charging: per location, per type (supercharger, home, destination) with times, usage, etc.
    Trips waypoints (polled every 1 minutes would be enough) and the ability to plot them on maps (Google or OpenStreet)

    I'm sure there are many others, but those would cover my OCD!
     
    • Like x 1
  7. geraldoramos

    geraldoramos Member

    Joined:
    Jun 8, 2019
    Messages:
    16
    Location:
    Salt Lake City
    I did a refactor to fix the conversion to KM and sometimes it will give long numbers so I rounded. Is it relevant to keep at least one decimal place?
     
  8. Ostrichsak

    Ostrichsak Member

    Joined:
    Sep 6, 2018
    Messages:
    630
    Location:
    Colorado, USA
    I don't appear to have a settings menu or any option to change which car I'm viewing? Also, the car's name isn't being displayed just "Tesla Model S" so is there something obvious I'm not seeing here?
     
  9. JJOhio

    JJOhio Member

    Joined:
    Jan 25, 2019
    Messages:
    42
    Location:
    Beavercreek, OH
    If it's real accurate, yes. If it's just a division result, no.
     
    • Like x 1
  10. Whoster69

    Whoster69 Member

    Joined:
    Feb 10, 2019
    Messages:
    103
    Location:
    Ukiah, California
    #50 Whoster69, Jun 12, 2019
    Last edited: Jun 12, 2019
    I'm running Windows 10. I logged in and clicked the icon, tried closing, restarting, etc., and all I get is this. Untitled.png

    Any ideas on how to get this to work?'

    I'm running version 2.8 as admin.
     
  11. StarLog

    StarLog Supporting Member

    Joined:
    Mar 11, 2019
    Messages:
    161
    Location:
    FloriDUH
    Uninstall the app, and then relaunch it as admin it should work then.
    Use the credentials you use on the Tesla mobile app to login.
     
  12. Radlaw

    Radlaw Member

    Joined:
    Dec 29, 2018
    Messages:
    64
    Location:
    California
    How do I log on? Need password. How do i create one?
     
  13. PCMc

    PCMc Member

    Joined:
    Jul 1, 2016
    Messages:
    22
    Location:
    Columbus, IN
    @geraldoramos


    I've been pretty satisfied with what I can log via VisibleTesla. As I understand, based upon what I can export to .csv/xls file, is:

    Charging data: timestamp, Charging Volts and amps (C_VLT, C_AMP), rated miles and SOC (C_EST, C_SOC), rate of charge (C_ROC), battery amps and power (C_BAM, L_PWR)

    Streaming data: timestamp, Latitude, Longitude, Heading, Speed, Odometer, and again Power (L_LAT, L_LNG, L_HDG, L_SPD, L_ODO, L_PWR)

    There is an All Data export, that combines all of that into one file.

    There is a charge cycle export that is built off the two sets of data. It includes:
    Timestamps for start and ending charge, boolean true/false to indicate if supercharging, number of phases of charging supply, starting/ending range (rated miles), starting/ending State of Charge (%), Latitude/Longitude, Odometer, Peak Voltage, Average Voltage, Peak current, average current, and Energy added.

    The current values during supercharging quit being supported maybe a year ago. I've not researched the API to know if the energy added is an actual reported term or something they computer by doing a time integration of the instantaneous power values.

    VT will do strip chart of most of the raw data values, etc., but in my case I actually tend to export them out to do some of my own analysis. I use the charging cycle export to capture all my charge summaries and used to do a plot of the apparent battery capacity over the past 3 years I've owned my car. I also have used the data to do aggregate summaries of total miles traveled via superchargers vs. charging at home vs charging at my work location (40% superchargers, 50% at home, 10% at work L2 charger).

    I'll use the streaming data to look at my trip leg energy consumption in Rated Miles and then compare to my pre-trip simulations via evtripplanner to build my ability to anticipate my practical range in various conditions. I've used the charging data to look at multiple supercharging sessions to build my own expected charging taper curve and look at to what extent my MS90D is indicating signs of Tesla now limiting my rate of charge (note: while I did see my peak rate increase with 2016.12.2, what I see in the taper from about 45% SOC on up is actually reduced from what I saw when my car was new).

    I know there are various apps that will do most of those type of calculations but I'm old school. I like not having my data saved on 3rd party servers and gain much of my understanding of the system by taking the time to plot up my own data. But then I'm a bit of a numbers addict.
     
    • Like x 1
  14. geraldoramos

    geraldoramos Member

    Joined:
    Jun 8, 2019
    Messages:
    16
    Location:
    Salt Lake City
    It doesn't support multiple cars yet, I will do it as soon as possible. As of now, it only gets one of the cars available.

    Thanks!

    This could mean you have another Tesla app connected. If the mobile app is running, for example, it will reject the app to hit their API so it will keep loading until access is available. I will make this loading screen more informative.
     
  15. Ostrichsak

    Ostrichsak Member

    Joined:
    Sep 6, 2018
    Messages:
    630
    Location:
    Colorado, USA
    Bummer. We've got several & the only one it shows is probably the least important one we'd want to monitor.
     
  16. geraldoramos

    geraldoramos Member

    Joined:
    Jun 8, 2019
    Messages:
    16
    Location:
    Salt Lake City
    Sorry, I knew this would be the case for a bunch of users =/. It's on my priority list, it just needs a decent amount of changes. I will ping you here once it's ready.
     
  17. StarLog

    StarLog Supporting Member

    Joined:
    Mar 11, 2019
    Messages:
    161
    Location:
    FloriDUH
    Use your normal username and password that you use in the Tesla app, because it hooks into the tesla account
     
  18. mckemie

    mckemie Member

    Joined:
    Mar 27, 2013
    Messages:
    115
    Location:
    Dale, Texas
    Same here. I eagerly await multiple cars!

    More feature creep or requests for information:
    1) Give the app more screen real estate? That is, optional scale to larger.
    2) One need I have is to give others access to my cars' information without giving them full Tesla account access. Since the log in credentials are Tesla's, I don't suppose that will be possible.
    3) The above mentioned multiple cars.

    I had great difficulty getting a complete download. Ended up using wget which eventually did the job. Anyone else have that type of problem on a Linux system, ask. After that, everything went VERY smoothly. Much thanks to Geraldoramos!
     
  19. Ostrichsak

    Ostrichsak Member

    Joined:
    Sep 6, 2018
    Messages:
    630
    Location:
    Colorado, USA
    Understandable. I know this is only the beginning of an all-new app so these things take time to take form. I'll follow the progress.
     
    • Like x 1
  20. Whoster69

    Whoster69 Member

    Joined:
    Feb 10, 2019
    Messages:
    103
    Location:
    Ukiah, California
    I tried that. It didn't work.

    Any other ideas?
     

Share This Page

  • About Us

    Formed in 2006, Tesla Motors Club (TMC) was the first independent online Tesla community. Today it remains the largest and most dynamic community of Tesla enthusiasts. Learn more.
  • Do you value your experience at TMC? Consider becoming a Supporting Member of Tesla Motors Club. As a thank you for your contribution, you'll get nearly no ads in the Community and Groups sections. Additional perks are available depending on the level of contribution. Please visit the Account Upgrades page for more details.


    SUPPORT TMC