This automation is executed within Home Assistant, configured to control a Hoymiles inverter via Open DTU, ensuring seamless connection and operational efficiency. The automation is specifically designed for use with a Zendure SolarFlow Hub 1200, an AB2000 Battery, and two solar panels, each with a capacity greater than 400 Wp. However, it can be adapted to fit the size of your installation. Its main objective is to prioritize battery charging, maximizing energy storage before directing excess energy elsewhere.
The automation serves as a template, offering a foundational structure that users should customize to align with their system's specific requirements and energy goals. As a work in progress, users are encouraged to modify and enhance the automation to meet their changing needs.
Your feedback and enhancements are highly valued. Contributing to this project can aid in its improvement, benefiting a broader community interested in optimizing their solar energy systems with Home Assistant.
Please use this code cautiously, recognizing the responsibility to adjust and validate it for your setup. The author assumes no liability for any discrepancies, inefficiencies, or potential damages arising from the use of this automation. Conduct thorough testing in your environment to confirm the automation's effectiveness and safety before full integration into your energy management system. Please note that this automation, including all associated components and configurations, is provided as a general guide and should be adapted and used in accordance with the specific requirements of your hardware and energy system. Before implementing this automation into your Home Assistant setup, ensure that you comply with all local, state, provincial, national, and international laws and regulations. It is your responsibility to ensure that your use of Home Assistant and any related devices or integrations adheres to all applicable legal standards and safety requirements. The author and contributors of this guide bear no responsibility for any legal issues, damages, or compliance failures that arise as a result of using this automation. Always consult with a professional or legal advisor if you are unsure about the legality and safety of your modifications in your area.
-
Integrate Your Solarflow Data into Home Assistant:
Follow the instructions in this guide (in German) to integrate MQTT data from your Solarflow device into Home Assistant: Integrating Zendure Solarflow Superbase into Home Assistant. -
Access Your Hoymiles Inverter:
Ensure access to your Hoymiles inverter via openDTU. For more information, visit openDTU. -
Read Data from Your Smart Meter via Tasmota:
To accurately monitor and manage your energy consumption and production, ensure you are reading data from your smart meter using Tasmota. This allows for effective integration and usage within your Home Assistant setup. Learn more about setting up a smart meter interface with Tasmota here. -
Add "PV Maximum Limit" to your configuration.yaml
-
Add and adopt the Automation
-
And then... Profit!