Integration with sungrow_http_config.
This integration will set up the following platforms.
Platform | Description |
---|---|
switch |
Switch Sungrow Export Limit on or off |
number |
Control the export limit value in watts |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledsungrow_export_limit
. - Download all the files from the
custom_components/sungrow_export_limit/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Integration blueprint"
During setup, you will need to provide:
- Host: The IP address or hostname of your Sungrow inverter
- Export Limit: The export limit value in watts (e.g., 500W = 500)
- Connection Mode: Choose between "modbus" or "http" (default) connection methods
After installation, you'll have two entities for each Sungrow inverter:
- Switch Entity: Turns the export limit on or off. When turned off, the inverter will not limit export power.
- Number Entity: Controls the export limit value in watts. This value is only applied when the switch is on. The minimum value is 10 watts (1 dekawatt), as the inverter does not accept lower values.
You can adjust the export limit value at any time using the number entity. The new value will be applied immediately if the switch is on, or will be applied the next time the switch is turned on.
Note: Setting an export limit of 0 dekawatts in the underlying module will result in the export limit being disabled. The minimum export limit is therefore 1 dekawatt (10 watts).
If you want to contribute to this please read the Contribution guidelines