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

<div class="post-metadata">

**Author:** ![Bram\_De\_Roy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bram_de_roy/32/79445_2.png) [@Bram\_De\_Roy](https://community.homey.app/u/Bram_De_Roy)\
**Post date:** [April 1, 2026, 7:16pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3794 "2026-04-01T19:16:02Z")

</div>

@Gruijter it seems that the missing update was the bug. Ever since it has worked just fine. Again thanks for your patience and splendid app!

---

<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:** [April 5, 2026, 12:35pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3795 "2026-04-05T12:35:23Z")

</div>

> [@OH2TH](#):
>
> Some Summarizers are working fine and some resets the previous periods to null

Do you maybe have a flow `set_tariff_power_PBTH` without the `exportTariff` argument filled in?

Anyhow, I think I found the issue. Will be corrected in a next version.

---

<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:** [April 5, 2026, 12:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3796 "2026-04-05T12:51:19Z")

</div>

> [@Geert1992](#):
>
> the battery strategy doesn’t seem to use the additional export prices in its calculations.

I double checked the code, but do not find any issues. Export prices are used, but they are used only after substracting the average home usage (300 Watts default setting)

---

<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:** [April 5, 2026, 1:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3797 "2026-04-05T13:32:58Z")

</div>

I am using this one, which is app level card:

 ![Screenshot 2026-04-05 at 16.31.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b8ae620329aa1c0b08f881fac2accc4a95303772.png)

And PbtH is at v8.8.0

---

<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:** [April 5, 2026, 2:21pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3798 "2026-04-05T14:21:09Z")

</div>

yes, and the monetary NULL problem was caused when sending that flow without the value being filled (NaN, or NULL, or UNDEFINED)

---

<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:** [April 5, 2026, 2:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3799 "2026-04-05T14:22:37Z")

</div>

But that card takes only one value… or am I missing something?

---

<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:** [April 5, 2026, 2:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3800 "2026-04-05T14:25:27Z")

</div>

what value do you use?

---

<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:** [April 5, 2026, 2:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3801 "2026-04-05T14:33:39Z")

</div>

I calculate the quarterly rate depending on some rules. The rate is for imported energy.

 ![Screenshot 2026-04-05 at 17.30.49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12871a997fb49dcc8e606a3e36d6d5117b6010bb.png)

I also make sure that import rate is never under zero, this the margin in the minimum we pay for energy.

Exported energy would be indeed different.

---

<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:** [April 5, 2026, 2:37pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3802 "2026-04-05T14:37:23Z")

</div>

I dont use better logic myself, so not sure how Expression value is filled. But when it is NaN or NULL or UNDEFINED at the time the PBTH flow card is executed, things go wrong.,

---

<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:** [April 5, 2026, 2:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3803 "2026-04-05T14:45:26Z")

</div>

v8.8.1 is ready for test: [https://homey.app/a/com.gruijter.powerhour/test/](https://homey.app/a/com.gruijter.powerhour/test/)

- Fix monetary NaN.
- Allow negative average home usage in battery.
- Fix active tariff capability.
- Homey-api 3.18.1

---

<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:** [April 5, 2026, 5:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3804 "2026-04-05T17:15:07Z")

</div>

So far it has always been a valid number value.

---

<div class="post-metadata">

**Author:** ![Bert\_Wissink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bert_wissink/32/30075_2.png) [@Bert\_Wissink](https://community.homey.app/u/Bert_Wissink)\
**Post date:** [April 6, 2026, 10:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3805 "2026-04-06T10:55:13Z")

</div>

Hi everyone,

My gasprices for TTF\_EOD are not updating since April 4th 5 AM. Had some dips in March too. Anyone else having the same issue? Any ideas how to solve?

---

<div class="post-metadata">

**Author:** ![gmls](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gmls/32/121004_2.png) [@gmls](https://community.homey.app/u/gmls)\
**Post date:** [April 7, 2026, 10:28am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3806 "2026-04-07T10:28:32Z")

</div>

does anybody know how you can show the total for a day on a 3 phase system?

When you have solar panels on a 3 phase system the app still calculates a positive value on L1 as consumption, this is nog correct when L2 and L3 are negative and the total is negative

---

<div class="post-metadata">

**Author:** ![bjornb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bjornb/32/17214_2.png) [@bjornb](https://community.homey.app/u/bjornb)\
**Post date:** [April 8, 2026, 12:09pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3807 "2026-04-08T12:09:46Z")

</div>

I have added my Battery, but seems to indicate discharge when the battery is charging:  
Victron device:

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

PBTH battery device:

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

I also see that the discharge (utlading) kWh counter is increasing when charging the battery.

---

<div class="post-metadata">

**Author:** ![Johan\_Bruyn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_bruyn/32/132683_2.png) [@Johan\_Bruyn](https://community.homey.app/u/Johan_Bruyn)\
**Post date:** [April 8, 2026, 1:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3808 "2026-04-08T13:04:17Z")

</div>

@Gruijter

In the game of charging your battery when the market price is lowest, I am running into a small issue. The lowest market price and the highest production hours of the solar panels do not necessarily synchronize. Additionally, my PV installation has a higher maximum output than the battery’s charging capacity. There is a difference of 900 Watt-hours.

So, if you charge at the lowest market price coupled with the expected kWh, it can happen that you still don’t manage to fully charge the battery. This is because theoretically more kWh was expected than the battery can charge. It seems useful to me if you could also specify the maximum input within a timeframe for the If and And cards, such as “Remaining yield for … is less than … kWh”.

For example, “Remaining yield for … is less than … kWh at maximum …W”.

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [April 9, 2026, 11:31am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3809 "2026-04-09T11:31:29Z")

</div>

60 minutes prices (Finland) has been stuck for couple of days.

---

<div class="post-metadata">

**Author:** ![TimVW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/timvw/32/79069_2.png) [@TimVW](https://community.homey.app/u/TimVW)\
**Post date:** [April 10, 2026, 1:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3810 "2026-04-10T13:02:37Z")

</div>

Hi,

Via the “energy summarizer” I currently see the energy I draw from the grid minus the energy I feed back into the grid (solar panels).  
In Belgium we do not have “saldering”, so the information of the fact that I have generated more energy today than I have taken from the grid is of little use to me. I am looking for a simple counter that shows how many kWh I have already consumed from the grid today.

grts,  
Tim

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [April 10, 2026, 5:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3811 "2026-04-10T17:51:52Z")

</div>

> [@Gruijter](#):
>
> better logic

Better logic will give a number token, so it cannot be Null, NaN or undefined. In that case the flowcard will through an error. 😉

---

<div class="post-metadata">

**Author:** ![Ria\_Banis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ria_banis/32/7966_2.png) [@Ria\_Banis](https://community.homey.app/u/Ria_Banis)\
**Post date:** [April 11, 2026, 1:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3812 "2026-04-11T13:06:31Z")

</div>

Today, all flows that were supposed to start when the price dropped below zero (excluding taxes) did start.

However, the flows that should have started when the price became positive again did not. Manually triggering them worked, and all conditions were met (green check marks)

How can I prevent or handle this issue?

---

<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:** [April 11, 2026, 3:07pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3813 "2026-04-11T15:07:32Z")

</div>

> [@Ria\_Banis](#):
>
> However, the flows that should have started when the price became positive again did not

Do you have screenshots of the flows?

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

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