This is my implementation of the Tesla Connect App and Tesla Device adapted and enhanced for Hubitat and to meet my needs.
NOTICE: This driver is a very early implementation
To use this software, you must download two files:
Sign into your Hubitat device, and add the devices and apps included in this project. To do so, from the menu select the "Drivers Code" menu option.
Next, click the "(+) New Driver" button
Select the import button, and put in the URL to the tesla.groovy, Click the import button, and the new driver is ready.
Click Save.
Next, navigate to "Apps Code" and repeat the process for the tesla-connect.groovy app.
The configuration is quite simple, and tries to be as automatic as possible. Once everything is installed, go to Apps, and select "Add User Apps" then select the Tesla Connect app.
Once the app is installed, open the Tesla Connect app (this normally happens automatically after install) and enter you Tesla Connect credentials. Once signed in, you will receive a list of all your connected vehivles. Select the vehicle(s) to install, and click next. This will install the Tesla device for each selected vehicle. Now you are ready to configure and manage each vehicle.
For smart home automation to work reliably, it is highly recommended that each installed vehicle be configured to join your wifi network, and to always be assigned the same IP Address (check your router documentation of how to configure DHCP reservations). This is not required, but it will help to ensure the best results for consistency.
Not yet implemented Presence based on distance from home Custom attribute for geofenced home range
January 20, 2020
- Initial implementation with minor changes from the original SmartThings implementation to adapt this solution to my needs
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details. Portions of this code are licensed from Trent Foley (https://github.com/trentfoley)
This software would not be possible without the efforts and free sharing of information provided by the original author of the SmartThings Tesla-Connect App and SmartThings Tesa Device created by Trent Foley.