# \[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:** 6

<div class="post-metadata">

**Author:** ![PO\_Blomstrand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/po_blomstrand/32/12476_2.png) [@PO\_Blomstrand](https://community.homey.app/u/PO_Blomstrand)\
**Post date:** [March 15, 2023, 1:12pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/103 "2023-03-15T13:12:51Z")

</div>

Would be nice if we could have the units fixed. “Daily yield”, “Monthly yield”, “Total power” are all kWh not kW. And “Installed capacity” should be kWp. Cosmetics perhaps but anyway…

I am on 1.0.44

---

<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:** [March 15, 2023, 7:37pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/104 "2023-03-15T19:37:20Z")

</div>

A new version will be released somewhere tomorrow with these fixes

---

<div class="post-metadata">

**Author:** ![PO\_Blomstrand](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/po_blomstrand/32/12476_2.png) [@PO\_Blomstrand](https://community.homey.app/u/PO_Blomstrand)\
**Post date:** [March 20, 2023, 9:39am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/105 "2023-03-20T09:39:40Z")

</div>

Thanks for the updated units. Strange that “Installed capacity” still show kWh although Your code in app.json says kWp. How come??

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [March 27, 2023, 10:01am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/106 "2023-03-27T10:01:42Z")

</div>

Hello, first of all, thank you very much for all that you contribute.

I wanted to ask if you can help me with this problem.

I have my Huawei inverter account created with Nortbound to be able to access it from Homey with my OpenApi account.

But the Homey app won’t let me log in, it returns the following error.

 ![IMG_1452 2.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/8/384346ddfd92ea511ea91e602e1f50c4f87dfb3b.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:** [March 27, 2023, 10:14am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/107 "2023-03-27T10:14:46Z")

</div>

Good afternoon

Can you send me a diagnostics report please? [Huawei Solar - #70 by Peter\_Kawa](https://community.homey.app/t/huawei-solar/61745/70)

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [March 27, 2023, 10:17am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/108 "2023-03-27T10:17:29Z")

</div>

b73a098f-ccc6-47e8-b90d-7c708fa602f0

---

<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:** [March 27, 2023, 10:20am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/109 "2023-03-27T10:20:53Z")

</div>

The logs show that there are no systems linked to your account. ([Huawei Solar - #82 by Jorgen\_Gothefors](https://community.homey.app/t/huawei-solar/61745/82))  
Can you double check with your installer or execute the api requests to see what comes out?

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [March 27, 2023, 10:25am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/110 "2023-03-27T10:25:42Z")

</div>

Im using postman to check:  
Login seems to be ok…

 ![Screenshot 2023-03-27 at 11.26.32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/7548d819a822c4fe6689864190e2380030f85cea.png)

 ![Screenshot 2023-03-27 at 11.27.59](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/762ffd64d91ae24132786025093229d329df5d95.png)

But when Im trying to checkplants …  
I copied the token of login and then paste in the the checkplant list

 ![Screenshot 2023-03-27 at 11.27.49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/1/c15f1261a7cc1ad2c1bc0b4f54c9a426c1925c74.png)

The API is in the Northbound:

 ![Screenshot 2023-03-27 at 12.28.29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/3055b4a898285e9458c7d7c172f7add615abbc4e.png)

---

<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:** [March 27, 2023, 11:09am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/111 "2023-03-27T11:09:52Z")

</div>

In your first screenshot, it says **data:null** , that is the issue why no systems can be found.  
The only thing you can do is to contact Huawei to see what is going on, this is the only advice I can give.

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [March 27, 2023, 11:15am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/112 "2023-03-27T11:15:22Z")

</div>

But in manual it seems to be ok with … null in data:

 ![Screenshot 2023-03-27 at 13.14.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/989f509ea0af0fef34af91d900bdeffeb4e9681a.jpeg)

another example of Huawei:

 ![Screenshot 2023-03-27 at 13.16.56](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/47f1240db2f2b67e34f7b6af19814e2708493038.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:** [March 27, 2023, 11:30am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/113 "2023-03-27T11:30:49Z")

</div>

You are correct, it is the second one, the **getStationList** that needs to return a value.

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [March 27, 2023, 11:44am UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/114 "2023-03-27T11:44:12Z")

</div>

I don’t know what else to do, I’ve written to Huawei but they’re not responding… it’s frustrating.

I’m an engineer in renewable energies and energy efficiency. One of my main reasons for buying the Homey Pro 2023 was the Huawei Solar App to automate several things at home and the charging of my car… and I find myself at a dead end right now with this problem…

---

<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:** [March 27, 2023, 12:29pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/115 "2023-03-27T12:29:15Z")

</div>

I understand your frustration, this is also frustrating to me to not being able to help you further.  
In some cases Huawei is solving the issues but they don’t come back with how they have solved the issue. (what would help others)

The only thing I can suggest is stalking them, if they don’t respond maybe create a new case.

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [April 4, 2023, 5:00pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/118 "2023-04-04T17:00:46Z")

</div>

Good afternoon, finally talking to Huawei, I have access to the API data, which I previously mentioned I had trouble accessing.

Through the API with POSTMAN, I can access all the data, but now the problem is that in the Huawei Solar app, when I enter the API login, it returns the error I mentioned before.

null is not an object (evaluating ‘devices.lenght’)

How can this error be solved? What could be the problem if I now have access to all the data from the API through POSTMAN?

 ![IMG_1564.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce1f43cf7a7d87561cd75c9df6f7ae6d70b0677d.jpeg)  
 ![IMG_1565](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96c6d8f167b736c04a1985ff1701bd5e2c0698a6.png)  
 ![IMG_1566.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f103aa0b20df0d2922d0abbc27b1105d84ac8e0a.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:** [April 4, 2023, 5:46pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/119 "2023-04-04T17:46:39Z")

</div>

Hi Alva

Can you show me the result of the **getDevList** call you do in postman?  
I’m guessing that the issue is located there.

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [April 4, 2023, 6:15pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/120 "2023-04-04T18:15:15Z")

</div>

Yeah, This is the screencapture of Postman

 ![Screenshot 2023-04-04 at 20.12.37](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/9840c32f4d4683744f9db9c7c7aa0038f27434ad.png)

---

<div class="post-metadata">

**Author:** ![MrMartins](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mrmartins/32/71772_2.png) [@MrMartins](https://community.homey.app/u/MrMartins)\
**Post date:** [April 5, 2023, 10:03pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/122 "2023-04-05T22:03:22Z")

</div>

Hi Alva,

Can you show me how did you manage to get API data?

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [April 6, 2023, 3:42pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/123 "2023-04-06T15:42:38Z")

</div>

Yeah…

In Postman:

Login: [https://eu5.fusionsolar.huawei.com/thirdData/login](https://eu5.fusionsolar.huawei.com/thirdData/login)  
I copied token ad paste it in headers in the next step to get stations list.

Staton list: [https://eu5.fusionsolar.huawei.com/thirdData/stations](https://eu5.fusionsolar.huawei.com/thirdData/stations)  
Copyinging station code for the next step

Get realtime data: [https://eu5.fusionsolar.huawei.com/thirdData/getStationRealKpi](https://eu5.fusionsolar.huawei.com/thirdData/getStationRealKpi)

Get devlist you need Token and station code: [https://eu5.fusionsolar.huawei.com/thirdData/getDevList](https://eu5.fusionsolar.huawei.com/thirdData/getDevList)

> [@MrMartins](#):
>
> Can you show me how did you manage to get API data?

---

<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:** [April 6, 2023, 4:50pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/124 "2023-04-06T16:50:18Z")

</div>

I think the issue is that you don’t get the correct devices (or at least to few of them). If the output is only 2 devices, that is to few.

I think the app needs a meter, an inverter, a power sensor. You can see the values here

> <https://github.com/reyntjensw/Homey-FusionSolar/blob/ed4af4ef7948172163d7d23e58cc4cb73e87f601/drivers/luna/api.js#L111>

---

<div class="post-metadata">

**Author:** ![Alva](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alva/32/65933_2.png) [@Alva](https://community.homey.app/u/Alva)\
**Post date:** [April 6, 2023, 4:59pm UTC](https://community.homey.app/t/app-pro-huawei-solar-smart-energy-for-a-better-life/61745/125 "2023-04-06T16:59:37Z")

</div>

I have two devices, Im an enginner and a official installer. In Spain no more devices are installed, unless you install a battery. We have only these two:

1. The inverter Huawei 6kW
2. A Huawei smart power sensor HUAWEI DDSU666-H

I don’t know what the problem is exactly, since with both devices we get all the data.

Is there anything that I can help the developer to extend or improve the app for these cases?

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

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