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

<div class="post-metadata">

**Author:** ![Friso\_Gosliga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/friso_gosliga/32/31482_2.png) [@Friso\_Gosliga](https://community.homey.app/u/Friso_Gosliga)\
**Post date:** [January 13, 2023, 11:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1289 "2023-01-13T23:27:21Z")

</div>

Thanks! Updating HomeWizard app to 3.1.0 (experimental) solved the problem. The meter returned to the proper total and now I have a massive negative balance for the day. Oh well, it’ll even itself out and luckily my dynamic pricing starts tomorrow so this correction is all done at the same price level.

---

<div class="post-metadata">

**Author:** ![Friso\_Gosliga](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/friso_gosliga/32/31482_2.png) [@Friso\_Gosliga](https://community.homey.app/u/Friso_Gosliga)\
**Post date:** [January 14, 2023, 2:34am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1290 "2023-01-14T02:34:39Z")

</div>

I’m getting the feeling that some cards that should only be listed as ‘conditions’ are offered as ‘triggers’.

I noticed that when I put a card like ‘price in the next hour is one of the X lowest’ as a trigger, the ‘play’ button for the flow would not become grey. That’s strange; it normally greys out when a flow is triggered by an event.

So I now put ‘price has changed’ as a trigger, and then put ‘price in the next hour is one of the X lowest’ as a condition, and then it seems to work as expected.

---

<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:** [January 14, 2023, 9:36am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1292 "2023-01-14T09:36:31Z")

</div>

I’ve read that dishwasher and washing machine use the most energy at beginning of session (to warm up the water), so for these devices the hour of lowest price seems the best moment to start the session.

---

<div class="post-metadata">

**Author:** ![KevlarD](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kevlard/32/30805_2.png) [@KevlarD](https://community.homey.app/u/KevlarD)\
**Post date:** [January 14, 2023, 10:23am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1293 "2023-01-14T10:23:41Z")

</div>

Thanks, I had that experience as well in other flows. Going to rebuild those flows and see if that’s a solution.

---

<div class="post-metadata">

**Author:** ![KevlarD](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kevlard/32/30805_2.png) [@KevlarD](https://community.homey.app/u/KevlarD)\
**Post date:** [January 14, 2023, 10:24am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1294 "2023-01-14T10:24:51Z")

</div>

My dishwasher has a boost of power at the end of the cycle as well. I figured it’s because of the drying phase.

---

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [January 14, 2023, 6:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1295 "2023-01-14T18:50:59Z")

</div>

Hi @Gruijter 🙂  
Any possibility to run a homey script or other to output the timestamps for the X lowest prices this night, using power by the hour? Or isn’t the prices “saved” locally so it’s possible at all? 🙂

---

<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:** [January 14, 2023, 7:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1296 "2023-01-14T19:33:11Z")

</div>

What great gift from Homey; a Google Sheets integration! Like it in combination with this PBTH app…Check-out this link:

> **[Google Sheets](https://homey.app/nl-nl/app/com.google.sheets/Google-Sheets/)**
>
> Voeg toe aan Google Spreadsheets vanuit een Flow.

---

<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:** [January 14, 2023, 7:43pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1297 "2023-01-14T19:43:09Z")

</div>

> [@MatsHansen](#):
>
> output the timestamps for the X lowest prices

There is a flowcard that provides all 24 prices of the next day as soon as they are received. From there it is up to you what to do with it 😉

---

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [January 14, 2023, 9:13pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1298 "2023-01-14T21:13:15Z")

</div>

Perfect 😊🙏 If anyone has anything related to saving and making these prices easily available already created, I’m very interested in a look 😄

I’m going to use this to report when the car will start and stop the charging through the night 😊

---

<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:** [January 17, 2023, 2:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1299 "2023-01-17T14:40:13Z")

</div>

version 5.2.0 is ready for testing

- Added EEX EOD and EGSI gas bidding Zones.
- EEX preferred over Enever as source for Gas DAP.
- Added device onUninit handling.
- Update homey-api@1.10.7.

Besides some minor stability improvements this release adds many gas spot prices from all over Europe. As source EEX is used: [Spot](https://www.eex.com/en/market-data/natural-gas/spot)

 ![Screenshot_20230117_153538_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/2436de905017b56b90fefd9a72f9477627af4a27.jpeg)

---

<div class="post-metadata">

**Author:** ![jseverinson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jseverinson/32/28365_2.png) [@jseverinson](https://community.homey.app/u/jseverinson)\
**Post date:** [January 18, 2023, 11:05am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1300 "2023-01-18T11:05:23Z")

</div>

Hey Robin, thanks for all the work with this app. I’m trying to get it to work with my Huawei inverter and the Huawei Solar app. Unfortunately Huawei’s API does not seem to expose a regular meter value. The API and the Homey app does however give me access to the current yield in kW, as witnessed in this graph:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/1/c156382ecad6ab25faec218eb52ed0059ac66594.png)

I’ve tried creating a virtual PBTH device and feed it this value every 15 seconds, but I’ve been getting some quite random values on the device. I see in the documentation in this thread that this is stated:

> Note that the meter value for energy must be the total kWh, meaning (consumed\_high + consumed\_low - returned\_high - returned\_low).

I’m struggling to understand what that means. Could you by chance elaborate on how to send data to a virtual device, and how the settings (daily reset, and use W instead of kW) work in relation to this data? What I’m essentially trying to do is summarise the area under that graph above to get the energy produced (and as such create that production meter that Huawei’s API does not expose). 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:** [January 18, 2023, 3:36pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1301 "2023-01-18T15:36:51Z")

</div>

> [@jseverinson](#):
>
> current yield in kW,

If that was is watt with capability name measure\_power, PBTH would be able to use it. But it doesnt. And the PBTH virtual device only takes kWh via a flow, not kW.  
Maybe you could create a virtual device with the \<GROUP\> app or advanced capabilities app, and give that a watt meter (measure\_power)? Not sure if you can do that. Also you have to somehow divide the kW value by 1000 to get Watts.  
Or simply ask the app developer to add a meter\_power (kWh) or measure\_power (Watt) capability.

---

<div class="post-metadata">

**Author:** ![Fabian\_Annequin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabian_annequin/32/30342_2.png) [@Fabian\_Annequin](https://community.homey.app/u/Fabian_Annequin)\
**Post date:** [January 19, 2023, 5:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1302 "2023-01-19T05:59:12Z")

</div>

Awesome app! I’m an a tibber user, but I would like to start my washer/dishwasher when the average price of 2 hours is at its lowest for the next 15 hours.

With the tibber app I can select ‘lowest within next 15 hours’ and with pbth you’ve got 'lowest average of 2 hours within 8 hours or this day…

Would it be possible to change this so that the amount of time is adjustable? With tibber this is possible without a limit for time.

Thanks ahead!

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [January 19, 2023, 7:24pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1303 "2023-01-19T19:24:48Z")

</div>

At 16.00 the new prices are announced for the next day. Which flow card do I use if I want to know if the price is the lowest in the next 32 hours (the remaining hours of today, and the full next day)? I can only use the next 8 hours, or today (of which 16 hours have passed already).

In the device +7h is the maximum, so I can’t use any logic myself of the prices the next day. An addition to the flow cards could be (besides next 8 hours and today) “for the next known prices”. This card should use every upcoming price.

Also, the “lowest price of the day” is often not useful when the lowest price was during the night. An additional card using the “remainder of the day” could help a lot.

---

<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:** [January 19, 2023, 7:31pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1304 "2023-01-19T19:31:14Z")

</div>

> [@TKroon](#):
>
> An addition to the flow cards could be (besides next 8 hours and today) “for the next known prices”. This card should use every upcoming price.

Please post this as feature request here: [[APP][Pro] Power by the Hour [Feature Requests]](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740)

By the way: the cheapest hour today and the cheapest hour tomorrow (when available) are both available as tag that can be used in flows.

---

<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:** [January 20, 2023, 11:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1305 "2023-01-20T11:44:22Z")

</div>

v5.3.0 is ready for testing

Summarizer:

- added weighted average price for this month/year.
- added support for ZTAZ P1.
- added custom budget distribution.
- fixed GAS updates for certain source devices.

DAP:

- implemented workaround for EEX EOD source bug.
- reduced price fetch spreading delay to max 10 minutes.

Again more stability and new features introduced 🥳  
With the weighted average price per kWh/m3 you can quickly compare your weighted price for a month and year. For NL users this can be compared to the maximum prices that the NL government guarantees (prijsplafond).  
Also new is that you can now enter your own power/gas/water distribution budget. You need to enter the budget for each month, starting in January, seperated by `;`.  
So for instance: `100;90;70;50;20;-10;-50;-10;20;50;70;90`

---

<div class="post-metadata">

**Author:** ![Marina\_Rietveld](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marina_rietveld/32/17475_2.png) [@Marina\_Rietveld](https://community.homey.app/u/Marina_Rietveld)\
**Post date:** [January 20, 2023, 12:55pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1306 "2023-01-20T12:55:13Z")

</div>

Great app with so many option, so maybe I have a really simple question but I can’t figure it out. For my gas I’m with ANWB, so every day a different price. With the dynamic prices the “prijsflafond” only count’s if the average of the gas price of that month is above 1,45. So and the end of the month I would like to know what the average price was of the gas that month. Do I make any sense? 😄

---

<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:** [January 20, 2023, 1:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1307 "2023-01-20T13:02:46Z")

</div>

> [@Marina\_Rietveld](#):
>
> So and the end of the month I would like to know what the average price was of the gas that month. Do I make any sense?

Sure. Already requested and implemented: [[APP][Pro] Power by the Hour [Feature Requests] - #98 by Gruijter](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/98)

But hold off on installing this test version. There seems to be a migration bug in it.

---

<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:** [January 20, 2023, 1:53pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1308 "2023-01-20T13:53:30Z")

</div>

> [@Gruijter](#):
>
> added weighted average price for this month/year.

Little cosmetic bug: new fields don’t get currency set in advanced settings. To fix this, you first have to change currency to something else and then back to wanted currency to force update.

 ![Schermafbeelding 2023-01-20 om 14.50.03](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/5/25d9e60b6a996de26d8d09e81177cf869c09b198.png)

---

<div class="post-metadata">

**Author:** ![Juppehup](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/juppehup/32/16748_2.png) [@Juppehup](https://community.homey.app/u/Juppehup)\
**Post date:** [January 20, 2023, 8:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1309 "2023-01-20T20:05:19Z")

</div>

Just a quick question to check if I understand this IF-card correct:

![Schermafbeelding 2023-01-20 204507](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1f044b7d52bfde0f60437ae9b7fc95973debe333.jpeg)

This car does the following:  
Each hour it scans the pricing of the 8 hours upcoming. When the average pricing of the first 3 hours is lowest in these 8 hours it turns TRUE.

F.i. when we have 24 hours:  
1;2;3;2;7;2;1;4;5;6;2;3;6;4;1;2;5;4;6;3;1;1;1;4  
it trigger multiple times:

 ![Schermafbeelding 2023-01-20 210453](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/3/4315107034cb4ddf3feb062dcff6ef7436aa9bae.jpeg)

Is that correct?

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

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