[APP][Pro] Huawei Solar - Smart energy for a better life

Same here.

Can you please test this new test version Huawei Solar | Homey ?

Test version works great :+1:

Stil nothing here, i cant acces my device do i need to reinstall?

2 Likes

I have the same problem. Before logging in on Homey, do I need to change something in webintarface settings on Huawei FusionSolar webservice?

Good evening, it has been some time before I posted an update but I think this is a great one :slight_smile: .
In the test version (Huawei Solar | Homey), there is a new authentication method added web. As the word suggests this method is using the web authentication so the api integration can be left behind.

But important to know is that not all values are there yet, but I’ll fill them in when I find them.

The change is based on the code of FusionSolarPy (GitHub - jgriss/FusionSolarPy: A basic client to the Huawei Fusion Solar cloud interface for solar power plants)

EDIT: for now, this only works with region01eu5, I’m working on an integration for the other regions as well.
To determine the region, please log in into the web interface and you will find it in the url after login.

All feedback is welcome.

Does this mean you will not support the API going forward?

This is awesome, thank you Wouter. I am trying this at once.

That library seems to make available all the data points you and I chatted about earlier in this thread, that I could see were available in the JSON response on the FusionSolar web interface, namely:

  • totalBuyPower: Total kWh bought from the grid today.
  • totalProductPower: Total kWh produced by the PV today.
  • totalUsePower: Total kWh used today.
  • totalOnGridPower: Total kWh returned to the grid today.

Makes me so happy. Finally I can extract all the data I need to properly calculate ROI on the installation. :sunglasses: Thank you so much, keep up the good work!

I’m getting an error message upon trying to add a Web device. I guessed it was appropriate to use the regular login credentials? The API credentials give an error message of incorrect credentials, where as the regular login gives this error message:

I removed the old device before adding the new one, just in case.

Correct, this new method has some bugs, but once these are fixed, the API part will go EOL.
The usage of the API is to unstable and I get to many support requests where Huawei is not able to help out

@jseverinson Can you check your region when you login into the website?
For now only region01eu5 is supported, I need to fix this.

Ah. Then this is the reason, I am positioned in region 2. Let me know when you’ve had time to add region selector and I’ll test again.

sƶn 21 maj 2023 kl. 10:13 skrev Wouter Reyntjens via Homey Community Forum <notifications@athom.discoursemail.com>:

Could you please share your credentials via DM?

hi, have you had this problem? I have installations from 2021, connected to the fusion solar app, unfortunately I can’t search for it in homey. can you help

@Wojtek_Sawoniewicz please don’t use this method anymore, it will go End Of Life in a couple of weeks.
Please try the new test version Huawei Solar | Homey

Hey Wouter, just wanted to check if you saw my DM?

Hey Wouter, just want to feed back that the web integration works like a charm also in region2. Great work!

If I can add a request for the future backlog, now that you can access all the endpoints from the web interface, it would be to be able to adjust TOU settings, and to force discharge of battery. This would allow automation in Homey that is based on the electricity prices.

For the battery discharge, it is set with a duration of either time (minutes) or energy (kWh). It seems to be these endpoints:

/rest/pvms/web/device/v1/deviceExt/get-config-signals
/rest/pvms/web/device/v1/deviceExt/set-config-signals

Can you create an issue on Github for this?
I can take a look but to be very honest, it will not have a high prio.

Will do!

Hi wouter,
I juist installed the app on my Homey pro 2023. My attempt to Connect to my system via the web option returns no visible devices. I’m on the region 3 server so I assume this is the issue and need to have some patience until you get it up and running for all regions?
Thanks in advance for your support!