# Solar calculation

**URL:** <https://community.homey.app/t/solar-calculation/129469>\
**Category:** Energy\
**Created:** [February 1, 2025, 1:56pm UTC](https://community.homey.app/t/solar-calculation/129469 "2025-02-01T13:56:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ferenc\_Szasz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ferenc_szasz/32/56331_2.png) [@Ferenc\_Szasz](https://community.homey.app/u/Ferenc_Szasz)\
**Post date:** [February 1, 2025, 1:56pm UTC](https://community.homey.app/t/solar-calculation/129469/1 "2025-02-01T13:56:02Z")

</div>

I have a dual inverter setup from Huawei, the solar production takes the value only from one of them, even though I have both of them available in the properties

 ![1000033725](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d2cf1b1bb6da6289e8cecbcb2e081e4fc67de25e.jpeg)  
 ![1000033726](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03fb49b30bd9e70232dbd1094263f58408a9fd9e.jpeg)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [February 1, 2025, 3:54pm UTC](https://community.homey.app/t/solar-calculation/129469/2 "2025-02-01T15:54:31Z")

</div>

Is this an a app device or a virtual device?  
The energy dashboard only take measure\_power and meter\_power capabilities from the device - so only one yield because the others are subcapabilities then.

Easiest would be to have two devices mit these capabilities.  
If that’s not possible, exclude your device from energy.  
Then create a virtual device and use the trigger on both measurements to sum up power and meter values from both yields into a virtual device with measure\_power and meter\_power.  
Then the virtual device must be set so device class ‘solarpanel’ to show up in the dashboard.  
Thats the theoretical way. You can try if the DeviceCapabikity app offers a device class selection. Then it should work this way.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 1, 2025, 8:39pm UTC](https://community.homey.app/t/solar-calculation/129469/3 "2025-02-01T20:39:26Z")

</div>

> [@RonnyW](#):
>
> can try if the DeviceCapabikity app offers a device class selection.

It does Ronny.  
Solar panel is available to select as device class:

 ![1000042560](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fc650cf93e68e84af8d2c5c064024bdc6e2876cf.jpeg)

---

<div class="post-metadata">

**Author:** ![Markus\_Trinkner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/markus_trinkner/32/79282_2.png) [@Markus\_Trinkner](https://community.homey.app/u/Markus_Trinkner)\
**Post date:** [February 4, 2025, 2:54pm UTC](https://community.homey.app/t/solar-calculation/129469/4 "2025-02-04T14:54:06Z")

</div>

![IMG_0060](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/d/cdff9de38982e1431db108385dffd6c3eb0f3aea.jpeg)  
 ![IMG_0059](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fc316bb26b067a11705a5682a594c7fb9af7da5d.jpeg)  
I have SolarEdge inverter with battery. The power production only reports the power pruduced and consumed, but not the power stored into the battery.

Would that mean creating a VD device vs. the values reported from the app would be the solution?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [February 4, 2025, 3:18pm UTC](https://community.homey.app/t/solar-calculation/129469/5 "2025-02-04T15:18:39Z")

</div>

It depends… For solar power the capability measure\_power from the “solarpanel” device is used. If the data is stored in another capability, you will get a wrong value.

So it would be good to use this device only for grid in/out.  
Then use a VD with measure\_power for solar production.  
But this will only work if the current device doesn’t have device class ‘solarpanel’ then.

I think you should ask the app developer (ist it SolarEdge app from Edwin?)

---

<div class="post-metadata">

**Author:** ![Markus\_Trinkner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/markus_trinkner/32/79282_2.png) [@Markus\_Trinkner](https://community.homey.app/u/Markus_Trinkner)\
**Post date:** [February 4, 2025, 11:51pm UTC](https://community.homey.app/t/solar-calculation/129469/6 "2025-02-04T23:51:03Z")

</div>

Many zhanks for your response!

Yes, I am using Edwin‘s app. I will get in contact with him, but that will happen a bit later, as I am currently travelling with limited access to internet.

Again, many thanks

Markus
