Hello Home Assistant community!
I’m excited to share a new custom integration I’ve developed for Hoymiles Cloud, focusing specifically on HYT inverters with battery storage systems.
Why I created this
My primary motivation was the lack of existing integrations that could properly control battery settings for Hoymiles systems. While some monitoring solutions exist, none provided direct control over the battery operating modes and reserve SOC levels.
Additionally, I wanted a native Home Assistant integration rather than relying on MQTT bridges or external solutions. This provides a much cleaner setup with proper entities and services.
Key Features
- Complete monitoring of your solar production, battery status, and energy flows
- Full battery mode control - switch between:
- Self-Consumption Mode
- Economy Mode
- Backup Mode
- Off-Grid Mode
- Peak Shaving Mode
- Time of Use Mode
- Specialized settings for each mode (e.g., reserve SOC, max SOC, meter power)
Battery Control Capabilities
The standout feature is the ability to control battery parameters that aren’t available in other integrations:
- Change operating modes through a dropdown selector
- Adjust reserve SOC for each operating mode
- Configure Peak Shaving Mode parameters (max SOC, meter power)
Installation
You can install through HACS by adding my repository as a custom repository:
https://github.com/Philra94/homeassistant-hoymiles-cloud
Current Status
This is the first version focused on core functionality. It successfully reads data and controls all battery modes, but I’m still working on expanding the integration with more sensors and configuration options.
Contributions Welcome
The code was developed with AI assistance, so while functional, there’s room for improvement. I welcome any recommendations, bug reports, or contributions from the community!
Feedback
If you have a Hoymiles system, especially HYT inverters with batteries, please give it a try and let me know your thoughts. I’d love to know if it works for your setup or if you encounter any issues.
Repository: homeassistant-hoymiles-cloud
Happy solar monitoring and battery optimizing!