This integration allows you to monitor your Sungrow inverter through Home Assistant using the Modbus protocol.
- Real-time monitoring of inverter data
- Support for multiple sensor types including:
- Active Power (W)
- Reactive Power (var)
- Apparent Power (VA)
- Power Factor
- Grid Voltage (V)
- Grid Current (A)
- Grid Frequency (Hz)
- DC Voltage (V)
- DC Current (A)
- DC Power (W)
- Temperature (°C)
- Efficiency (%)
- Daily Energy (kWh)
- Total Energy (kWh)
- Easy configuration through the Home Assistant UI
- Copy the contents of this repository to your Home Assistant's
config/custom_components/sungrow_inverter
directory:mkdir -p config/custom_components/sungrow_inverter cp -r custom_components/sungrow_inverter/* config/custom_components/sungrow_inverter/
- Restart Home Assistant.
- Add the integration through the Home Assistant UI.
The integration can be configured through the Home Assistant UI:
- Go to Configuration > Integrations
- Click on + Add Integration
- Search for "Sungrow Inverter"
- Enter the following details:
- Host/IP address of your inverter
- Username (if required)
- Password (if required)
- Click Submit
This integration has been tested with the following Sungrow inverter models:
- SH5K-20
- SH3.6K
- SH4.6K
- SH5.0K
- SH6.0K
If you encounter any issues:
- Check that your inverter is connected to your network
- Verify that the IP address is correct
- Ensure your inverter supports Modbus TCP protocol
- Check the Home Assistant logs for any error messages
- Verify that the port (default: 8080) is accessible
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.