growatt-load-shifter is a Python script that sends an API call when batteries are fully charged, enabling control over various loads. It's a versatile solution for managing energy usage.
This script retrieves data from a local InfluxDB, which can be filled with data from tools like Grott for local data logging. Alternatively, you can use growattServer, which fetches data directly from Growatt servers. Keep in mind that Growatt's API may change, which could affect compatibility. Grott, while more complex to set up, offers stability and reliability once configured.
- Configure your InfluxDB connection and load control scripts in the script's configuration file.
- Install dependecies (not that many)
- Run the script
python3 growatt_shifter/main.py
The current version of the script supports Sonoff switches using the Node.js package ewelink-api. However, this script can be easily customized to work with other scripts, making it adaptable for controlling a wide range of loads.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to Grott and growattServer for their effort for data extraction and collection.