Tesla EV + Powerwall Plugins Using Official APIs

Important Message

Starting today, you will receive plugin news only if you subscribe to our Plugin News. Be sure to subscribe to stay updated!

Prerequisites:

  • eisy – enjoy a $40 discount when you upgrade to eisy using coupon code FFADCAUF
  • ISY Portal – enjoy a one year free ISY Portal license when you upgrade to eisy

Introduction

Tesla has recently launched official APIs, enabling seamless home automation integration for Tesla EVs and PowerWalls without relying on token-based access methods which have since been obsoleted. The two new Tesla plugins – one for Tesla EVs and one for Tesla Powerwall – use this official API. All features are available both through UD Mobile as well as the Admin Console for both plugins. 

Tesla EV

The Tesla EV plugin (udiTeslaEV2) supports up to nine vehicles, each with a main node and two sub-nodes for climate and charging control. The charging node manages settings such as charge current and start time, while the climate node controls functions like pre-conditioning. The main EV node provides an overview of vehicle status, including controls like activating HomeLink® to open a garage door. All commands are sent securely using the new, encrypted API, with access granted by the user via a virtual key that can be revoked anytime.

The solution incorporates a secure login process, redirecting users to the Tesla website for authentication and API approval. As the official API imposes some rate limitations, EV data can be updated every 10 minutes, and charging commands are limited to five per day. To conserve vehicle battery life, the system allows the EV to sleep or go offline, only waking the vehicle when controls or data retrieval are needed. Polling intervals are customizable for optimal timing control.

Tesla Powerwall

The Tesla PowerWall plugin (udiTeslaPW2) also utilizes the new official Tesla API, requiring user authentication through the Tesla website to grant permission for data access and control. This plugin supports key PowerWall functions, including grid status, storm mode activation, and more. Each installation creates a main node displaying current operational status and two sub-nodes: one for a daily summary (e.g., for automated reports) and another for configuration control.

Additionally, users have the option to retrieve most data directly from the PowerWall locally by entering its IP address; however, local access supports data retrieval only, with no control capabilities. This secure and versatile integration makes PowerWall management more accessible and efficient.