Skip to content

Display information about and remotely control your Tesla vehicles from the MacOS menubar

Notifications You must be signed in to change notification settings

pvdabeel/mytesla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

MyTesla - MacOS Menubar plugin

Displays information regarding your Tesla vehicle in the MacOS menubar. Allows you to remotely control your Tesla vehicle as well.

Imgur

Browse Vehicle options Browse Vehicle images Control charging
Imgur Imgur Imgur
Control Airco Control Media Control Navigation
Imgur Imgur Imgur

Want a Tesla with free supercharging Credits? Use my referral code

Changelog:

Update 2023.12.03:

  • Testing new Tesla Fleet API (location tracking)

Update 2022.11.01:

  • Ready for Python3 and MacOS Ventura
  • Improved Seat heating support: supports 7 seats
  • Improved Steering heating support
  • Displays current Station / Song / Title
  • Displays current volume
  • Updated composer images

Update 2022.05.21:

  • Automatically refreshes Tesla's new style 8-hr API tokens

Update 2021.11.02:

  • Support for xbar, deprecating bitbar
  • Provide option to directly provide access_code during initialization

Update 2021.08.04:

  • Support for auth.tesla.com captcha
  • Support for showing battery in menu bar
  • Support for white logo in menu bar on Big Sur

Update 2020.02.06:

  • Offline mode: application shows last known 'state' when vehicle is sleeping. Added a manual wakup option.
  • Improved location tracking performance
  • Ability to override option_codes for your vehicle (see parameters in file)

Update 2020.02.04:

  • Support for auth.tesla.com including Multi-Factor authentication
  • Code cleanup

Update 2019.10.02:

  • Display window status
  • Show software update progress and version info

Update 2019.09.30:

  • Larger google map

Update 2019.09.29:

  • Support for V.10 firmware
  • Window control
  • Trigger Homelink
  • Share to vehicle
  • Maximum window defrost

Update 2019.07.01:

  • Show service appointments
  • Mac OS X Catalina beta support

Update 2019.04.13:

  • Dog Mode
  • Sentry Mode
  • More information when vehicle is in service

Update 2019.03.06:

  • Compose car image based on optionlist

Update 2019.02.05:

  • Added continuous location tracking to a TinyDB (can be disabled)
  • Google maps are cached (~25% performance improvement)

Update 2019.01.03:

  • Remote control seat heaters
  • List and nativate to nearby superchargers or destination chargers

Update 2018.12.16:

  • Set navigation to nearby charging site (Firmware 2018.48 or higher needed)
  • Display vehicle option codes

Update 2018.12.08:

  • Remotely set your navigation

Update 2018.12.01:

  • Schedule software update
  • Toggle media on and off
  • Next and previous track
  • Volume up and down

Update 2018.07.30:

  • When running in dark mode, also shows google map in dark mode
  • Uses CoreLocation to get own GPS coordinates and put on map together with car,

Update 2018.04.05:

  • Shows vehicle information (VIN, color, wheels, type, model, Ludicrous)
  • Provide indication whether vehicle was uncorked or not
  • Copy VIN to clipboard
  • Hold ALT when clicking command for the command to be executed in Terminal

Update 2018.03.22:

  • Added support for opening & closing trunks and chargeport
  • Performance optimizations
  • Shows live location (Google Maps) in the url. Alternate between Map and Satellite image.

Update 2018.02.21: Updated for Tesla firmware 2018.4 (APIv3)

  • Shows battery loss percentage due to cold.
  • Shows rear and front window defroster status
  • Shows battery heating status

Update 2017.11.01: (beta) Schedule vehicle charging and heating using OS X Calendar or OS X reminders

Update 2017.10.23: Added color support

Update 2017.10.22: Added support for remotely:

  • Start keyless driving
  • Set charge levels and control charging
  • Unlock and lock the vehicle
  • Control airco temperature
  • Open and close the sunroof
  • Flash lights and honk horn

Credits:

Greg Glockner teslajson API code.

Licence: GPL v3

Installation instructions:

  1. Download python version 3
  2. Ensure you have xbar installed.
  3. Execute 'sudo pip install tinydb==3.9 keyring pathos googlemaps' in Terminal.app
  4. Copy mytesla.15m.py to your xbar plugins folder and chmod +x the file from your terminal in that folder
  5. For advanced users: check the configuration options in the mytesla.15m.py file
  6. Run xbar (version 2.1.7-beta or higher).

About

Display information about and remotely control your Tesla vehicles from the MacOS menubar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages