Tesla Battery  

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: v0.9.0 released on April 13, 2024
Requires: Indigo v2022.1.0 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.1.5

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

  1. Need Tesla Battery with standard Gateway

  2. Set up Static IP Address for this Gateway on the same network as Indigo Server

  3. Install Plugin from

https://github.com/Ghawken/TeslaBatteryPlugin/releases/

  1. Go to Plugin Config - enter the Gateway IP Address

Click the Check Connection Button

https://preview.ibb.co/gRY358/Plugin_Config.png

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

https://image.ibb.co/b3FuCo/Plugin_Config_Generate_Devices.png

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

eg.

https://preview.ibb.co/mHbqk8/Device_Meters.png

https://preview.ibb.co/bUPMso/Devices.png

https://preview.ibb.co/hpwedT/Devices_Grid_Status.png

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

Release details
Released on: April 13, 2024
Requires: Indigo v2022.1.0+
Changes in this release

0.9.0

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

0.8.,11

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

Release details
Released on: Oct. 16, 2023
Requires: Indigo v2022.1.0+
Changes in this release

Python 3 Version

0.8.11

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

Release details
Released on: June 17, 2021
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

0.7.9

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)

Release details
Released on: Jan. 5, 2021
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

0.6.5

Fix for battery percent not entered.

Release details
Released on: Nov. 1, 2020
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.6.4

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.

Release details
Released on: Oct. 20, 2020
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.5.7

Fix for missing site info data In particular missing solar info, but checks for all missing for future issues

Release details
Released on: Aug. 14, 2020
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.5.6

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

Release details
Released on: June 16, 2019
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.3.9

For Telsa Battery Software 1.20.0+ (currently 1.37.1)

Not backward compatible

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)

Release details
Released on: July 14, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.3.5

For Telsa Battery Software 1.20.0 (being rolled out currently)

Not backward compatible

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

Release details
Released on: June 11, 2018
Requires: Indigo v7.0.2 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.1.5

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

Release details
Released on: June 10, 2018
Requires: Indigo v5.0.0 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

https://image.ibb.co/jQZnXo/icon.png

Release 0.1.5

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

  1. Need Tesla Battery with standard Gateway

  2. Set up Static IP Address for this Gateway on the same network as Indigo Server

  3. Install Plugin from

https://github.com/Ghawken/TeslaBatteryPlugin/releases/

  1. Go to Plugin Config - enter the Gateway IP Address

Click the Check Connection Button

https://preview.ibb.co/gRY358/Plugin_Config.png

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

https://image.ibb.co/b3FuCo/Plugin_Config_Generate_Devices.png

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

eg.

https://preview.ibb.co/mHbqk8/Device_Meters.png

https://preview.ibb.co/bUPMso/Devices.png

https://preview.ibb.co/hpwedT/Devices_Grid_Status.png

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

Release details
Released on: June 9, 2018
Requires: Indigo v5.0.0 thru v2022.2
Changes in this release

Tesla Battery Plugin for IndigoDomo

Release 0.0.9

https://image.ibb.co/jQZnXo/icon.png

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

  1. Need Tesla Battery with standard Gateway

  2. Set up Static IP Address for this Gateway on the same network as Indigo Server

  3. Install Plugin from

https://github.com/Ghawken/TeslaBatteryPlugin/releases/

  1. Go to Plugin Config - enter the Gateway IP Address

Click the Check Connection Button

https://preview.ibb.co/gRY358/Plugin_Config.png

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

https://image.ibb.co/b3FuCo/Plugin_Config_Generate_Devices.png

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

eg.

https://preview.ibb.co/mHbqk8/Device_Meters.png

https://preview.ibb.co/bUPMso/Devices.png

https://preview.ibb.co/hpwedT/Devices_Grid_Status.png

More to follow. [Not extensively tested in all conditions as - as haven't had any negative numbers as solar generation today]

Glenn

Release details
Released on: June 9, 2018
Requires: Indigo v5.0.0 thru v2022.2
Changes in this release

Telsa Battery Gateway Indigo Plugin

First Release testing update code.