# \[APP\]\[Pro\] Power by the Hour: Insights per hour, day, month and year

**URL:** <https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [November 10, 2019, 10:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535 "2019-11-10T22:06:03Z")\
**Posts on this page:** 20\
**Page:** 8

<div class="post-metadata">

**Author:** ![paaland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paaland/32/26023_2.png) [@paaland](https://community.homey.app/u/paaland)\
**Post date:** [October 7, 2020, 7:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/144 "2020-10-07T07:20:44Z")

</div>

I keep getting negative values. The first screenshot is of PowerByTheHour showing I’ve used -48 kWh so far today (I don’t have anything generating energy). The second screenshot is from my power meeter’s own app showing I’ve used 36.9 kWh so far today.

 ![Screenshot_20201007-090934](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b2ab07b8183cc856b40d86ceb46fa4fdc0072826.jpeg) ![Screenshot_20201007-091007](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ede29e2283c8643c0cffa0df65d648a055fe10d9.jpeg)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 7, 2020, 7:24am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/145 "2020-10-07T07:24:49Z")

</div>

The app needs a cumulative meter\_power. If e.g. your power device resets the meter\_power to 0 each day, it wont work.

What power device/app are you using?

---

<div class="post-metadata">

**Author:** ![paaland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paaland/32/26023_2.png) [@paaland](https://community.homey.app/u/paaland)\
**Post date:** [October 7, 2020, 7:29am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/146 "2020-10-07T07:29:14Z")

</div>

Pulse from Tibber. Had a look in insights and you are correct. The value is reset at midnight.  
Any possibility you could add that as a setting and use the max/last value each day for the month/year calculations?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6c5353818a596219bfa2d55e463f5a128d88d4ed.jpeg)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 7, 2020, 7:32am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/147 "2020-10-07T07:32:26Z")

</div>

I will have another look at that. I have looked at if before, but it is not easy to implement something that works for all scenarios, especially with power generating meters.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 8, 2020, 7:49am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/148 "2020-10-08T07:49:19Z")

</div>

By the way @paaland I already have a manual setting for daily reset in the advanced device settings. I forgot to ask and assumed you already tried that. If not, can you please try if the present functionality already works for you?

Thx!

---

<div class="post-metadata">

**Author:** ![paaland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paaland/32/26023_2.png) [@paaland](https://community.homey.app/u/paaland)\
**Post date:** [October 8, 2020, 8:45am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/149 "2020-10-08T08:45:27Z")

</div>

Wow, I did not see that. I’ve turned it on and we’ll see tomorrow how it works.

---

<div class="post-metadata">

**Author:** ![Bug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bug/32/16493_2.png) [@Bug](https://community.homey.app/u/Bug)\
**Post date:** [October 13, 2020, 4:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/150 "2020-10-13T16:06:53Z")

</div>

Hi @Gruijter, i am adding a P1 meter to the power by the hour but while i can add the gas i am unable to add the power. this may be due to the metrics that are provided by the dual tariff meter and the output that is stored by the homewizzard energy app that is on my homey. Is there a way to add the dual tariff meters as well as the total energy that is delivered by the previously mentioned app?  
thanks for your efforts!!  
Kind Regards, J

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 13, 2020, 5:01pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/151 "2020-10-13T17:01:57Z")

</div>

Hi @paaland, does it work ok?

---

<div class="post-metadata">

**Author:** ![paaland](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paaland/32/26023_2.png) [@paaland](https://community.homey.app/u/paaland)\
**Post date:** [October 13, 2020, 6:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/152 "2020-10-13T18:27:25Z")

</div>

Yes, it seems to work now. My main meeter for the whole house resets every night and turning that setting on seems to work fine. Thank you.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 13, 2020, 7:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/153 "2020-10-13T19:33:30Z")

</div>

@Jeroen_Tebbens any chance you can check what is/ isnt working with PowerByTheHour and homewizzard energy, and why? I would like it to work of course, but dont have the device myself so cannot test it.

See also this issue on Github [https://github.com/gruijter/com.gruijter.powerhour/issues/4](https://github.com/gruijter/com.gruijter.powerhour/issues/4)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [October 13, 2020, 7:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/154 "2020-10-13T19:50:32Z")

</div>

The code has meter\_gas.today and meter\_gas.reading to keep track of it. So it does not cater for meter\_gas without the .name that you expect.  
I dont know how to cater for it. If I add it as meter\_gas extra people complain that they have mulitple gas meters in the overview.

Gas meter works with the Homewizard Energy but not the Energylink.

Meter\_power in Homewizard Energy is also dotted.

me.addCapability(‘meter\_power.consumed.t1’);  
me.addCapability(‘meter\_power.consumed.t2’);  
me.addCapability(‘meter\_power.produced.t1’);  
me.addCapability(‘meter\_power.produced.t2’);

---

<div class="post-metadata">

**Author:** ![Bug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bug/32/16493_2.png) [@Bug](https://community.homey.app/u/Bug)\
**Post date:** [October 13, 2020, 8:09pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/155 "2020-10-13T20:09:16Z")

</div>

The gas metering seems to work fine with power by the hour. I am unable to add the power and maybe that is because of the t1 and t2 extensions as there is dual tariff on homewizard energy. it shows no devices found.  
I guess it expects the values as [‘meter\_power’, ‘meter\_power.peak’, ‘meter\_power.offPeak’]

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 13, 2020, 8:20pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/156 "2020-10-13T20:20:39Z")

</div>

Ah, so there are two different homewizzard devices, both with their own app, and both having different capabilities?

Power by the hour needs a meter\_gas for gas, and a cumulative meter\_power for power. Cumulative means all consumption meters added and all production meters substracted.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [October 13, 2020, 8:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/157 "2020-10-13T20:27:53Z")

</div>

Homewizard Energy (the new wifi dongle) supports your meter\_gas and has the aggregated meter\_power as requested.

Then there is the old Energylink which is a sub device on the old Homewizard which has the P1 details and S1 and S2 ports to track for solar or water meter.

So am a bit lost what is asked here. Is it about the Energylink or the new Homewizard Energy dongle (wifi). And of that later is the case how to spit all these into smaller meter\_power t1 t2 cons and prod. They can’t be using the same meter\_power capability in the current driver I use.

---

<div class="post-metadata">

**Author:** ![Bug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bug/32/16493_2.png) [@Bug](https://community.homey.app/u/Bug)\
**Post date:** [October 13, 2020, 8:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/158 "2020-10-13T20:32:45Z")

</div>

Hi @Jeroen_Tebbens this is for the new Homewizard Energy dongle wifi. when adding this to the power by the hour, it doesn’t seem to find the meter\_power that is needed to add the “power summarizer device” in homey.  
@Gruijter I guess there may be need for 2 more summarizers called meter\_power.peak and meter\_power.offPeak or are both added to get the meter\_power value?  
then we might need to translate the  
(‘meter\_power.consumed.t1’);  
(‘meter\_power.consumed.t2’);  
(‘meter\_power.produced.t1’);  
(‘meter\_power.produced.t2’);  
and do the math on these to get the meter\_power.peak and meter\_power.offPeak values.

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [October 13, 2020, 8:53pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/159 "2020-10-13T20:53:34Z")

</div>

It does, which version of Homewizard Energy are you running?  
I am using it so I know it works.  
Try to re-add/pair it (add the dongle again so it wont break your current flows)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b320a66dbfc0cfee996452cca59b1d6baf86dee9.jpeg)

---

<div class="post-metadata">

**Author:** ![Bug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bug/32/16493_2.png) [@Bug](https://community.homey.app/u/Bug)\
**Post date:** [October 13, 2020, 9:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/160 "2020-10-13T21:05:46Z")

</div>

I am using Homewizard Energy 0.1.0  
Power by the Hour v2.1.1  
Homey is running 4.2.0.  
i removed and readded the dongel but I still get the following when i am adding the power summarizer:

 ![IMG_0927](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/e/bed8ca655e4e61bd1362642ea022ec7d3632fde0.jpeg) ![IMG_0928.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/af41105eb9a68b85767d41526d45310d8c303f6c.jpeg)  
 ![IMG_0926.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee424d8eb74732aa1dccc3fb0d337d1d268af764.jpeg)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Tebbens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_tebbens/32/62246_2.png) [@Jeroen\_Tebbens](https://community.homey.app/u/Jeroen_Tebbens)\
**Post date:** [October 13, 2020, 9:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/161 "2020-10-13T21:27:30Z")

</div>

[https://homey.app/en-us/app/com.homewizardenergy/HomeWizard-Energy/test/](https://homey.app/en-us/app/com.homewizardenergy/HomeWizard-Energy/test/)

Try this version, it has some fixes on aggregated value.

---

<div class="post-metadata">

**Author:** ![Bug](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bug/32/16493_2.png) [@Bug](https://community.homey.app/u/Bug)\
**Post date:** [October 13, 2020, 9:34pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/162 "2020-10-13T21:34:37Z")

</div>

@Jeroen_Tebbens yes that one works 👍

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [October 16, 2020, 6:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/163 "2020-10-16T06:13:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/e/0ed4161bf5d67e3f1249e60151964c9bc626008f.jpeg)

This is what I get from Eneco, if I login…

This is what I want to create with my flows, including water usage and amount…

I can calculate the logic… Or maybe this is a candidate for on your backlog…

To add the price per unit and the app generates a calculated variable…

[Previous page](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535.md?page=7)

[Next page](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535.md?page=9)
