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

<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:** [December 26, 2022, 3:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1109 "2022-12-26T15:05:04Z")

</div>

> [@Walter\_vande\_kerkhof](#):
>
> what is the meaning of 97,5% on month budget?

Haha, I was waiting for someone to ask that question! I made the budget rolling. Meaning that the budget is recalculated every day to include start of the year/month **up to the present day of the month/year**. That means that when your usage exactly follows the standardized distribution, it will always be 100%, no matter how far you are in the year or month.

_Today (26.12.2022) as example:_  
The total electricity budget for this month is calculated from this sheet: [Volumegrenzen Prijsplafond 2023 - Google Sheets](https://docs.google.com/spreadsheets/d/1qWoj7yVLmOYezLQ20D-SSIgjmvNpR5ClduQE_T3_XU8/edit#gid=0)

From start of the month (1.12) until today (26.12) the budget is 299,4 kWh (just add up the values of each day). If PBTH has registered that your actual usage this month so far is 291,9 kWh, that means you are **291,9 / 299,4 = 97,5% on target.** Which is just a little bit under what the NL government says your budget should be in December for an average household.

For the yearly budget the same approach is used, starting the days from January 1st up to the present day.

---

<div class="post-metadata">

**Author:** ![Remy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/remy/32/2357_2.png) [@Remy](https://community.homey.app/u/Remy)\
**Post date:** [December 26, 2022, 3:09pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1110 "2022-12-26T15:09:49Z")

</div>

perfect, thanks 🙂

---

<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:** [December 26, 2022, 3:13pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1111 "2022-12-26T15:13:51Z")

</div>

> [@Walter\_vande\_kerkhof](#):
>
> Same question for water usage. I have linear selected and year budget 155.  
> On month budget is 1% and on year budget is 0.7%. Actual month usage is 11,5. Actual year usage is 109,

That seems off. Maybe a bug…  
Did you have 0101 set as start day of the year in the water device settings, or did you change that to another date?

---

<div class="post-metadata">

**Author:** ![Olaf\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olaf_c/32/66883_2.png) [@Olaf\_C](https://community.homey.app/u/Olaf_C)\
**Post date:** [December 26, 2022, 3:14pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1112 "2022-12-26T15:14:50Z")

</div>

@Gruijter I’m using the card ‘The avg price [next hours] is lowest within [period]’ as ‘The avg price next 6 hours is lowest within this day’. I have some issues:

- It has triggered at 22:00 in the evening twice now. Since I set it to 6 hours, the latest it should possibly trigger would be 18:00, right? Or am I missing something here?
- Today it triggered at midnight, while when I look at the energy pricing (The Netherlands) for today, the time-period 00:00-06:00 was not the lowest average 6 hours for this day. Looking at the data it should have triggered around 02:00 or 03:00.
- It can trigger multiple times within a day. Given that I’ve put it on ‘lowest price within this day’, it should only trigger once per day?

Are these bugs or am I interpreting this card wrongly?

---

<div class="post-metadata">

**Author:** ![Walter\_vande\_kerkhof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/walter_vande_kerkhof/32/28963_2.png) [@Walter\_vande\_kerkhof](https://community.homey.app/u/Walter_vande_kerkhof)\
**Post date:** [December 26, 2022, 3:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1113 "2022-12-26T15:15:29Z")

</div>

No i left it at 0101

---

<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:** [December 26, 2022, 3:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1114 "2022-12-26T15:15:52Z")

</div>

ok, will have to investigate that then. Thx for reporting!

---

<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:** [December 26, 2022, 3:17pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1115 "2022-12-26T15:17:12Z")

</div>

> [@Olaf\_C](#):
>
> ‘The avg price next 6 hours is lowest within this day’. I have some issues:

Are you using v5.0.3 already? If not, please install that because it resolves a lot of old issues. If you still see weird behavior in v5 please report it as a bug.

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [December 26, 2022, 3:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1116 "2022-12-26T15:25:21Z")

</div>

I’d like to also see the option to select multiple devices directly into one summarizer device without the need for the `< group >` virtual device.

---

<div class="post-metadata">

**Author:** ![Olaf\_C](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olaf_c/32/66883_2.png) [@Olaf\_C](https://community.homey.app/u/Olaf_C)\
**Post date:** [December 26, 2022, 3:26pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1117 "2022-12-26T15:26:53Z")

</div>

I was on the latest stable version. Upgraded to the v5.0.3 and will keep an eye on it. Thanks!

---

<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:** [December 26, 2022, 3:46pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1118 "2022-12-26T15:46:48Z")

</div>

> [@OH2TH](#):
>
> also see the option to select multiple devices directly into one summarizer device without the need for the `< group >` virtual device.

Please post that in the special topic for feature requests: [[APP][Pro] Power by the Hour [Feature Requests]](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740)

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [December 27, 2022, 8:51am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1119 "2022-12-27T08:51:14Z")

</div>

> [@Gruijter](#):
>
> @Torch1969 : The hourly poll delay can be used to get rid of the 5 minute dip every hour for slow updating meters like gas.

Thx @Gruijter, I will keep an eye on this today and report back.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [December 27, 2022, 10:31am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1120 "2022-12-27T10:31:11Z")

</div>

This looks exactly the same as I do for my solar panels with homey script. (Using an array with 12 production predictions for each month). It would be a very nice feature if we could add our own budget/target distribution setting. This can be used for different purposes, for instance to see if your solar power generation is on target.

---

<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:** [December 27, 2022, 10:50am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1121 "2022-12-27T10:50:37Z")

</div>

> [@Torch1969](#):
>
> It would be a very nice feature if we could add our own budget/target distribution setting.

been thinking about that as well. I’m struggling with how a user would be able to easily ‘upload’ a distribution, even more since I use an array of 365 days, and not 12 months. But anyhow, please create a feature request in the special topic here: [[APP][Pro] Power by the Hour [Feature Requests]](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740)

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [December 27, 2022, 11:27am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1122 "2022-12-27T11:27:58Z")

</div>

Hi all,

Does someone know the values for zonneplan?

Values in the screenshot are not giving the correct results compared with the ‘zonneplan’ app

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/e/5e000e6037bf90b0448d5cb8b43990daf5f66ea2.png)

Thanks!

---

<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:** [December 27, 2022, 11:50am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1123 "2022-12-27T11:50:49Z")

</div>

I have Zonneplan myself. Untill 31.12@23:59 these are the values for Zonneplan:

Electricity: NL\_Netherlands  
Variable: 9%  
Fixed: 0,076059437

Gas: TTF EGSI  
Variable: 9%  
Fixed: 0,53522587

Starting in the new year the 9% changes to 21%, and also the fixed markups will increase (I’m still looking myself what they will be)

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [December 27, 2022, 11:54am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1124 "2022-12-27T11:54:44Z")

</div>

> [@Gruijter](#):
>
> 0,076059437

Thanks it’s working 🙂

---

<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:** [December 27, 2022, 12:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1125 "2022-12-27T12:03:30Z")

</div>

And many thanks for you kind donation John! Much appreciated 😍

---

<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:** [December 27, 2022, 1:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1126 "2022-12-27T13:50:53Z")

</div>

v5.0.4 is ready for testing: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test/)

This version will be released as stable as soon as Athom approves it.

Summarizer:

- fix migration from v4.x.x
- add default distribution on migration from v4.x.x
- fix linear budget distribution (@Walter_vande_kerkhof)
- added hourly poll delay setting for water
- modified defaults for poll delay

DAP:

- set deprecated gas device as unavailable
- fix avg price this\_day and next\_8h

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [December 27, 2022, 3:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1127 "2022-12-27T15:59:32Z")

</div>

@Gruijter Looks like your “hourly poll delay” fixed the drop-down to zero at each hour 👍. I’ve set it to 1 and now the drop-down is gone.  
But somehow the Gas usage in PBTH (lower graph) still doesn’t follow the source, a P1 gas-meter with 5 minute updates using Youless LS120 (upper graph). At some moments it looks like the gas usage in PBTH misses a new update en stays on the same level for some time. Look at the marked moments. (Looks like this happens after whole hour?)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/6219e89d26081a0cd8e3d4b21c35aa6b42c8fd2f.png)

Again, not a big issue, so don’t spend too much time on this 😄.

---

<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:** [December 27, 2022, 6:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1128 "2022-12-27T18:22:50Z")

</div>

The gas usage (liters per minute) in PBTH are only estimates, just as the power usage (Watt) by the way. They are derived from m3/kWh changes and averaged over a minimum of 2 minutes. So you shouldn’t use them for any serious flows etc. Maybe I will remove it entirely from PBTH because more people notice differences with the source device.

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

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