# How to build a power consumtion report

**URL:** <https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818>\
**Category:** Questions & Help\
**Created:** [April 28, 2021, 5:00pm UTC](https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818 "2021-04-28T17:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcoZ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcoz/32/16621_2.png) [@MarcoZ](https://community.homey.app/u/MarcoZ)\
**Post date:** [April 28, 2021, 5:00pm UTC](https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818/1 "2021-04-28T17:00:59Z")

</div>

Hi to everybody,  
i own an Homey Pro and a set of Shelly device connected.  
Using meter measure capability of shelly i would like to store power consumption for last month in order to have statistic about home consumtion for my device.

i run some test using different technics and identify this 2 option:

1. easy to do but complex -  
Create a pool of flow in order to reset every month consumtion value in a virtual power device, and store months value in relative month virtual power device…i hope to be clear about my logic  
problem is how to show this value in a summary page
2. very difficult to do -  
create some homeyscript to get consumtion value from device and store in global variable, outscript should be valid to summary value but very complex to mantain

now my question: some one can help me to find if some app or other function is already present?  
thanks  
Marco

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [April 28, 2021, 5:07pm UTC](https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818/2 "2021-04-28T17:07:22Z")

</div>

something like:

> **[Power by the Hour](https://homey.app/en-gb/app/com.gruijter.powerhour/Power-by-the-Hour/)**
>
> Summarize the energy/water usage or (solar) production per hour, day, month and year. Use dynamic tariffs.

---

<div class="post-metadata">

**Author:** ![MarcoZ](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcoz/32/16621_2.png) [@MarcoZ](https://community.homey.app/u/MarcoZ)\
**Post date:** [April 28, 2021, 8:19pm UTC](https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818/3 "2021-04-28T20:19:04Z")

</div>

Exactly, i already try this app but have some problem or issue…

All device added using this app is not reach after homey reboot , i need to remove and re-add device so statistic is not real so i stop to use it.  
But i would like to have a report with this summary, is possible?

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [April 28, 2021, 10:02pm UTC](https://community.homey.app/t/how-to-build-a-power-consumtion-report/46818/4 "2021-04-28T22:02:55Z")

</div>

If you mean that Power By The Hour is in error after each reboot: I worked around this by making a flow that restarts the app 10 mins after a reboot. That solved it for me until the developer can come up with a permanent solution.

You have to enable the Power user experiment for the “System” flows to show up, you’ll find the card to restart an app there, along with the condition for Homey reboot.
