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

<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:** [May 3, 2026, 11:45am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3894 "2026-05-03T11:45:05Z")

</div>

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

- Improve import/export detection and price usage
- Fetch DAP prices immediately after new device pair
- Refactoring and stability improvements

---

<div class="post-metadata">

**Author:** ![Matteo\_Foroni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matteo_foroni/32/115664_2.png) [@Matteo\_Foroni](https://community.homey.app/u/Matteo_Foroni)\
**Post date:** [May 3, 2026, 11:50am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3895 "2026-05-03T11:50:17Z")

</div>

Someone could you share a tutorial to create. Virtual device where I can see my remuneration from tso? Quarter price (north Italy price) x quarter volumes? Many thanks

---

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

</div>

To increase accuracy in the game of managing solar panels and charging batteries at negative market prices, I requested an ENTSO-E API key. Looking at the documentation, it shouldn’t be a problem to run two Homeys on the same API key. Surely PBHT doesn’t request data 400 times a minute?

[https://transparencyplatform.zendesk.com/hc/en-us/articles/12783148966036-API-Rate-Limit-Part-1](https://transparencyplatform.zendesk.com/hc/en-us/articles/12783148966036-API-Rate-Limit-Part-1)

---

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

</div>

> [@Johan\_Bruyn](#):
>
> it shouldn’t be a problem to run two Homeys on the same API key.

Not an issue at all. Why do you ask?

---

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

</div>

Because I run two Homeys via PBTH. An HP’23, and my old HP’19 which is currently handling things at my mother’s place. Some APIs are more limited. Solis, for example, can be called once every 3 minutes. Solcast can be called 10 times a day. So that is why I was wondering.

---

<div class="post-metadata">

**Author:** ![Bart\_van\_der\_Wolf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bart_van_der_wolf/32/120799_2.png) [@Bart\_van\_der\_Wolf](https://community.homey.app/u/Bart_van_der_Wolf)\
**Post date:** [May 6, 2026, 8:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3899 "2026-05-06T20:22:14Z")

</div>

My gas prices are back 👏 since version 8.9.2

---

<div class="post-metadata">

**Author:** ![Machtien](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/machtien/32/121415_2.png) [@Machtien](https://community.homey.app/u/Machtien)\
**Post date:** [May 7, 2026, 8:14pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3900 "2026-05-07T20:14:40Z")

</div>

Thanks for all your good work w.r.t. Homey apps. PBTH is a really useful add-on to the Homey functions.

Now more and more Homey users (at least in the Netherlands) are faced with asymmetrical pricing (Tibber does not return the €0.0248 markup when uploading energy from the solar panels. Next year when the ‘saldering’ ends the tax of €0.1108 is not returned either. Could it be an option to have an extra parameter in the price calculation (if{@P1\>0;0.13256;0}) or choose in each PBTH device which tariff function to use?

Or has this situation been solved already in another way?

---

<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:** [May 7, 2026, 9:38pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3901 "2026-05-07T21:38:20Z")

</div>

Is already in it. Price now, and price now (export)

 ![IMG_4284](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/13a3ea302e0df17f34a2464382d09659534f6fdd.png)

---

<div class="post-metadata">

**Author:** ![Machtien](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/machtien/32/121415_2.png) [@Machtien](https://community.homey.app/u/Machtien)\
**Post date:** [May 8, 2026, 12:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3902 "2026-05-08T12:32:41Z")

</div>

Thanks. Good to know. I’m affraid I missed it before.

---

<div class="post-metadata">

**Author:** ![Marcel\_R](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_r/32/47933_2.png) [@Marcel\_R](https://community.homey.app/u/Marcel_R)\
**Post date:** [May 11, 2026, 9:21am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3903 "2026-05-11T09:21:56Z")

</div>

However, the summarised money calculations (daily, monthly, etc.) are not using the ‘export fixed markup per kWh’ (Export vaste opslag → ‘teruglevergoeding’) correctly. I checked since 1 May and every day the difference between the ‘money per day’ my energy company calculates and the PbtH app calculates is exactly equal to the difference between the import and export price (multiplied by the corresponding kWh).

To check if my energy company is wrong or the PbtH calculations are wrong (or my settings in PbtH were wrong), I created a flow that’s also calculating the daily/monthly/yearly cost (just math: € x kWh per 15 minutes, import and export and summed per day, month and year) and the results are 100% equal to the data my energy company reports. I shared my settings and results with @Gruijter, but he can’t find anything wrong in my settings or in his code. Weird, but I’m 100% sure my calculations are mathematical correct and, again, matches 100% with the energy company data.

If you don’t use a ‘export fixed markup’ (in order to include a ‘teruglevergoeding per kWh’), I think the PbtH calculations are correct (and should match 100% with the data of any energy company).

---

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

</div>

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

- Fix export monetary values
- Reduce persistent power writes
- Stability improvements
- Homey-api@3.19.0

@Marcel_R I eventually did find something in how export prices are handled. Can you check if this version results in correct monetary values for you? It now will net the total exported kWh and imported kWh per 15 minute period, and then uses either the export or the import tariff. This is how (I hope!) all (or most?) power companies bill. But if the energy company bills the imported and exported kWh meters completely separate from one another, I would need to implement a big change in the architecture of PbtH. So I hope this fix works for you!

---

<div class="post-metadata">

**Author:** ![Marcel\_R](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_r/32/47933_2.png) [@Marcel\_R](https://community.homey.app/u/Marcel_R)\
**Post date:** [May 19, 2026, 9:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3905 "2026-05-19T09:44:26Z")

</div>

First test (=1 day) results are positive! 😃 Monetary calculations PbtH makes now do exactly match with my calculations and calculations of energy company.

> [@Gruijter](#):
>
> This is how (I hope!) all (or most?) power companies bill.

In theory they should all measure (and calculate €) the same way. There is basically only one correct way: usage&return kWh x tariff € (usage&return) = invoice. Of course (only!) a few cents monthly can be explained by rounding off differently.

The way energy companies report the data can differ. My energy company doesn’t report the nett usage, but the used and returned power separately, so a simple calculation is required for the nett usage/payment (whoever wants/needs can create flows/scripts for this, in my opinion no need to change PbtH). However, the **nett** usage/due payment (= calculated by PbtH) is ‘universal’ and seems to be correct in this new release (and wasn’t in previous releases). 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:** [May 19, 2026, 9:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3906 "2026-05-19T09:59:53Z")

</div>

> [@Marcel\_R](#):
>
> There is basically only one correct way: usage&return kWh x tariff € (usage&return) = invoice

Are you sure this is done by ALL energy providers in ALL EU?

---

<div class="post-metadata">

**Author:** ![Marcel\_R](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_r/32/47933_2.png) [@Marcel\_R](https://community.homey.app/u/Marcel_R)\
**Post date:** [May 19, 2026, 10:28am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3907 "2026-05-19T10:28:05Z")

</div>

Not ALL EU (well, in theory, it should, but I don’t know for all EU countries), but energy companies in Netherlands are monitored (ACM). The calculation should be same, the tariffs (flex per kWh and fixed, like daily costs, etc.) of course can vary (but all tariffs charged must be available for customers).

---

<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:** [May 20, 2026, 7:15am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3908 "2026-05-20T07:15:42Z")

</div>

@PvWoody many Thx for you donation. Much appreciated! ❤🍻

---

<div class="post-metadata">

**Author:** ![Jakko\_Paadik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jakko_paadik/32/120805_2.png) [@Jakko\_Paadik](https://community.homey.app/u/Jakko_Paadik)\
**Post date:** [May 21, 2026, 3:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3909 "2026-05-21T15:29:56Z")

</div>

I have constant problem with prices. At midnight it resets all hourly prices to one lowest price of a day and thats it!

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/47fec6b31b74f9879a42f33e1eb3978f5c7e0f56.png)

---

<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:** [May 21, 2026, 3:58pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3910 "2026-05-21T15:58:25Z")

</div>

Here also problems. I think after the update of Homey today

 ![IMG_1296](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b6c3c7ce46fd5ec14f71c0bf7cffa4617c04e198.png)

 ![IMG_1295](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/a/8a7727cfa4f7054660cebfc7f35d2dc06c364e51.png)

---

<div class="post-metadata">

**Author:** ![Lars\_Faber](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lars_faber/32/8118_2.png) [@Lars\_Faber](https://community.homey.app/u/Lars_Faber)\
**Post date:** [May 21, 2026, 6:55pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3911 "2026-05-21T18:55:26Z")

</div>

I think it’s not the Homey update. I have a 2019 Homey pro and didn’t installed the new firmware yet. And i have the same issue. Maybe something with the Homey API.

---

<div class="post-metadata">

**Author:** ![Jakko\_Paadik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jakko_paadik/32/120805_2.png) [@Jakko\_Paadik](https://community.homey.app/u/Jakko_Paadik)\
**Post date:** [May 21, 2026, 8:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3912 "2026-05-21T20:15:57Z")

</div>

I noticed it few weeks ago and now i just keep an eye on that and it happens pretty often…right now i disabled all flows using it…

---

<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:** [May 22, 2026, 6:41pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3913 "2026-05-22T18:41:25Z")

</div>

I use my own ENTSO-E API key, no problems noticed same price as Zonneplan gives me.

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

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