# Home Energy Dashboad showing Solarpanel but adds as consumption

**URL:** <https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109>\
**Category:** Questions & Help\
**Tags:** energy, dashboard, homey-pro, homey-bridge\
**Created:** [February 28, 2024, 10:51am UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109 "2024-02-28T10:51:02Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Norman\_Hamann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/norman_hamann/32/81558_2.png) [@Norman\_Hamann](https://community.homey.app/u/Norman_Hamann)\
**Post date:** [March 6, 2024, 4:28pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/21 "2024-03-06T16:28:16Z")

</div>

this works

 ![1000044335](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f48991dd10f79e809b50f383543e5a775f284ebf.png)

solar has to be the device class under advanced settings.  
anything else will mean under normal options you get to select device type: solar panels… but that doesnt show it under the outer circle

---

<div class="post-metadata">

**Author:** ![Bart\_Fokkens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_fokkens/32/80576_2.png) [@Bart\_Fokkens](https://community.homey.app/u/Bart_Fokkens)\
**Post date:** [March 6, 2024, 4:33pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/22 "2024-03-06T16:33:37Z")

</div>

Ok,  
where do they need to change it to? Is there a special text or script they need to apply?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 6, 2024, 4:56pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/23 "2024-03-06T16:56:37Z")

</div>

They should know how. Basically, need to change the device class to ‘solarpanel’ in the device .json file.

---

<div class="post-metadata">

**Author:** ![Bart\_Fokkens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_fokkens/32/80576_2.png) [@Bart\_Fokkens](https://community.homey.app/u/Bart_Fokkens)\
**Post date:** [March 7, 2024, 10:51am UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/24 "2024-03-07T10:51:30Z")

</div>

Hello Adrian,

Is it possible to make an option in the energy dashboard to put sockets as a virtual solarpanel so the view is right?

Best regards,

---

<div class="post-metadata">

**Author:** ![Norman\_Hamann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/norman_hamann/32/81558_2.png) [@Norman\_Hamann](https://community.homey.app/u/Norman_Hamann)\
**Post date:** [March 7, 2024, 11:35am UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/25 "2024-03-07T11:35:42Z")

</div>

yes the community AVM Fritzbox app allows that. if other plugs etc are used that dont have that option it would be good if the panel allows to select what goes where. else each App provider needs to Integrate this change

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 7, 2024, 12:04pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/26 "2024-03-07T12:04:35Z")

</div>

You would have to ask Athom that as I have no control over it.  
ATM it’s down to the app to set the correct device class.

---

<div class="post-metadata">

**Author:** ![Bart\_Fokkens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_fokkens/32/80576_2.png) [@Bart\_Fokkens](https://community.homey.app/u/Bart_Fokkens)\
**Post date:** [April 12, 2024, 7:14am UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/27 "2024-04-12T07:14:51Z")

</div>

Hello Adrian,

It works now!

---

<div class="post-metadata">

**Author:** ![Matthias\_Konenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matthias_konenberg/32/78907_2.png) [@Matthias\_Konenberg](https://community.homey.app/u/Matthias_Konenberg)\
**Post date:** [December 7, 2024, 7:44pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/28 "2024-12-07T19:44:19Z")

</div>

Hallo Adrian, that looks very interesting. How did you integrate the battery as Smartmeters? I would also be interested in the grid. Unfortunately, I have not received an answer from the developer of the inverter app. Is it possible to supply a virtual device with data and name the class as a smart meter?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [December 7, 2024, 8:23pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/29 "2024-12-07T20:23:39Z")

</div>

I’m not sure I can answer that as I haven’t really used virtual devices, so I don’t know what is available.  
I will need to look back at the code to answer the battery question as it was a while ago when I did that.

---

<div class="post-metadata">

**Author:** ![Matthias\_Konenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matthias_konenberg/32/78907_2.png) [@Matthias\_Konenberg](https://community.homey.app/u/Matthias_Konenberg)\
**Post date:** [December 7, 2024, 8:32pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/30 "2024-12-07T20:32:06Z")

</div>

That would make me very happy!

the whole energy management of Homey is actually useless for me as long as you can’t define virtual devices as smart meters. Most batteries are connected to the DC side directly to the inverters and can only be measured with high technical effort. The inverter simply gives the value, but the device is defined as a solar panel class.

I would be very happy about your feedback 😅👍

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [December 7, 2024, 8:42pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/31 "2024-12-07T20:42:32Z")

</div>

When I created the Sofar app I decided to split the capabilities into those device groups (inverter, grid, battery and solar panel) specifically to make it work with Homey’s energy panel. My first attempt created one device, but I soon found that was not going to work, so I split them up. It took me a while to work out the various settings and value polarity to get the correct results in the energy tab.  
Since I wrote the app, Athom have introduced new settings, so there might be other ways to do it now, but thankfully my choices are still valid.

---

<div class="post-metadata">

**Author:** ![Matthias\_Konenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matthias_konenberg/32/78907_2.png) [@Matthias\_Konenberg](https://community.homey.app/u/Matthias_Konenberg)\
**Post date:** [December 7, 2024, 9:22pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/32 "2024-12-07T21:22:57Z")

</div>

That sounds fantastic. Can’t you turn your app into a virtual one where the values are filled via variables? 😅

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [December 7, 2024, 9:40pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/33 "2024-12-07T21:40:39Z")

</div>

Haha, interesting concept, but home life is a bit hectic at the moment so I’m struggling to keep up with my current apps.

---

<div class="post-metadata">

**Author:** ![Matthias\_Konenberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matthias_konenberg/32/78907_2.png) [@Matthias\_Konenberg](https://community.homey.app/u/Matthias_Konenberg)\
**Post date:** [December 7, 2024, 9:51pm UTC](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109/34 "2024-12-07T21:51:39Z")

</div>

Absolutely no problem! 🙂 I need to Build up developer skills 😂

[Previous page](https://community.homey.app/t/home-energy-dashboad-showing-solarpanel-but-adds-as-consumption/105109.md?page=1)
