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

<div class="post-metadata">

**Author:** ![Victor\_Bicknese](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victor_bicknese/32/177200_2.png) [@Victor\_Bicknese](https://community.homey.app/u/Victor_Bicknese)\
**Post date:** [September 30, 2026, 7:49pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4058 "2026-09-30T19:49:10Z")

</div>

Hello community!

Since I have a home battery with a new inverter. The inverter measures solar panels, use of net power and battery power. How do I use PbtH now? Somehow I cannot export the measured power of solar panels and net to a calculator (for total day use and euro’s).

Here is a screenshot of my inverter app (AlphaESS). I hope someone can help me out.  
By the way I have a P1 meter, but I only use this for gas, because AlphaESS keeps everything synchronized.

 ![IMG_9775](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d0eeb02e9a034adc5009764ba4d15ad11f30508d.jpeg)

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [October 1, 2026, 8:30am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4059 "2026-10-01T08:30:35Z")

</div>

Hi!

I am trying to understand the logic behind the flowcard **“The price is one of X lowest of today”** when running with 15-minute price periods. I’m experiencing some unexpected behavior and I’m not sure if I have misunderstood the card.

In my Advanced Flow, I trigger the flow every 15 minutes when a new price period starts. In the **AND** section, I use the card with **X=2**.

My interpretation is that this card should only return `true` during the 2 absolute cheapest 15-minute periods of the day (a total of 30 minutes). However, tonight the card remained `true` continuously from **01:45 to 06:00** , even though the price varied during that time.

Here is the exact price data from that period:

- 01:45:03 – 0.39556521 _(Lowest)_
- 02:00:08 – 0.40882248
- 02:15:03 – 0.42321285
- 02:30:04 – 0.40791600 _(Second lowest)_
- 02:45:05 – 0.41573439
- 03:00:08 – 0.42207975
- 03:15:07 – 0.41924700
- 03:30:01 – 0.41539446
- 03:45:06 – 0.41516784
- 04:00:03 – 0.41222178
- 04:15:07 – 0.41392143
- 04:30:01 – 0.41596101
- 04:45:03 – 0.42173982
- 05:00:03 – 0.43862301
- 05:15:01 – 0.45482634
- 05:30:01 – 0.49765752
- 05:45:05 – 0.53346348

Mathematically, only 01:45 and 02:30 should be `true`. Why did the card evaluate as `true` for all the other periods in between?

Does the card internally look at full hour blocks instead of 15-minute intervals when sorting the lowest prices, or could it be a float/rounding limitation when the prices are very close to each other?

How should I interpret this card’s behavior? Any insights would be highly 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:** [October 1, 2026, 8:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4060 "2026-10-01T20:00:56Z")

</div>

> [@Krisstenswe](#):
>
> only 01:45 and 02:30 should be `true`

You are correct. I will check if it is a bug

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 1, 2026, 8:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4061 "2026-10-01T20:06:44Z")

</div>

> [@Krisstenswe](#):
>
> I trigger the flow every 15 minutes

Doesn’t this flow filter on these 2 lowest prices within a timeframe?

 ![Screenshot_20261001_215646_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/62c41822753b72f287cee857d8c9c5dc327d58c3.jpeg)

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [October 2, 2026, 3:00am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4062 "2026-10-02T03:00:09Z")

</div>

> [@Peter\_Kawa](#):
>
> Doesn’t this flow filter on these 2 lowest prices within a timeframe?

That’s quite possible—I haven’t tried that card. In principle, my flow looks like this:

 ![Skärmbild 2026-10-02 044510](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/7/07614ecc1ad3665a1a83759b61df1e0c82962d5c.png)

---

<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 2, 2026, 8:09am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4063 "2026-10-02T08:09:19Z")

</div>

@Krisstenswe I cannot reproduce your issue, nor can I find a bug in the code. Can you show a screenshot of the actual flow you are using, including tags you use? And what app version do you use?

---

<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 2, 2026, 8:24am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4064 "2026-10-02T08:24:18Z")

</div>

I cannot reproduce your issue. I added a Sessy P1, and it gets picked up perfectly by PbtH Grid driver. Are you sure it is not already added?

Can you share a screenshot of all Sessy P1 device properties and capabilities from this link: [Homey Developer Tools](https://tools.developer.homey.app/tools/devices)

And can you send a PbtH app diagnostics report right after trying to pair?

---

<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 2, 2026, 8:45am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4065 "2026-10-02T08:45:07Z")

</div>

@Henrik_Johnsson I looked at the latest homewizard app code, and it should work. So a mystery to me why it doesn’t.

Can you share a screenshot of all Homewizard P1 device properties and capabilities from this link: [Homey Developer Tools](https://tools.developer.homey.app/tools/devices)

And can you send a PbtH app diagnostics report right after trying to / doing a re-pair?

---

<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 2, 2026, 8:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4066 "2026-10-02T08:59:35Z")

</div>

> [@Henrik\_Johnsson](#):
>
> Also, there are two Insight graphs labeled “Energy”, I believe I’ve figured out what they show but I think it could be clarified.

those are leftover capabilities from the previous version. You can delete those insights from the homey web gui.

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [October 2, 2026, 9:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4067 "2026-10-02T09:13:52Z")

</div>

Report 75cbf4d8-a0f3-47f4-8a5b-114158740ec3

 ![HW P1 2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b7b2c0e4880144a9cadcc341b2a3c6c5048a9ab4.png)

 ![HW P1 1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a324b9954c9d78e5a7bf909e65dc6b181e294bd0.png)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [October 2, 2026, 9:16am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4068 "2026-10-02T09:16:00Z")

</div>

> [@Gruijter](#):
>
> leftover capabilities from the previous version. You can delete those insights from the homey web gui.

Homey did not approve, red popup saying log\_not\_found.

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [October 2, 2026, 9:57am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4069 "2026-10-02T09:57:56Z")

</div>

> [@Gruijter](#):
>
> And what app version do you use?

8.19.0

 ![Skärmbild 2026-10-02 115231](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/545247ec4403122815152c2ff183a04991fa57f4.png)

It’s actually a larger flow, but I’ve stripped away everything that isn’t affected or doesn’t have an impact.

Thnx!

---

<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 2, 2026, 10:03am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4070 "2026-10-02T10:03:43Z")

</div>

try selecting a longer period before deleting maybe?

---

<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 2, 2026, 10:17am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4071 "2026-10-02T10:17:23Z")

</div>

I tripple checked the app code, but all seems good there. So I do suspect something is wrong in your advanced flow itself. Try making a very simple flow just to log the 2 lowest prices of the day. If that flow also fails please come back with more supporting data.

Ow, and do update PbtH. It has some app crash fixes.

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [October 2, 2026, 10:33am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4072 "2026-10-02T10:33:30Z")

</div>

> [@Gruijter](#):
>
> eting maybe?

Did not help unfortunately, same error message.

---

<div class="post-metadata">

**Author:** ![Krisstenswe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/krisstenswe/32/13447_2.png) [@Krisstenswe](https://community.homey.app/u/Krisstenswe)\
**Post date:** [October 2, 2026, 10:42am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4073 "2026-10-02T10:42:08Z")

</div>

Updated to 8.20.1, so we’ll see if that helps.

I’m setting up a simple flow and logging, as you suggested – I’ll get back to you.

Thnx!

---

<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 2, 2026, 10:53am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4074 "2026-10-02T10:53:12Z")

</div>

Still uncleasr why it doesnt work. In the next PbtH release (8.21.0) I added more logging to debug.

---

<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 2, 2026, 10:54am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4075 "2026-10-02T10:54:00Z")

</div>

Many thx for your kind donation @Krisstenswe ! 🥰 ❤ 🍻

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 2, 2026, 10:54am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4076 "2026-10-02T10:54:20Z")

</div>

> [@Krisstenswe](#):
>
> That’s quite possible—I haven’t tried that card

Looks good, Kristofer. Last night the flow

 ![17909385919305497282004272462054](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/5071cc69b348fca3efe9b712f243f3551c86e639.jpeg)

reported a lowest price at two timeframes as expected:

 ![Screenshot_20261002_114821_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95b680173ec0ca35a9d3dcdaefd1749c221f4b03.jpeg)  
 ![Screenshot_20261002_114935_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6ceea3fd9a3de3fc15fd7cdfb0e507cd86f7fafd.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 2, 2026, 10:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4077 "2026-10-02T10:59:23Z")

</div>

New version 8.21.1 is ready for testing: [https://homey.app/a/com.gruijter.powerhour/test/](https://homey.app/a/com.gruijter.powerhour/test/)

- Prepare EV charger driver with self-learning schedule, 15m planning, solar charging and SMART charge modes
- Selectable capabilities when (re)pairing
- Fix grid totals reset and peak jump after restart or repair
- Fix grid, solar and battery history after restart

Again some fixes and behind-the-scene development of an advanced car charge driver.

Most important change for now is that during pair or re-pair you will see a choice of source capabilities to use, select the price source, and set some of the most important settings.

This enables to add many more power, battery and grid meter sources from apps that were not supported by PbtH before!

So go ahead and let me know what you think!

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

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