Huawei SUN2000 Inverters
Moderator: leecollings
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Huawei SUN2000 Inverters
Hi
Last week I've had solar panels installed with a Huawei SUN2000-4.6KTL-L1 inverter.
I have a (Belgium/Fluvius) smart meter installed so I can read everything with a Youless device from the P1 port of my smart meter.
There's one value however that I would like to see extra in my Domoticz: the actual provided output power from my PV (and maybe later the Yield Today en Yield Total).
Anyone that has this running already?
Data is provided in the cloud on https://eu5.fusionsolar.huawei.com/. This can be read from an app or using a web interface. There's also an API available.
I've found this: https://github.com/wlcrs/huawei_solar/tree/develop but I have no idea how to make this work with Domoticz.
Last week I've had solar panels installed with a Huawei SUN2000-4.6KTL-L1 inverter.
I have a (Belgium/Fluvius) smart meter installed so I can read everything with a Youless device from the P1 port of my smart meter.
There's one value however that I would like to see extra in my Domoticz: the actual provided output power from my PV (and maybe later the Yield Today en Yield Total).
Anyone that has this running already?
Data is provided in the cloud on https://eu5.fusionsolar.huawei.com/. This can be read from an app or using a web interface. There's also an API available.
I've found this: https://github.com/wlcrs/huawei_solar/tree/develop but I have no idea how to make this work with Domoticz.
-
- Posts: 27
- Joined: Monday 06 January 2020 20:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 20231
- Contact:
Re: Huawei SUN2000 Inverters
Hi Sammy,
this _can_ be done, but requires some work:
1. Try to get yourself a developers account for the data which is collecting. This request MUST be submitted by the company who installed your converter.
Send an email to "eu_inverter_support<at>huawei.com" with the following:
I hereby request an openAPI user account to access the data from my inverter through the new #FusionSolar API:
System name: XXXXXXXXXXXXXXXXXX (serial no)
Username: [email protected]
Plant Name: City and adress
SN Inverter: XXXXXXXXXXXXXXXXXXXX (serial no)
You will receive an excel form to be filled and submitted by your installer (if not from them, it will be refused)
2. When te account is created you can use a (bash) script to retreive the "real-time", hourly, daily and yearly data from their website which 1 updated every 5 minutes.
Real-time is updated every 5 minutes, so it's more "almost real time"
I collect this data every 5 minutes and write it to Domoticz (real time data) en and to influx (hour, day and year) to produce nice graphs.
My scripts need some cleanup before I can share it, it's still some work in progress.
this _can_ be done, but requires some work:
1. Try to get yourself a developers account for the data which is collecting. This request MUST be submitted by the company who installed your converter.
Send an email to "eu_inverter_support<at>huawei.com" with the following:
I hereby request an openAPI user account to access the data from my inverter through the new #FusionSolar API:
System name: XXXXXXXXXXXXXXXXXX (serial no)
Username: [email protected]
Plant Name: City and adress
SN Inverter: XXXXXXXXXXXXXXXXXXXX (serial no)
You will receive an excel form to be filled and submitted by your installer (if not from them, it will be refused)
2. When te account is created you can use a (bash) script to retreive the "real-time", hourly, daily and yearly data from their website which 1 updated every 5 minutes.
Real-time is updated every 5 minutes, so it's more "almost real time"
I collect this data every 5 minutes and write it to Domoticz (real time data) en and to influx (hour, day and year) to produce nice graphs.
My scripts need some cleanup before I can share it, it's still some work in progress.
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Huawei SUN2000 Inverters
Tnx Jeroen! I've started running HASS (Home Assistant) next to Domoticz because they have a custom integration for these inverters. It reports almost everything available. It gets its data live from the inverter itself (by connecting to the inverters AP) and it's working perfectly fine over here. I use automations in HASS to send this data over MQTT to Domoticz.
-
- Posts: 3
- Joined: Tuesday 29 September 2020 20:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Huawei SUN2000 Inverters
Hi Jeroen
How does home assistant connect directly to the ap off the inverters ?
And were you able to push the data from HA to Domoticz?
How does home assistant connect directly to the ap off the inverters ?
And were you able to push the data from HA to Domoticz?
-
- Posts: 3
- Joined: Tuesday 29 September 2020 20:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Huawei SUN2000 Inverters
Hi Jeroen,
Would like to use your script
I had it all working with the API version from beginning 2021
Are you able to share some?
Would like to use your script
I had it all working with the API version from beginning 2021
Are you able to share some?
-
- Posts: 27
- Joined: Monday 06 January 2020 20:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 20231
- Contact:
Re: Huawei SUN2000 Inverters
Sammy,sammyke007 wrote: ↑Sunday 05 June 2022 9:41 Tnx Jeroen! I've started running HASS (Home Assistant) next to Domoticz because they have a custom integration for these inverters. It reports almost everything available. It gets its data live from the inverter itself (by connecting to the inverters AP) and it's working perfectly fine over here. I use automations in HASS to send this data over MQTT to Domoticz.
how do you call the API from the inverter? I'm very interested in that

Thanks a lot,
Jeroen
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Huawei SUN2000 Inverters
It's this Home Assistant integration that I'm running:JeroenG wrote: ↑Saturday 02 July 2022 17:09Sammy,sammyke007 wrote: ↑Sunday 05 June 2022 9:41 Tnx Jeroen! I've started running HASS (Home Assistant) next to Domoticz because they have a custom integration for these inverters. It reports almost everything available. It gets its data live from the inverter itself (by connecting to the inverters AP) and it's working perfectly fine over here. I use automations in HASS to send this data over MQTT to Domoticz.
how do you call the API from the inverter? I'm very interested in that. Can you share any documentation and or links?
Thanks a lot,
Jeroen
https://github.com/wlcrs/huawei_solar
-
- Posts: 3
- Joined: Tuesday 29 September 2020 20:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Huawei SUN2000 Inverters
Hi Sammy
Looks great!
Stupid question though: if HA is connected via WiFi, how do you enter the UI from HA ? Or do you use wired connection also to connect to your network and the internet?
Many thanks
Looks great!
Stupid question though: if HA is connected via WiFi, how do you enter the UI from HA ? Or do you use wired connection also to connect to your network and the internet?
Many thanks
-
- Posts: 204
- Joined: Monday 08 May 2017 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Huawei SUN2000 Inverters
My Home Assistant is connected thru LAN (ethernet) and my connection to the Huawei AP (192.168.200.1) is done via wifi. You can use a Pi or a homeserver with a wifi USB stick.
It is explained over here:
https://github.com/wlcrs/huawei_solar/w ... nverter-ap
It is explained over here:
https://github.com/wlcrs/huawei_solar/w ... nverter-ap
-
- Posts: 27
- Joined: Monday 06 January 2020 20:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 20231
- Contact:
Re: Huawei SUN2000 Inverters
I just released my first version of the script to read the production details from the huawei website. It is required to have your inverter communication with Huawei of course 
https://github.com/GoumJer/Huawei_Sun2000

https://github.com/GoumJer/Huawei_Sun2000
-
- Posts: 2
- Joined: Tuesday 28 January 2014 17:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Melun(France)
- Contact:
Re: Huawei SUN2000 Inverters
hello, i looked your code, can you explain the config file, i don't understand all params, can you comment them?JeroenG wrote: ↑Sunday 10 July 2022 15:45 I just released my first version of the script to read the production details from the huawei website. It is required to have your inverter communication with Huawei of course
https://github.com/GoumJer/Huawei_Sun2000
thank you
-
- Posts: 27
- Joined: Monday 06 January 2020 20:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 20231
- Contact:
Re: Huawei SUN2000 Inverters
Hi,
Just uploaded a more detail readme and added some more info in the .env file.
More improvements to come
Just uploaded a more detail readme and added some more info in the .env file.
More improvements to come

-
- Posts: 112
- Joined: Thursday 08 December 2022 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: ROMANIA
- Contact:
Re: Huawei SUN2000 Inverters
is anyone willing to integrate a huawei 2000 inverter in domoticz?
I don't have the necessary skills. I can pay for this service
I don't have the necessary skills. I can pay for this service
- waltervl
- Posts: 5361
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Huawei SUN2000 Inverters
Everything you need to know is here: https://github.com/GoumJer/Huawei_Sun2000
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 112
- Joined: Thursday 08 December 2022 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: ROMANIA
- Contact:
Re: Huawei SUN2000 Inverters
i made the admin user.
but if i try to login whit that new user, is not working.
in that link that i receive in the mail, from the foto atached, i can't login whit the main user and pass.
but if i try to login whit that new user, is not working.
in that link that i receive in the mail, from the foto atached, i can't login whit the main user and pass.
- Attachments
-
- link-login.jpg (77.53 KiB) Viewed 1454 times
-
- huawei domoticz.jpg (79.12 KiB) Viewed 1454 times
-
- Posts: 112
- Joined: Thursday 08 December 2022 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: ROMANIA
- Contact:
Re: Huawei SUN2000 Inverters
what is that " domain name of the management " ?
- Attachments
-
- 764a1a2b-8869-4580-88ef-e82931433607.jpeg (85.39 KiB) Viewed 1450 times
Who is online
Users browsing this forum: No registered users and 0 guests