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

<div class="post-metadata">

**Author:** ![Killerbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/killerbert/32/109031_2.png) [@Killerbert](https://community.homey.app/u/Killerbert)\
**Post date:** [December 6, 2024, 8:26pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2738 "2024-12-06T20:26:45Z")

</div>

I agree.

I did send the logs to:  
2a5a0846-4920-4c27-af63-6e60d77fc38b

---

<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 6, 2024, 8:30pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2739 "2024-12-06T20:30:12Z")

</div>

Ah, I think you have price predictions enabled, correct?  
Price predictions is broken at the moment, so you should disable it.

---

<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:** [December 6, 2024, 8:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2740 "2024-12-06T20:32:54Z")

</div>

> [@Gruijter](#):
>
> Price predictions is broken at the moment, so you should disable it.

This fixed it, Robin.

---

<div class="post-metadata">

**Author:** ![Killerbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/killerbert/32/109031_2.png) [@Killerbert](https://community.homey.app/u/Killerbert)\
**Post date:** [December 6, 2024, 8:34pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2741 "2024-12-06T20:34:54Z")

</div>

Correct.  
1: Changed the settings (price predictions) → still the same  
2: Restart app → works normal again

Thanks for the fix

---

<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:** [December 6, 2024, 8:56pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2742 "2024-12-06T20:56:00Z")

</div>

Didn’t need to restart the app. Just FYI.

---

<div class="post-metadata">

**Author:** ![Aybee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aybee/32/80977_2.png) [@Aybee](https://community.homey.app/u/Aybee)\
**Post date:** [December 9, 2024, 6:13pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2743 "2024-12-09T18:13:08Z")

</div>

We wrote in the German thread. I don’t get any of the German prices displayed, not even with the LU version.

I have created a support log for you  
e68c31d3-5082-4020-858f-b42564551075

---

<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 9, 2024, 6:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2744 "2024-12-09T18:40:47Z")

</div>

I cannot reproduce your issue. German prices working good here.

 ![1000004557](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/8292ffef150408e5cd2391cf7a7220eeebce187e.jpeg)  
 ![1000004558](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1c27f9e488d2d52b7e2e4a73eafe4baf7f5db708.jpeg)

Arr you using the latest PBTH version?

---

<div class="post-metadata">

**Author:** ![Aybee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aybee/32/80977_2.png) [@Aybee](https://community.homey.app/u/Aybee)\
**Post date:** [December 9, 2024, 6:49pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2745 "2024-12-09T18:49:21Z")

</div>

v6.6.5

Strange, I can’t see any prices. I’ve already restarted the app but to no avail.

Edit: Crazy now I see the price 🤣

But when I change something in the settings I get a timeout 1000ms error and it doesn’t apply the settings e.g. price per kw/h additional

 ![1000039202](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/1/21c6e330c917967fb968688d2db2863173edd465.jpeg)

Is it not possible for me to see the price as shown by Tibber, for example, with taxes and fees? The fees are always changing and are not fixed.

---

<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 10, 2024, 11:51am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2746 "2024-12-10T11:51:16Z")

</div>

> [@Aybee](#):
>
> But when I change something in the settings I get a timeout 1000ms error and it doesn’t apply the settings e.g. price per kw/h additional

Maybe this helps: When you change settings, the device is restarted by PBTH app. This takes a couple of seconds. Just exit the settings screen and device pages and wait until red exclamation mark on device is gone. After that open device and settings again to see (effects off) your change.

---

<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 10, 2024, 3:01pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2747 "2024-12-10T15:01:15Z")

</div>

@Chris_Lock Many thanks for your donation! ❤🍻

---

<div class="post-metadata">

**Author:** ![MRK](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@MRK](https://community.homey.app/u/MRK)\
**Post date:** [December 12, 2024, 7:21pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2748 "2024-12-12T19:21:44Z")

</div>

![1000016555](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/859ceb76e3151ddb565cf0d720f1c11a1f57c755.jpeg)

Which one do i need for Tibber gas prices?

---

<div class="post-metadata">

**Author:** ![Steven\_Bareman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steven_bareman/32/31404_2.png) [@Steven\_Bareman](https://community.homey.app/u/Steven_Bareman)\
**Post date:** [December 12, 2024, 7:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2749 "2024-12-12T19:40:24Z")

</div>

Leba 😉

---

<div class="post-metadata">

**Author:** ![evanhemmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evanhemmen/32/79511_2.png) [@evanhemmen](https://community.homey.app/u/evanhemmen)\
**Post date:** [December 13, 2024, 7:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2750 "2024-12-13T07:20:04Z")

</div>

Kindly asking for help again.

Maybe my text was too long or it just was not interesting 😇.

In short:

Is there a possibility to calculate the difference between minimum and maximum hour prices for the known period ahead?

1. Calculate price difference
2. Toggle actions based on calculated price difference (X).

I’m kinda convinced this should work with PBTH, but also looked for other energy price apps to extract data in a simple way. But no succes yet.

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [December 13, 2024, 9:46am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2751 "2024-12-13T09:46:10Z")

</div>

Good morning, I hope someone can help me. I have created a HomeWizard (electricity)\_Power (probably to read the prices?).

But I get completely wrong prices, I have a dynamic contract with Zonneplan. Can someone help me with this? I get the comment, when filling in current tariff per kWh (the tariff is used to calculate the monetary value. it can be dynamically adjusted via a flow/DAP) - but how do I create this?

To be sure, I will add all the pictures here in the hope that someone can help me.

 ![IMG_8871](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/951066e32a5eaaee349f0a17bc4e7b4e8c0d587e.jpeg)  
 ![IMG_8872](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2a5c3b5fc5dfcdfb6a30f885647389d47110c526.jpeg)  
 ![IMG_8870](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f9d8a99e0f5150116df03470aa7965df156528a.jpeg)  
 ![IMG_8869](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/19966976d67e76e74ab238455fa0968915308a95.jpeg)  
 ![IMG_8873](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/1/41c688e746108b38e9f931efb3937b55c9e5e196.jpeg)

---

<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 13, 2024, 12:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2752 "2024-12-13T12:04:56Z")

</div>

The big lines for what I can think off:

- Use the JSON tag with hourly prices (save in a variable)
- Calculate price difference in a homey script and trigger action from this script (or save result in a variable and trigger action based on this variable).

---

<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 13, 2024, 12:07pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2753 "2024-12-13T12:07:17Z")

</div>

Did you use the “day ahead prices” device of PBTH

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [December 13, 2024, 12:12pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2754 "2024-12-13T12:12:26Z")

</div>

Yes, I think I have it:

 ![Scherm­afbeelding 2024-12-13 om 13.11.25](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/038c464be02ea6ec1954b7f35d8c771b18cc2254.png)

And I have this one:

 ![Scherm­afbeelding 2024-12-13 om 13.10.39](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a01ccac48d1c8c541c41a6870b2bc1aebb587683.png)

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [December 14, 2024, 10:17am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2755 "2024-12-14T10:17:26Z")

</div>

I do it like this:

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/630b7264e0cc9c6585fdba55573a6bff642b7d23.png)  
I just put a simple calculation by subtracting the lowest price of the day from the highest price of the day. Leaving the difference in a Homey variable.

You can use that variable to continue (or not) another flow:

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/3/d3d6e386aafa936025b83542dbcad63ce1e376d0.png)  
For example I do not charge / discharge a home battery if the difference is less than 0.09.

---

<div class="post-metadata">

**Author:** ![evanhemmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evanhemmen/32/79511_2.png) [@evanhemmen](https://community.homey.app/u/evanhemmen)\
**Post date:** [December 14, 2024, 10:38am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2756 "2024-12-14T10:38:33Z")

</div>

Thanks for the suggestions! Reaching new area’s of my Homey expertise here… 😉

The first one sounds doable with a little studying, but when it comes to scripts i’m a novice.

The solution from Satoer is more comfortable for me, will try that first. Thanks again.

---

<div class="post-metadata">

**Author:** ![evanhemmen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/evanhemmen/32/79511_2.png) [@evanhemmen](https://community.homey.app/u/evanhemmen)\
**Post date:** [December 14, 2024, 10:40am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2757 "2024-12-14T10:40:45Z")

</div>

This looks feasible. Why could’t I find this… 🙂.

Will give it a try, thanks!

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

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