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

Teslamate - self hosted "TeslaFi" type thingy

Discussion in 'The UK and Ireland' started by Bobly, Dec 30, 2019.

  1. Bobly

    Bobly Member

    Joined:
    Sep 29, 2019
    Messages:
    116
    Location:
    UK
    Hi,

    Not seen this discussed here, but for anyone wanting to get really nerdy on their stats but not wishing to use a cloud service, this self-hosted project looks pretty sweet.

    As it's self hosted no concerns about giving security tokens to a 3rd party, plus your data is stored locally in a format you'll always be able to access. Lots of deployment options depending on just how nerdy you want to get.

    adriankumpf/teslamate

    Features
    Dashboards

    • Lifetime driving map
    • Drive and charging reports
    • Driving efficiency report
    • Consumption (net / gross)
    • Charge energy added vs energy used
    • Vampire drain
    • Projected 100% range (battery degradation)
    • SOC charging stats
    • Visited addresses
    • History of installed updates
    General

    • Little to no additional vampire drain: the car will fall asleep after a certain idle time
    • Automatic address lookup
    • Locally enriches positions with elevation data
    • Geo-fencing feature to create custom locations
    • Supports multiple vehicles per Tesla Account

    [​IMG]

    [​IMG]

    [​IMG]
    [​IMG]
    *not in any way affiliated with this project, just thought it looked cool*
     
    • Informative x 4
  2. rotor2k

    rotor2k Member

    Joined:
    Sep 16, 2019
    Messages:
    454
    Location:
    London
    Have you got it running? It’s on my todo list. One benefit of TeslaFi is I can access it from work; don’t want to be poking holes in my home firewall.
     
  3. Bobly

    Bobly Member

    Joined:
    Sep 29, 2019
    Messages:
    116
    Location:
    UK
    not yet, it's pretty small, so you could host it on amazon web services/google cloud for free if you don't want to run from home
     
    • Like x 1
  4. MacPaul

    MacPaul Member

    Joined:
    Sep 28, 2019
    Messages:
    163
    Location:
    Aberdeen
    I have just got this running on my Synology NAS. It provides a lot of data but I haven’t figured out how to make use of it yet. I’m going to give TeslaFi a go too for a comparison but I’ve a feeling it could be the same - collecting data for data’s sake.

    (A VPN is an alternative to opening up ports on your router)
     
    • Like x 1
  5. Bobly

    Bobly Member

    Joined:
    Sep 29, 2019
    Messages:
    116
    Location:
    UK
    also - as it's just collecting stats, you only need outbound access, so unless you want to see stats while away from home or your home network is severely locked down should be fine anyway. It's not got all the features of teslafi - like charge schedule etc, so fewer reasons to need to connect while "on the go"
     
  6. rotor2k

    rotor2k Member

    Joined:
    Sep 16, 2019
    Messages:
    454
    Location:
    London
    Yeah I meant for connecting on the go. I’ll definitely set it up, just need to find the time.
     
  7. pdk42

    pdk42 Member

    Joined:
    Jul 17, 2019
    Messages:
    953
    Location:
    Leamington
    I just pensioned off a "well-speced" RPi, complete with firewall access, that I was using to run my DIY home heating system (replaced with Hive). Might be a good use for it. I've been nervous about the data that TeslaFi holds from the start.
     
  8. Asterix187

    Asterix187 Member

    Joined:
    Oct 7, 2017
    Messages:
    733
    Location:
    England
    You could also use a reverse proxy tunnel, something like cloudflare Argo tunnel, if you were really worried and didn’t want to open a port.
     
  9. Glan gluaisne

    Glan gluaisne Supporting Member

    Joined:
    Sep 11, 2019
    Messages:
    2,357
    Location:
    UK
    Snap!

    Just part way through installing Docker on a spare RPi3 that I have left over from an old NAS project, complete with battery back up (I switched to using an Odroid HC1 as a NAS, BTW, seems a LOT faster than the RPi).

    Easy enough to VNC into the headless RPi to do anything, plus, like you, I like the idea of keeping data locally.
     
  10. Avendit

    Avendit Member

    Joined:
    Apr 18, 2019
    Messages:
    679
    Location:
    EDI
    I tried this but found the car would never sleep. Wasn't quite interested enough to troubleshoot so just shut it down. The install and setup on docker was a beautiful thing I have to say.
     
  11. Cwmwd

    Cwmwd Member

    Joined:
    Sep 12, 2019
    Messages:
    180
    Location:
    Wales/UK
    I'd recommend giving ZeroTier a go for this, easy setup and some nice options. Not affiliated but a frequent user.

    ZeroTier – Global Area Networking
     
    • Informative x 1
  12. Glan gluaisne

    Glan gluaisne Supporting Member

    Joined:
    Sep 11, 2019
    Messages:
    2,357
    Location:
    UK
    I agree about Docker, seems a very neat and clean way to install stuff.

    Had TeslaMate up and running on an RPi3 for an hour or two now, with no issues. There doesn't seem to be a problem with the car sleeping, AFAICS. Not sure if that's changes in TeslaMate or changes in the car; I have a slight suspicion that something changed in the car with the last software update that affects sleep.
     
  13. MacPaul

    MacPaul Member

    Joined:
    Sep 28, 2019
    Messages:
    163
    Location:
    Aberdeen
    I haven’t had any sleep issues with TeslaMate either before or since 2019.40.50.1
     
  14. rotor2k

    rotor2k Member

    Joined:
    Sep 16, 2019
    Messages:
    454
    Location:
    London
    Thanks, that's a good little tip!
     

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