Integration Solar inverter huawei 2000L

Hi Carlo,

I’ve been working on adding an official integration for Huawei Solar inverters to Home Assistant. I’ve reflected on your explanation since my last reaction, and I now better understand what you need to be able to read two inverters. This was indeed not possible with the existing custom components.

Would you be willing to test my upcoming official integration with your setup? I’d like to verify that my code to support multiple inverters actually works.

For who is interested, you can find the source code over here: core/homeassistant/components/huawei_solar at huawei-solar · wlcrs/core · GitHub. It automatically detects if optimizers, batteries and/or power meters are present, and makes the relevant entities available in HA.

I’ve also largely rewritten the underlying Python-library (cfr. Files · v2 · Thijs W. / HuaweiSolar · GitLab ) to reduce the number of calls to the inverter significantly. A maximum of 5 calls per inverter: one for the general registers, one for the battery registers, one for the power meter registers, one for the PV strings and one for the optimizers). This should reduce the load on the inverter and/or device running the integration.

FYI: I hope to get my integration in the core by the 2022.3-release.

5 Likes