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

<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:** [February 1, 2024, 10:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2187 "2024-02-01T10:13:36Z")

</div>

new test version 6.2.1: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test/)

- DAP: forecast afternoon bug fixed.
- German translation updated.
- homey-api@3.4.20

Thx @DirkG for the German translation update!  
@Torch1969 @CaptainVoni I created a quick untested fix (I hope) for the missing forecast between 13 and 14 hours. Can you please test?

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 1, 2024, 11:51am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2188 "2024-02-01T11:51:54Z")

</div>

# To all German-speaking PbtH users.

If the translation is wrong or unclear, please let me know. The latest translations mainly refer to (PV) batteries. As I don’t own any myself, I’m not familiar with the right wording.

Thx!

---

<div class="post-metadata">

**Author:** ![CaptainVoni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/captainvoni/32/3549_2.png) [@CaptainVoni](https://community.homey.app/u/CaptainVoni)\
**Post date:** [February 1, 2024, 12:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2189 "2024-02-01T12:06:39Z")

</div>

Installed the test version and checked a few times after 13:00: prices came in early today at 13:03 (of course 🤦‍♂️). Until then I saw estimated prices and after that the prices for tomorrow were the actual prices. I never had at any time no prices for tomorrow.

I will keep an eye on this in the next days and try to catch a day when prices come in late.

---

<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:** [February 1, 2024, 12:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2190 "2024-02-01T12:32:06Z")

</div>

Thx for testing!  
And many thanks for your kind donation @CaptainVoni ! Much appreciated 🍻 ❤

---

<div class="post-metadata">

**Author:** ![cstromme](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cstromme/32/60204_2.png) [@cstromme](https://community.homey.app/u/cstromme)\
**Post date:** [February 1, 2024, 1:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2191 "2024-02-01T13:45:23Z")

</div>

I’m trying to understand the “The price is one of the number lowest in the period hours before time o’clock” card. I’m trying to use this to figure out when to charge my car. I only want it to charge after 19:00, and be fully charged by 07:00 the next morning. I might be connecting it before 19, and I might be connecting it after that time. I’m getting the number of hours of charging needed to reach the cap from another app, and I’m running the flow to check both once you connect the car, and every hour.

If I do for instance “The price is one of the **3** lowest in the **12** hours before **7** o’clock”, will it then look at the price right now and see if it is lower or equal to any of the 3 lowest hours in the hours between 19:00 that night and 7 the next morning?

If yes… What happens if it’s 20:00 at night? Will it then only look at the next 11 hours?

If no, what exactly does it do?

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [February 1, 2024, 2:14pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2192 "2024-02-01T14:14:02Z")

</div>

> [@Gruijter](#):
>
> If you enable ‘Send tariff’ all PBTH power summarize devices will be automatically updated every hour

Hi @Gruijter

I am wondering if there is a way to have a virtual DAP or a DAP with a virtual (non EU) country (where I can set the current price myself), so its price can be used by the PBTH power summarize devices.

(I hesitate to create a flow where I overwrite the price of an existing DAP that keeps updating hourly.)

---

<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:** [February 1, 2024, 3:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2193 "2024-02-01T15:22:46Z")

</div>

> [@Rrrr](#):
>
> where I can set the current price myself

For ‘external’ sources you can only send the current price to a price group via a flow. And you can do that as often as needed (e.g. every hour).  
But there is no way to use future prices. Only the EU (ENTSO-E) can be used as source for that.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [February 1, 2024, 3:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2194 "2024-02-01T15:25:08Z")

</div>

> [@Gruijter](#):
>
> to a price group

What is a price group?

---

<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:** [February 1, 2024, 3:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2195 "2024-02-01T15:29:08Z")

</div>

> [@cstromme](#):
>
> “The price is one of the **3** lowest in the **12** hours before **7** o’clock”

That is exactly what it does. The card will be true during the 3 lowest hours in the 12 hours before 7 o’clock 😜  
12 hours before 07:00 starts at 19:00 (in the evening), and includes all hours untill and including 06:00 next morning. So the card will give ‘true’ if the price of the current hour is one of the 3 lowest.

> [@cstromme](#):
>
> if it’s 20:00 at night? Will it then only look at the next 11 hours

No. It looks at the 12 hours starting at 19:00

---

<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:** [February 1, 2024, 3:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2196 "2024-02-01T15:32:58Z")

</div>

> [@Rrrr](#):
>
> What is a price group?

You can set every summarizer (e.g. a power socket or your main meter) to be part of a price group. By default that price group is ‘1’. A DAP sends its current price every hour to a selected price group (By default it is disabled, so you need to set it to ‘1’ when you want all summarizers to use the DAP price).

Alternatively to using DAP you can send any price to any price group via a flow. So that is what you need to do to use your external source.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [February 1, 2024, 3:43pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2197 "2024-02-01T15:43:39Z")

</div>

Found it. I am sorry that I did not see it before. Thank you.

---

<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:** [February 1, 2024, 3:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2198 "2024-02-01T15:45:16Z")

</div>

> [@Gruijter](#):
>
> @Torch1969 @CaptainVoni I created a quick untested fix (I hope) for the missing forecast between 13 and 14 hours. Can you please test?

I will keep an eye on this also, but as @CaptainVoni says, we have to wait until this specific situation occurs……

---

<div class="post-metadata">

**Author:** ![cstromme](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cstromme/32/60204_2.png) [@cstromme](https://community.homey.app/u/cstromme)\
**Post date:** [February 1, 2024, 10:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2200 "2024-02-01T22:25:05Z")

</div>

> [@Gruijter](#):
>
> > [@cstromme](#):
> >
> > “The price is one of the **3** lowest in the **12** hours before **7** o’clock”
> 
> That is exactly what it does. The card will be true during the 3 lowest hours in the 12 hours before 7 o’clock 😜  
> 12 hours before 07:00 starts at 19:00 (in the evening), and includes all hours untill and including 06:00 next morning. So the card will give ‘true’ if the price of the current hour is one of the 3 lowest.
> 
> > [@cstromme](#):
> >
> > if it’s 20:00 at night? Will it then only look at the next 11 hours
> 
> No. It looks at the 12 hours starting at 19:00

So it’ll look at the previous hour as well then? So if I want to know the lowest in the coming hours I’ll need to do some math to count the number of hours until 7 and then add that into the place where I had **12** in the original post?

---

<div class="post-metadata">

**Author:** ![Francesco\_Falconi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/francesco_falconi/32/41286_2.png) [@Francesco\_Falconi](https://community.homey.app/u/Francesco_Falconi)\
**Post date:** [February 4, 2024, 4:52pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2201 "2024-02-04T16:52:03Z")

</div>

Hello! I’m looking for this use case: every morning at 9am send an email (or telegram) the graph insight of per-hour usage of the previous day as per below. Is it something feasible?

 ![Screenshot 2024-02-04 alle 17.51.43](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/b/5b9306a5432564e74897084173aa917bbf544d44.png)

---

<div class="post-metadata">

**Author:** ![CaptainVoni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/captainvoni/32/3549_2.png) [@CaptainVoni](https://community.homey.app/u/CaptainVoni)\
**Post date:** [February 5, 2024, 1:11pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2202 "2024-02-05T13:11:43Z")

</div>

> @Torch1969 @CaptainVoni I created a quick untested fix (I hope) for the missing forecast between 13 and 14 hours. Can you please test?

@Gruijter Today prices came in late. Shortly after 13:00 I saw the following:

 ![IMG_9293](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/a/6a534af3b5d29bf1fa98f36f0baeedcf0569b6e0.jpeg)  
 ![IMG_9294](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7a9e8498e9312823be556b953057e40faa2ded06.jpeg)

Take a close look at the prices for “tomorrow” in the chart for “Next hours”.

I requested also the JSON for the next hours:

```auto
{"0":0.1274,"1":0.1521,"2":0.1777,"3":0.1875,"4":0.1965,"5":0.2026,"6":0.1965,"7":0.1915,"8":0.1821,"9":0.1734,"10":0.1616,"11":0.1818,"12":0.1576,"13":0.1534,"14":0.1512,"15":0.1538,"16":0.1623,"17":0.1745,"18":0.1856,"19":0.191,"20":0.189,"21":0.1816,"22":0.1733,"23":0.1683,"24":0.169,"25":0.175,"26":0.1842,"27":0.1935,"28":0.2,"29":0.2015,"30":0.1976,"31":0.1897,"32":0.1806,"33":0.1728,"34":0.1673}

```

At 14:03 the prices were updated:

 ![IMG_9296](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/3/d33432f3d9220a3ef7c5cb97b1932d893e17b028.jpeg)  
 ![IMG_9297](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/ea8eb28d742c450ec182ccebbde1f1bb62f9f27b.jpeg)

And here is the JSON for the next hours requested shortly afterwards.

```auto
{"0":0.1521,"1":0.1777,"2":0.1875,"3":0.1965,"4":0.2026,"5":0.1965,"6":0.1915,"7":0.1821,"8":0.1734,"9":0.1616,"10":0.1524,"11":0.1483,"12":0.1619,"13":0.1457,"14":0.1355,"15":0.1497,"16":0.1869,"17":0.1965,"18":0.1923,"19":0.1826,"20":0.1733,"21":0.1619,"22":0.1513,"23":0.15,"24":0.1594,"25":0.1727,"26":0.1797,"27":0.1903,"28":0.1915,"29":0.1915,"30":0.1867,"31":0.1811,"32":0.1694,"33":0.1622,"34":0.1818,"35":0.1576,"36":0.1534,"37":0.1512,"38":0.1538,"39":0.1623,"40":0.1745,"41":0.1856,"42":0.191,"43":0.189,"44":0.1816,"45":0.1733,"46":0.1683,"47":0.169,"48":0.175,"49":0.1842,"50":0.1935,"51":0.2,"52":0.2015,"53":0.1976,"54":0.1897,"55":0.1806,"56":0.1728,"57":0.1673}

```

So when prices are late:

- tomorrows prices are empty instead of the estimated prices
- tomorrows prices as returned for “next hours” are in fact the estimated prices for the day after tomorrow

Hope this helps.

---

<div class="post-metadata">

**Author:** ![CaptainVoni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/captainvoni/32/3549_2.png) [@CaptainVoni](https://community.homey.app/u/CaptainVoni)\
**Post date:** [February 5, 2024, 2:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2203 "2024-02-05T14:59:24Z")

</div>

Would it be possible to indicate somehow from which hour on prices are just estimates, i.e. as additional flow tag returned by “Provide prices JSON for XXX”?

---

<div class="post-metadata">

**Author:** ![Christophe\_Barres](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christophe_barres/32/32343_2.png) [@Christophe\_Barres](https://community.homey.app/u/Christophe_Barres)\
**Post date:** [February 5, 2024, 4:09pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2204 "2024-02-05T16:09:59Z")

</div>

Good morning  
I want to change the fixed price per flow on several Power by the hour devices.  
I use the flow card for each device.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f86ab10abcf86b57531145ea19ab2b1590018c4b.png)  
But I see that not all of them are updated.  
What could be the reason?  
Best regards

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [February 6, 2024, 2:37pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2205 "2024-02-06T14:37:01Z")

</div>

In the advanced settings of the PbtH devices, the same number of the _ **Update group** _ of the Flow card _ **Set electricity tariff to** _ must be filled into the menu item _**Tariff update group (Flow or DAP)**_

---

<div class="post-metadata">

**Author:** ![Christophe\_Barres](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christophe_barres/32/32343_2.png) [@Christophe\_Barres](https://community.homey.app/u/Christophe_Barres)\
**Post date:** [February 6, 2024, 5:57pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2206 "2024-02-06T17:57:26Z")

</div>

It’s OK

Thank you so much

Best regards

---

<div class="post-metadata">

**Author:** ![Sundlof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sundlof/32/51033_2.png) [@Sundlof](https://community.homey.app/u/Sundlof)\
**Post date:** [February 9, 2024, 10:04am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2207 "2024-02-09T10:04:22Z")

</div>

Hi,  
I am still having issues with both negative readings a few times a week and lost connection to the unit. I have 9 different units connected to a PBTH Summarizer. They all lose connection and stop reading. Leaving the small text under the reading saying “2 days ago” for example. Even though the unit is still working and a reboot of POTH or the Homey fixes the issue. Then it works for a few days then stops again. This goes for both Tibber Pulse and a Shelly devices.  
I have created a virtual unit that update from the same unit but from a flow and this never has any issues, keeps working even if the other stops.

So to my questions since I have found a work around. I don’t want to discard over 1 year of data. Can this data be “moved” to the virtual unit? Or can it be possible to disconnect the POTH unit from for example Tibber Pulse and start to update the reading from a flow instead? Change the source from Homey unit to virtual?

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

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