A community developer has released a Home Assistant integration for Hoymiles S-Miles Home accounts, and it is now listed in the default HACS/Marketplace catalog, so no custom repository is needed. It is unofficial and unaffiliated with Hoymiles. The latest stable release described on the project page is v0.6.0. Details come from the announcement thread and the GitHub repository.
What it does
The integration signs in to your S-Miles Home account and reads data through the Hoymiles cloud. No Node-RED or MQTT broker is required. According to the project, it offers:
- PV, grid, home load and battery power, plus battery state of charge.
- Per-module power, voltage and current where available.
- Station energy totals where supplied, plus locally calculated daily battery charge/discharge and home-consumption energy.
- Battery temperatures, operating mode and reserve SOC.
- Separate charge and discharge cutoffs, automatic-heating permission, and LED strip and display settings.
- Output-power control, but only when the cloud reports complete settings and limits. The author says validation on more devices is still needed.
The cloud caveat
This is the part to weigh. The integration relies on an undocumented cloud API, and the author warns that changes on Hoymiles’ side may affect it. Live polling follows Hoymiles’ requested interval, normally around three seconds, but module charts and battery temperatures refresh about every five minutes and settings about every 30 minutes. If the cloud is down, all readings are affected. Fully local control this is not, so treat it as monitoring first and automation second.
What to check before installing
- Your model. Development started on an HMS-2000-4WB with HiBattery. The HMS-800-2WB has confirmed model and PV readings, and one user confirmed a HiBattery 4020-X with an expansion battery. Support for every model, firmware or setting is not confirmed.
- Write controls are off by default. You enable battery and device controls in the integration options. That is a sensible default; leave them off until your readings match the app.
- Avoid editing in two places. The project advises checking the app after a change and not editing from the app and Home Assistant at the same time. Changes read current settings first and verify by readback.
- Do not use it as a billing meter. Daily calculated energy can have gaps during outages. The author’s own dashboard uses a Shelly Pro 3EM for grid metering.
If you are updating to 0.6.0
Existing installations can update without recreating the integration or its entities, but automations are not adapted for you. Battery mode sensor states now use keys such as self_consumption and time_of_use, so any template comparing against the old English text needs updating. The incorrectly mapped b2 charge-limit number and its sensor are removed, as is the obsolete raw maximum power sensor. Back up first, and check dashboards and automations that referenced them.
Our take
If you already have a Hoymiles inverter or HiBattery and want it on your Energy dashboard, this is an easy way to get there, and being in the default catalog makes it simple to install and update. If you are still choosing hardware and care about local control that survives a vendor cloud change, factor in that this path depends on an unofficial cloud connection. For existing owners, a reasonable approach is to install it read-only, compare values with the app for a week, and only then enable controls. Report problems with your integration version, HA version and device model, with serial numbers and tokens removed.
