Announcement

Collapse
No announcement yet.

Installation & config

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installation & config


    Description

    teslaSeer is designed to interact with the tesla motors API. It works on all models, even if you have multiple in your account. At least that is the idea, I don't have all cars in my account so I am not able to re-create. Please use the feedback thread to report bugs, issues, feature requests, etc.

    Requirements
    • Running HS4 application
    • Windows .NET Framework 4.6.2 or later
    • A tesla account with at least one car(that you have ownership of)
    • Not tested on Linux, but might work(Let me know if you test it and it works)
    Installation

    Add the plugin as you would normally add any HomeSeer plugin:
    • Go to Plugins>Add
    Click image for larger version  Name:	Add.png Views:	0 Size:	18.3 KB ID:	1462432
    • Search for 'teslaSeer' and plugin will show up
    Click image for larger version  Name:	plugin.png Views:	0 Size:	103.7 KB ID:	1462433
    • When you click the plugin a popup will appear, click install
    Click image for larger version  Name:	install.png Views:	0 Size:	94.2 KB ID:	1462434

    A popup will tell you if the installation was ok or not.

    Once you have the plugin installed you can head over to Plugins>teslaSeer>about and there will be additional information about the installation etc.

    Login and configuration
    • Navigate to Plugin>teslaSeer>configuration Click image for larger version  Name:	configuration.png Views:	0 Size:	49.3 KB ID:	1462435
    • Go through the steps to configure and login to your tesla account, first polling timing: Set the delay between each time teslaSeer will poll your account for data. Set in seconds.Click image for larger version  Name:	pollingtiming.png Views:	0 Size:	179.4 KB ID:	1462436
    • Second, debug: Enable this if you want extra logging(do so if required by me during troubleshooting). Click image for larger version  Name:	debug.png Views:	0 Size:	197.9 KB ID:	1462437
    • Third, account details. Enter your tesla account Username and password.(These will be stored locally on your computer, encrypted.) Click image for larger version  Name:	account.png Views:	0 Size:	82.2 KB ID:	1462438
    • Then click 'Save & login' and a popup will eventually show up to tell you if login succeeded or not. It might take up to 3 minutes before login is complete, so please wait for the pop-up.
    If you are already logged in and need to change config(say enable-debug), just run through the process without the account details.

    IF YOU HAVE ISSUES LOGGING IN USING THE METHODE ABOVE YOU CAN ADD A TOKEN TO THE CONFIG FILE MANUALLY(>v1.0.0.4):
    1. Navigate to your HS4 root file and locate the config file named "HSPI_teslaSeer.exe".
    2. Open the file and locate the appSetting "<add key="key" value="" />"
    3. Add your token in between the " " after value=, it should look something like this <add key="key" value="XXXXXXXXXXXXXXXXXXXXXXXX" />
    4. Also make sure <add key="keyExpires" value="" /> has a value in the future in unix time. You can calculate unix time here: https://www.unixtimestamp.com/ . I recommend to put it way into the future.
    You can get a token many places, but I recommend to use this tool: https://github.com/tomhollander/TeslaAuth/

    IMPORTANT NOTE
    This plugin uses a non-public API from tesla motors and tesla could change their API at any time, crippling this plugin. In the unlikely event that this happens, I will do my best to update this plugin in a reasonable time frame. However, as the API is non-public, no guarantees can be given and worst case the plugin might stop functioning and I will never be able to get it to work again.
    Attached Files
Working...
X