Add battery storage and AC charge controls for Growatt MIN TL-XH#2
Open
sadegroo wants to merge 2 commits into
Open
Add battery storage and AC charge controls for Growatt MIN TL-XH#2sadegroo wants to merge 2 commits into
sadegroo wants to merge 2 commits into
Conversation
commit f81eb27 Merge: 27dbf21 5def54c Author: sadegroo <39280315+sadegroo@users.noreply.github.com> Date: Sun Mar 15 12:44:57 2026 +0100 Merge branch 'JasperE84:main' into sadegroo-home-battery commit 27dbf21 Author: Sander <39280315+sadegroo@users.noreply.github.com> Date: Sun Mar 15 12:43:58 2026 +0100 Move growatt_home_battery.yaml to project root Rename doc_img/growatt_home_battery.yaml to growatt_home_battery.yaml without content changes. This relocates the file out of the doc_img directory to simplify file paths and organization. commit f6c507e Author: sadegroo <39280315+sadegroo@users.noreply.github.com> Date: Sun Mar 15 12:39:17 2026 +0100 Enhance Growatt home battery YAML configuration Updated Growatt home battery configuration with new modbus controls and parameters, including TimeSlot1 settings and readback functionality. commit 5def54c Author: JasperE84 <jasper.e@gmail.com> Date: Thu Oct 30 21:46:02 2025 +0100 Update README for generalization of inverter models commit 2c03f6d Author: JasperE84 <jasper.e@gmail.com> Date: Thu Oct 30 21:45:20 2025 +0100 Revise README for Growatt ESPHome Modbus Integration Updated README to reflect broader compatibility with additional models. commit 3e674b0 Author: Sander <39280315+sadegroo@users.noreply.github.com> Date: Thu Oct 30 17:02:05 2025 +0100 Add Growatt home battery configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add battery storage and AC charge controls for Growatt MIN TL-XH
Summary
Adds ESPHome controls for battery-first charging, AC (grid) charging, and time-slot scheduling on the Growatt MIN 2500-6000 TL-XH hybrid inverter series. These registers allow Home Assistant automations to trigger AC charging during cheap grid tariff windows.
Background
The Growatt Modbus RTU protocol document lists two separate holding register ranges for storage/battery control:
On the MIN TL-XH, the 1000-range registers return Modbus exception 1 (Illegal Function) on any write attempt. The password/unlock mechanism described in the protocol (registers 135–138) also returns exception 1. These registers simply do not exist on TL-XH firmware.
The 3000-range registers accept writes directly without any unlock sequence.
What's added
Switches
What's changed
/(will become an error in ESPHome 2026.7.0)What's NOT changed
All existing read-only sensors (PV power, AC output, energy totals, battery SOC, grid voltage/frequency, temperatures, fault codes) are unchanged. These use input registers that were already working correctly.
Testing
Verified on a Growatt MIN 5000TL-XH:
Automation example
To AC charge during a dynamic cheap-tariff window from Home Assistant:
References