| Developer: | Glenn's Plugins Like this plugin? Show your appreciation! |
| Category: | Energy Monitoring |
| Github: | Github Repo |
| Assistance: | Get help! Check the online documentation |
| Plugin ID: | com.GlennNZ.indigoplugin.TeslaBattery |
| Latest release: | v1.0.16 released on Aug. 24, 2025 |
| Requires: | Indigo v2022.1.0 or higher |
| (Check the Releases tab below for older releases that may have different requirements) | |
| Download release v1.0.16 |
![]()
Changelog:
Add Control Panel Images to github for usage Add Battery Charging State Add Grid Usage T/F State for Image selection Add kW to all given production/consumption/usage data Change to PluginStore Update Code
A Plugin for Tesla Battery Gateway - enabling you to see everything that is happening within the Tesla App, and even re-create the app on a Indigo Control Panel (images are provided to help)
eg. Grid Usage in Watts & kW Solar Generation in Watts & kW Battery Usage in Watts & kW Home Consumption in Watts & kW Grid Usage T/G Battery Charging T/F
Also informs you in Connected to Grid - so in case of Grid outages can run Action Groups - eg. turn off devices.
Further Documentation to follow - but these pictures should explain
Usage
Need Tesla Battery with standard Gateway
Set up Static IP Address for this Gateway on the same network as Indigo Server
Install Plugin from
Click the Check Connection Button

If communicating - Generate Devices button will appear Click the Generate Devices button

This will create the plugins four devices with a folder called 'Tesla Battery Gateway'
eg.



More to follow. [Not extensively tested in all conditions as - as haven't had any negative numbers as solar generation has been poor lately! ]
Glenn
| v1.0.16 | Requires Indigo v2022.1.0+ | Released Aug. 24, 2025 | Online Fix. Get Backup time remaining from Tesla Server. Refresh Token Checks. Read and Store |
| Released on: | Aug. 24, 2025 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
![]()
Read Tesla Tarriff information online and use this to hourly update current siteInfo with information as to current this second Tarriff. Allowing triggering on different Tarriff levels. (OFF Peak, Peak, Shoulder etc.) These tariffs you setup manually within the telsa app if can't find the exact plan.
Pull Online time remaining (calculated by Tesla) on their servers (requires online account)
For Online connection/usage need to obtain a Tesla Access Token: Simplest way: With this Mac Store App: https://apps.apple.com/us/app/auth-app-for-tesla/id1552058613
| Released on: | April 13, 2024 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
Python 3 Version:
Update to online connection, which Tesla is removing slowly. (Online aspects may fail in the near term) Update telsapy library to latest, removing some endpoints that may have ceased to exist
For Online Communication. (Can function receiving local data without control without Online aspects) For Online connection/usage need to obtain a Tesla Access Token, to paste into PluginConfig.
Simplest way: With this Mac Store App: https://apps.apple.com/us/app/auth-app-for-tesla/id1552058613
| Released on: | Oct. 16, 2023 |
| Requires: | Indigo v2022.1.0+ |
| Download this release | |
Python 3 Version:
Fix Online Communication. (Can function receiving local data without control without Online aspects) For Online connection/usage need to obtain a Tesla Access Token, to paste into PluginConfig.
Simplest way: With this Mac Store App: https://apps.apple.com/us/app/auth-app-for-tesla/id1552058613
| Released on: | June 17, 2021 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
Add option of disabling Tesla Online access - recommended currently given API access issues
This: Allows full local data retrieval from Powerwall, DOES NOT ALLOW Mode changes
Currently API is back working, but may change and this gives option to disable this if not being used.
Fix for Action groups (some merge/rebase somewhere used old Actions.xml - hopefully the only issue)
| Released on: | Jan. 5, 2021 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
0.6.5
Fix for battery percent not entered.
| Released on: | Nov. 1, 2020 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
![]()
Given changes in 1.50.1 removing local control Moves to using Tesla online API to change battery mode, percentage. Update code to achieve this, update pluginConfig data, remove unneeded data
Also enables addition of online states in Battery Online Battery States: - battery mode - Current set battery backup reserve percentage - software version of battery - battery count
This remains optional, if not controlling battery fields can be left blank, new states will also remain blank.
| Released on: | Oct. 20, 2020 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
![]()
Fix for missing site info data In particular missing solar info, but checks for all missing for future issues
| Released on: | Aug. 14, 2020 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
![]()
Add action to change operational Mode of Battery (Tested for UK) Add few more options to site Information Further hardening of errors if missing data/regional differences Fix for siteinfo data change with new firmware
| Released on: | June 16, 2019 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Downloaded: | 0 times |
| Download this release | |
![]()
Checks for missing Site Info data (particularly Grid_Code) but all other data. Remove Update checks (Continues to use subprocess Curl to bypass any security issues on older Mac/OSXs)
| Released on: | July 14, 2018 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
![]()
Changelog: - Fix for IP address not sticking until save - Change to HTTPS connection new standard - Change to using CURL for this and requests will fail depending on Mac and Python version (TLS 1.2 version error) - Change to implementing a CURL proc timeout
| Released on: | June 11, 2018 |
| Requires: | Indigo v7.0.2 thru v2022.2 |
| Download this release | |
![]()
Changelog: - Fix for logging not sticking - Add Triggers for Various Events - More example Images to reproduce the Tesla App - Checks if gateway offline - Change source of data - Add few more True/False for SendingtoGrid, SolarGenerating,BatteryCharging, BatteryDischarging - Ignore low level Negatives e.g -0.0
| Released on: | June 10, 2018 |
| Requires: | Indigo v5.0.0 thru v2022.2 |
| Download this release | |
![]()
Changelog:
Add Control Panel Images to github for usage Add Battery Charging State Add Grid Usage T/F State for Image selection Add kW to all given production/consumption/usage data Change to PluginStore Update Code
A Plugin for Tesla Battery Gateway - enabling you to see everything that is happening within the Tesla App, and even re-create the app on a Indigo Control Panel (images are provided to help)
eg. Grid Usage in Watts & kW Solar Generation in Watts & kW Battery Usage in Watts & kW Home Consumption in Watts & kW Grid Usage T/G Battery Charging T/F
Also informs you in Connected to Grid - so in case of Grid outages can run Action Groups - eg. turn off devices.
Further Documentation to follow - but these pictures should explain
Usage
Need Tesla Battery with standard Gateway
Set up Static IP Address for this Gateway on the same network as Indigo Server
Install Plugin from
Click the Check Connection Button

If communicating - Generate Devices button will appear Click the Generate Devices button

This will create the plugins four devices with a folder called 'Tesla Battery Gateway'
eg.



More to follow. [Not extensively tested in all conditions as - as haven't had any negative numbers as solar generation has been poor lately! ]
Glenn
| Released on: | June 9, 2018 |
| Requires: | Indigo v5.0.0 thru v2022.2 |
| Download this release | |
![]()
A Plugin for Tesla Battery Gateway - enabling you to see everything that is happening within the Tesla App.
eg. Grid Usage in Watts Solar Generation in Watts Battery Usage in Watts Home Consumption in Watts
Also informs you in Connected to Grid - so in case of Grid outages can run Action Groups - eg. turn off devices.
Further Documentation to follow - but these pictures should explain
Usage
Need Tesla Battery with standard Gateway
Set up Static IP Address for this Gateway on the same network as Indigo Server
Install Plugin from
Click the Check Connection Button

If communicating - Generate Devices button will appear Click the Generate Devices button

This will create the plugins four devices with a folder called 'Tesla Battery Gateway'
eg.



More to follow. [Not extensively tested in all conditions as - as haven't had any negative numbers as solar generation today]
Glenn
| Released on: | June 9, 2018 |
| Requires: | Indigo v5.0.0 thru v2022.2 |
| Download this release | |
First Release testing update code.