SylvainGa / Tesla-Link

ConnectIQ widget for Tesla vehicle control
10 stars 0 forks source link

Tesla-Link Widget

Tesla Link Widget is a Garmin ConnectIQ widget for Tesla vehicle control.

If you enjoy this maintained version of the app, you can support my work with a small donation: https://bit.ly/sylvainga

Based on the work of srwalter and paulobrien and posted with their blessing. Link to their github is at the end of this file. My work includes enhancing the touch display interface, increasing the reliability of the communication, adding many features to the Option menu, adding the selection/order of the Option menu and adding data screens. I try to keep the application up to date with new features added by Tesla once they become available to the community.

Keep in mind the Tesla API that the community is using is unsupported by Tesla and can be revoked/modified by them as they see fit.

Installation

Install the widget from the Connect IQ Store.

Description

Tesla Link Widget allows you to quickly see and control your Tesla vehicle.

It is designed to load very fast and work reliably.

Features include:

Please raise an issue if anything doesn't work correctly, or if you use an unsupported Garmin device, via the Github issues page.

If you like the widget, please consider leaving a positive review.

If you want to have the widget translated to your language, contact me through email or github.

You can find more details on how to use the application by reading the [Operating Guide] (https://github.com/SylvainGa/Tesla-Link/blob/V9.0.0/Tesla-Link-OperatingGuide.pdf).

Changelog since forking from srwalter:

V9.1.2 Added the following:

V9.1.1 Added the following:

V9.1.0

V9.0.0 Is the merging of the Legacy and Tessie app (so a new major version) in one app with some new additions. Beside this version to ring the bell that a new version is here, the Legacy app is now end of life. Head over to https://apps.garmin.com/apps/3ca805c7-b4e6-469e-a3fc-7a5c707fca54 to keep your app up to date in the future

V8.1.0

V8.0.0 Replaced Tesla's Owners unsupported API for Tessie's Dev API. See documentation on how to use

V7.18.0 Fixed the 412 error message thanks to a post I saw in the teslamate GitHub

V7.17.1 Added the Descent Mk3 43mm and 51mm watches

V7.17.0 Added the following

V7.16.0 Add "Ask to wake vehicle when launched" for those that want the vehicle to be awaken as the app launch instead of asking to wake. Defaults to True

V7.15.1 Added the following

V7.15.0 Added the following

V7.14.1 Fixed a crash in reading media control reported through ERA. Apparently, not all car have "media_info" available all the time. So need to accommodate for that.

V7.14.0 Added the following

V7.13.6 Fixed the following

V7.13.5 Added the following by requests

It also fxed the following

V7.13.4 Fixed the touch devices that got broken in V7.13.3.

V7.13.3 Fixed the following

V7.13.2 Fixed another bug when sending Complication to watch face other than Crystal-Tesla, reported through ERA

V7.13.1 Fixed a bug in sending Complication reported through ERA

V7.13.0 Added the following

V7.12.1 Added the following

V7.12.0 Added the following

V7.11.8

V7.11.7 Fixed more crashes reported through Error Reporting Application (ERA) and made more robust the validation of data sent by the vehicle. I wish Tesla would standardized the data it sends across all models/features/years.

V7.11.6 Fixed more crashes reported through Error Reporting Application (ERA) and optimized/made more robust the Glance, Data View and error reporting code.

V7.11.5 Fixed three crashes reported through Error Reporting Application (ERA)

V7.11.4 Fixed the following

V7.11.3 Added the following *** Changes to the Settings means you'll need to reconfigure the app and reenter a refresh token if you use one.

V7.11.2 Fixed the following

V7.11.1 Fixed a crash when only two lines to display in Glance under certain conditions

V7.11.0 Added the following

V7.10.2 Fixed the following

V7.10.1 Added the following

V7.10.0 Added the following

V7.9.1 Some vehicles use 'P' for park in shift_state while others use a 'null'. Why make it simple when you can make it complicated :-/ Broke the upper left quadrant if it was 'P'. Now fixed.

V7.9.0 Added the following (beside the first four items, the others are more technical than anything else)

V7.8.1 Added the following

V7.8.0 Added the following two new parameters options

V7.7.0 Added the following

V7.6.1 Compiled with Connect IQ 4.2.1 which added support for the Forerunner 265, 265s and 965.

V7.6.0 Added the following

V7.5.0 Added the following

Regarding Glance, keep in mind that when the watch boot, it will take some time for the Glance code to authenticate to the car (cannot do multiple calls per iteration of the Glance code) and retrieve its first set of data. One way to circumvent this is to launch the app, which will update the data right away. Going back to the Glance mode will reactivate its 5 minutes view refresh (limitation imposed by Garmin) but with the most recent data.

V7.4.2 Fixed the repeated prompt to login and new way of detecting if heating or cooling

V7.4.1 Fixed corruption in the Swedish language file

V7.4.0 Added the following items

V7.3.6.Choosing a different vehicle from the list should now work. If you're at the confirmation for waking, choosing 'No' will bring you to the selection of a vehicle.

V7.3.5 Added support for Forerunner 245 Music, all version of the Forerunner 255 and all version of the Venu SQ 2.

V7.3.4 Oops, Homelink was missing the 406 fix.

V7.3.3 Error 406 / -2 should be fixed now (at least, until Tesla modifies the communication protocol again).

V7.3.2 Replaced the saved variable for Metric/Imperial to query the watch for the current setting. Bug fix for the 406 error.

V7.3.1 Addition of the Forerunner 955 / Solar

V7.3.0 Adds German translation. Thank you Sebastian Schubert for the translation.

V7.2.0 Added support for Teslas in China. These needs different Tesla servers domain name than the rest of the world. These can be changed through the phone app.

V7.1.3 Added a new application setting 'Use Touch'. It's meant for watches that has both buttons and a touchscreen. It gives the users the choice of one over the other.

V7.1.2 Fixed for button operated watches that cycles between widgets instead of performing the actions of the left side buttons. You'll unfortunately have to do an extra step to get the main screen. Sorry, it's a limitation of Garmin's API

V7.1.1 Minor corrections

V7.1.0 Added Homelink under Menu. New method to detect if the climate is heating or cooling.

V7.0.1 Added support for D2 Air X10, D2 Mach 1 and Venu2 Plus

V7.0.0 Here's what's my version brings new (first release since it was forked from srwalter):

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Many thanks to those who have contributed to the development of the Quick Tesla version, including srwalter, paulobrien, danielsiwiec, hobbe and Artaud!

License

MIT

Other Licenses

Some devices use the Montserrat font by Julieta Ulanovsk. Please see the included file 'montserrat-ofl.txt' for full licensing information.