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

**URL:** <https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745>\
**Category:** Apps\
**Created:** [March 16, 2022, 8:37am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745 "2022-03-16T08:37:33Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![Nichlas\_Andersson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nichlas_andersson/32/56733_2.png) [@Nichlas\_Andersson](https://community.homey.app/u/Nichlas_Andersson)\
**Post date:** [May 16, 2023, 10:34am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/147 "2023-05-16T10:34:48Z")

</div>

Same here.

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 16, 2023, 1:05pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/148 "2023-05-16T13:05:05Z")

</div>

Can you please test this new test version [Huawei Solar | Homey](https://homey.app/a/com.huawei.solar/test/) ?

---

<div class="post-metadata">

**Author:** ![Nichlas\_Andersson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nichlas_andersson/32/56733_2.png) [@Nichlas\_Andersson](https://community.homey.app/u/Nichlas_Andersson)\
**Post date:** [May 16, 2023, 4:01pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/149 "2023-05-16T16:01:50Z")

</div>

Test version works great 👍

---

<div class="post-metadata">

**Author:** ![Yov](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yov/32/33840_2.png) [@Yov](https://community.homey.app/u/Yov)\
**Post date:** [May 18, 2023, 5:59am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/150 "2023-05-18T05:59:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Lipas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lipas/32/72447_2.png) [@Lipas](https://community.homey.app/u/Lipas)\
**Post date:** [May 18, 2023, 10:08am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/151 "2023-05-18T10:08:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 20, 2023, 8:05pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/152 "2023-05-20T20:05:25Z")

</div>

Good evening, it has been some time before I posted an update but I think this is a great one 🙂 .  
In the test version ([Huawei Solar | Homey](https://homey.app/a/com.huawei.solar/test/)), 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.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ecbc92a4af4149f019231dff6a1ff1a513abfcec.png)

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](https://github.com/jgriss/FusionSolarPy/))

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.

---

<div class="post-metadata">

**Author:** ![Ludwig\_Hallgren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ludwig_hallgren/32/10694_2.png) [@Ludwig\_Hallgren](https://community.homey.app/u/Ludwig_Hallgren)\
**Post date:** [May 21, 2023, 6:54am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/153 "2023-05-21T06:54:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [May 21, 2023, 6:54am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/154 "2023-05-21T06:54:09Z")

</div>

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. 🕶 Thank you so much, keep up the good work!

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [May 21, 2023, 6:59am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/155 "2023-05-21T06:59:28Z")

</div>

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:

 ![Skärmavbild 2023-05-21 kl. 08.55.02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a82b8d4431dce4c6cd9271d2824c360a5a5065fc.png)

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

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 21, 2023, 8:00am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/156 "2023-05-21T08:00:41Z")

</div>

> [@jseverinson](#):
>
> at 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. 🕶 Thank you so much, keep up the good work!

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

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 21, 2023, 8:03am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/157 "2023-05-21T08:03:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [May 21, 2023, 8:33am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/158 "2023-05-21T08:33:28Z")

</div>

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](mailto:notifications@athom.discoursemail.com)\>:

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 21, 2023, 7:25pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/159 "2023-05-21T19:25:13Z")

</div>

Could you please share your credentials via DM?

---

<div class="post-metadata">

**Author:** ![Wojtek\_Sawoniewicz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wojtek_sawoniewicz/32/64547_2.png) [@Wojtek\_Sawoniewicz](https://community.homey.app/u/Wojtek_Sawoniewicz)\
**Post date:** [May 22, 2023, 6:31am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/160 "2023-05-22T06:31:16Z")

</div>

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

 ![IMG_2526](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0fb33dd049c5b696fa634faebb0c465e78d220d.jpeg)

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [May 22, 2023, 6:43am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/161 "2023-05-22T06:43:51Z")

</div>

@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](https://homey.app/nl-be/app/com.huawei.solar/Huawei-Solar/test/)

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [May 28, 2023, 7:03pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/162 "2023-05-28T19:03:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [June 1, 2023, 9:44am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/163 "2023-06-01T09:44:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![reyntjensw](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reyntjensw/32/34189_2.png) [@reyntjensw](https://community.homey.app/u/reyntjensw)\
**Post date:** [June 1, 2023, 8:28pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/164 "2023-06-01T20:28:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [June 2, 2023, 1:10pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/165 "2023-06-02T13:10:13Z")

</div>

Will do!

---

<div class="post-metadata">

**Author:** ![Klaas\_G](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/klaas_g/32/77816_2.png) [@Klaas\_G](https://community.homey.app/u/Klaas_G)\
**Post date:** [June 2, 2023, 3:03pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/166 "2023-06-02T15:03:03Z")

</div>

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!

[Previous page](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745.md?page=7)

[Next page](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745.md?page=9)
