Upstream development version of the Growatt Server integration for Home Assistant.
This repository serves as an upstream testing ground for improvements to the Growatt Server integration before they are submitted to Home Assistant Core. From version 1.5.0 it should be compatible with the Growatt BESS (Battery Energy Storage System) Manager
Base Version: Home Assistant Core 2025.9.0 Growatt Server integration
Changes from Base Version:
manifest.jsonupdated for custom component distribution- API Token authentication support - Official V1 API for MIN/TLX devices
- MIN inverter control - Number and switch entities for controlling inverter settings
- Adds 5 min rate limit to login to prevent account locking - aims to fix account locking issue
- Fixed sensor naming issue - Sensors now display proper translated names instead of generic device class names
- Fixed timezone handling in API throttling - Fixed bug that could cause very long throttling times (500 minutes)
- Enhanced TLX sensor coverage - Added 14 new sensors for power and energy monitoring
- Proper implementation of read / write Time Of Use (TOU) settings using service calls:
growattserver.read_time_segments, growattserver.update_time_segment
When using token authentication with MIN/TLX inverters, you get:
Number Entities (0-100%):
- Charge power
- Charge stop SOC
- Discharge power
- Discharge stop SOC
Switch Entities:
- AC charge enable/disable
All control entities provide real-time feedback and proper error handling.
Added 14 new sensors for power and energy monitoring:
Power Flow Monitoring:
- Solar generation today
- Local load power, import power, export power
- System power, self power
Energy Accounting:
- System production (today/total)
- Self-consumption (today/total)
- Grid import/export (today/total)
- Battery charging from grid (today/total)
These sensors provide complete visibility into energy flows and system performance for TLX/MIN inverters.
Note: Remove the core Growatt Server integration first to avoid conflicts.
- Open HACS in Home Assistant
- Go to "Integrations"
- Click the 3-dot menu → "Custom repositories"
- Add repository URL:
https://github.com/johanzander/growatt_server_upstream - Select category: "Integration"
- Click "Add"
- Search for "Growatt Server Upstream" in HACS
- Click on it and select "Download"
- Restart Home Assistant
- Go to Settings → Devices & Services
- Click "Add Integration"
- Search for "Growatt Server Upstream"
- Follow the configuration steps
- Download the
custom_componentsfolder - Copy to your Home Assistant
config/custom_components/directory - Restart Home Assistant
Contributions welcome! Create feature branch, implement changes, test thoroughly, submit PR. All contributions considered for submission back to Home Assistant Core.
To enable debug logging for troubleshooting issues, add the following to your Home Assistant configuration.yaml:
logger:
default: info
logs:
custom_components.growatt_server: debugAfter adding this configuration:
- Restart Home Assistant
- Reproduce the issue
- Check the logs in Settings → System → Logs or in your
home-assistant.logfile - Include relevant log entries when reporting issues
- 🐛 Issues: GitHub Issues
- 📖 Documentation: Home Assistant Docs