This is a Linux bash script to control the output limit of Growatt 600 TL-X Inverter. This can be used for 'near zero' power injection to public grid. It will adapt the maximum power output of the inverter, related to current power usage by changing register 3 of the inverter. This is useful if you don't want to inject too much electric power to public grid, especially if you have a battery connected and use it during dark time. You can also switch inverter off or on.
Use the script only on your own risk. The author will not take any responsibility for damaged/bricked devices, damages on your solar power devices and installation nor for the functionality of the script! It has been tested and is used on my own hardware without any problems.
- 2-way electric meter (optional: just for measuring current power usage what can be done on other ways as well)
- hichi read head for meter (optional: just for measuring current power usage what can be done on other ways as well)
- Home Assistant Installation (optional: just for controlling script execution)
- Shine WiFi-X WLAN Adapter with alternate firmware connected to inverter (OpenInverterGateway)
- ENABLE_MODBUS_COMMUNICATION needs to be set when compiling firmware (could be security risk)
- The inverter will change output limit really slowly. This could be the case because of legal regulations in Germany. No matter but it works :)
- adapt variable inside the script (OUTPUT_MAX=600 for 600TL-X)
- set variable INVERTER_IP_ADDRESS and adapt the IP of the Inverter
- make the file executeable (chmod)
- run it: "./invctrl.sh <current-power-consumption|off|on>"