Skip to content

Repository files navigation

Buy Me A Coffee QR code

Growatt Modbus Integration for Home Assistant ☀️

HACS Badge Version Installations GitHub Issues GitHub Stars

Buy Me A Coffee

A native Home Assistant integration for Growatt solar inverters using direct Modbus RTU/TCP communication. Real-time data straight from your inverter — no cloud, no ShineWiFi, no dependency on Growatt's servers.

The documentation site covers supported models, sensor reference, inverter controls, energy dashboard setup, troubleshooting, and developer guides.


Installation

HACS (Recommended)

Install via HACS

  1. Open HACS⋮ menuCustom repositories
  2. Add URL https://github.com/0xAHA/Growatt_ModbusTCP, category: Integration
  3. Search "Growatt Modbus" in HACS → Download
  4. Restart Home Assistant
  5. SettingsDevices & ServicesAdd Integration → search "Growatt Modbus"

Manual

  1. Download the latest release and extract
  2. Copy growatt_modbus/ into config/custom_components/
  3. Restart Home Assistant and add via SettingsDevices & Services

Setup

The setup wizard runs auto-detection automatically for VPP-capable inverters. For legacy models, select the profile manually based on your inverter's power range.

Parameter TCP Serial
Host / Device IP address (e.g. 192.168.1.100) Path (e.g. /dev/ttyUSB0)
Port / Baudrate 502 9600
Slave ID 1 (usually) 1 (usually)

Documentation

Page What it covers
Supported Models Which profile matches your inverter
Auto-Detection How the profile is chosen, and how to override it
Entity Reference Every sensor and control, and what it means
Battery & Scheduling Charge/discharge limits and time-of-use periods
RS485 Gateways Which adapters work, and diagnosing one that doesn't
DTC Debugging Device type codes and profile mappings
Raising an Issue What to include so it can actually be diagnosed
Protocol Reference Register maps for V1.39, VPP and off-grid

Support


License

MIT License — see LICENSE


Thanks

This integration is built almost entirely on evidence from people's own hardware. Register maps get confirmed because someone ran a scan at two different times of day; wrong mappings get found because someone noticed a battery reading 0.0 °C and said so; whole model families get supported because someone asked Growatt for a protocol document and shared it.

Several of the most useful reports were people correcting their own earlier findings after measuring properly — which is what stopped working registers being "fixed" into broken ones.

Contributions are credited where they're used: in the release notes, in the issue each one came from, and in comments beside the registers they established. That keeps the credit attached to the thing it explains, rather than in a list that goes stale and quietly excludes whoever was added last.

If you have an inverter model or gateway that isn't well covered, a register scan is the single most useful thing you can contribute.


Made with ☀️ and ☕ by @0xAHA

About

Growatt Solar Inverter Modbus TCP integration for Home Assistant

Topics

Resources

Stars

57 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages