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

<div class="post-metadata">

**Author:** ![Hans-Christian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans-christian/32/68056_2.png) [@Hans-Christian](https://community.homey.app/u/Hans-Christian)\
**Post date:** [November 23, 2023, 9:52am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1901 "2023-11-23T09:52:30Z")

</div>

The Prices in the app seems to match the prices from Nordpool. I just made a change and app will now trigger at 11. am and also output the price to check if the reported prices matches.

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [November 24, 2023, 7:56am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1902 "2023-11-24T07:56:26Z")

</div>

I’m having issues when trying to add Extra Tome Of Day Markup.  
Extra markup should start at 17 (5pm) but whenever I save the changes, prices increase now which is not 5 pm (17)  
What am I doing wrong?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/8/48260cdda8cfada60eb50449fc24aa8dc9707a3a.png)

---

<div class="post-metadata">

**Author:** ![Hans-Christian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans-christian/32/68056_2.png) [@Hans-Christian](https://community.homey.app/u/Hans-Christian)\
**Post date:** [November 24, 2023, 7:56am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1903 "2023-11-24T07:56:37Z")

</div>

@Gruijter did not get a proper test yesterday.

Tonight, heater turned on by 04.00 when the price was 0,45 nok. This was the hour with lowest price during the night.

Looking at the prices and the period. it seems like the period with lowest price starts already at 1am with 0,59 followed by 0,58 - 0,55 bant the then lowest at 0,45.

Since I am using the card “average price the coming 4 hours in 9 hours before 7o´clock” I would imagine it would trigger already at 1 am to benefit from the “average”. At 5 am the price rises to 0,63 - ending at 8 am 0,89. The Nordpool prices seems to match the prices in the app, and I can´t figure out what I am doing wrong here…

Best Regards  
Hans-Chr.

 ![IMG_2406](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4b6c997dd7750b8051c254efc9940faa0765f861.jpeg)  
 ![IMG_2407](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e409de2d5dc046675d1a4a22fb0ed32c360260e.jpeg)  
 ![Skjermbilde 2023-11-24 kl. 08.59.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/7/57e5bcacd0002173e7cd8795bb78a4353ade5462.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:** [November 24, 2023, 8:17am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1904 "2023-11-24T08:17:03Z")

</div>

> [@Yestond](#):
>
> Extra markup should start at 17 (5pm)

You also have to add when the extra markup ends. So e.g. if the markup is from 17-22, you enter `17:0.42;22:0`

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [November 24, 2023, 8:27am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1905 "2023-11-24T08:27:14Z")

</div>

> [@Gruijter](#):
>
> 17:0.42;22:0

I’ll try that right away - thanks for quick response @Gruijter 🙏

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [November 24, 2023, 9:03am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1906 "2023-11-24T09:03:42Z")

</div>

Worked like a charm 🙂  
Can you give an example of multiple time changes during a day?  
Eg. to fit this chart:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/4/64e340ddd499cf2c632fd97c38057438f9ee0c77.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:** [November 24, 2023, 10:05am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1907 "2023-11-24T10:05:23Z")

</div>

> [@Yestond](#):
>
> example of multiple time changes during a day?

0:0;6:30;17:40;21:30

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [November 24, 2023, 11:00am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1908 "2023-11-24T11:00:15Z")

</div>

Hi all, I did an app for this:

> **[StecaGrid](https://homey.app/en-dk/app/com.steca.stecagrid/StecaGrid/)**
>
> Coolcept inverters for single-family houses and residential buildings

Feedback appreciated.

---

<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:** [November 24, 2023, 10:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1909 "2023-11-24T22:03:21Z")

</div>

Hi @Kim_Kokholm very nice, I have a coolcept 4200 and immediately tried to test this app.

Can we discuss this app in a separate [APP] topic?

[EDIT] Removed feedback and moved to topic mentioned below.

---

<div class="post-metadata">

**Author:** ![Kim\_Kokholm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kim_kokholm/32/91519_2.png) [@Kim\_Kokholm](https://community.homey.app/u/Kim_Kokholm)\
**Post date:** [November 24, 2023, 10:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1910 "2023-11-24T22:33:26Z")

</div>

> [@\[APP\]\[Pro\] StecaGrid](https://community.homey.app/t/app-pro-stecagrid/95676):
>
> Thread for StecaGrid Feel free to add constructive feedback.

Join me there (very lonesome atm)

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [November 25, 2023, 7:21am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1912 "2023-11-25T07:21:28Z")

</div>

@Gruijter Thanks for helping out an imbecile like me 😃  
Can you make the same example with price markups as well I just cant seem to get the logic right 😂  
So say for example:  
24-6 = raw price  
6-17 = +0.2  
17-21 = +0.4  
24-6 = +0.2

---

<div class="post-metadata">

**Author:** ![vikino](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vikino/32/90198_2.png) [@vikino](https://community.homey.app/u/vikino)\
**Post date:** [November 26, 2023, 10:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1913 "2023-11-26T22:29:31Z")

</div>

Hi,  
it is possible to get energy counter for device without power meter? Watter heater in controlled by sonoff (tasmota) and i set in device preferences consumption when it is powered on.

Thank you

---

<div class="post-metadata">

**Author:** ![Hans-Christian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hans-christian/32/68056_2.png) [@Hans-Christian](https://community.homey.app/u/Hans-Christian)\
**Post date:** [November 28, 2023, 9:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1914 "2023-11-28T09:44:38Z")

</div>

@Gruijter, Did you have a look at this? Looking into this over a few more days it seems like water heater always turns on at the hour with lowest price, so it do not count the “period” with lowest price.

---

<div class="post-metadata">

**Author:** ![KarlO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/karlo/32/79886_2.png) [@KarlO](https://community.homey.app/u/KarlO)\
**Post date:** [November 29, 2023, 10:07am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1915 "2023-11-29T10:07:07Z")

</div>

I am using values from PBTH’s summarizer for my Pulse power meter to compute the monthly Norwegian Electricity Subsidy amount. Hence I log values every hour to check my calculation. Overnight I noticed PBTH for my Pulse Tibber power meter appears to skip an hour, with roughly double values the next hour. Not a big problem, but I could not see a reason for it, so just curious behavior for that summarizer. My other summarizers did not skip a beat (except the ones for Namron wall mounted heaters, where the energy occasionally jumps up and down by large values, unfortunately).  
The app was not updated and Homey did not reboot or update the firmware. Insights show no discontinuity for the Pulse power meter at that time either.

 ![Screenshot 2023-11-29 105854](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0828de27a1d7f08a88f0e902b1c5374014b84d4.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:** [November 29, 2023, 10:25am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1916 "2023-11-29T10:25:27Z")

</div>

I dont what exactly you log, and how. But if you take a sample before PBTH was able to handle the new hour data, this can happen. PBTH will wait a few minutes after every whole hour to receive an update from the meter. How long it waits is a setting.

---

<div class="post-metadata">

**Author:** ![KarlO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/karlo/32/79886_2.png) [@KarlO](https://community.homey.app/u/KarlO)\
**Post date:** [November 29, 2023, 10:29am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1917 "2023-11-29T10:29:20Z")

</div>

Thanks for replying. It’s not by any means a problem, just curious behavior for that summarizer. Insights show that hour “missing” for “kWh prev hour” (and “Money Prev Hour”), but “kWh this hour” behaves normally.

 ![Screenshot 2023-11-29 112823](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d01eabb1d565168497c5615f213c262d2cd7da45.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:** [November 29, 2023, 11:02am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1918 "2023-11-29T11:02:25Z")

</div>

So here it seems the hour between 4 and 5 am is shifted. Extremely difficult for me to figure out why though. Will keep it in mind when I dig through my code next time. Thx!

---

<div class="post-metadata">

**Author:** ![Matti\_Hirvonen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matti_hirvonen/32/79184_2.png) [@Matti\_Hirvonen](https://community.homey.app/u/Matti_Hirvonen)\
**Post date:** [November 30, 2023, 12:18pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1919 "2023-11-30T12:18:07Z")

</div>

Hi! I have shelly 3 em. Paired it with PBTH but readings in summarizer seems to come only from one phase? Also tried via flow (total power / energy) and virtual device but readings doesen´t seem to be right. Any hints for this?

---

<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:** [November 30, 2023, 1:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1920 "2023-11-30T13:45:33Z")

</div>

can you share a screenshot of the Shelly device (in Shelly app), showing what values you would expect PBTH to handle, and what value is actually used? A screenshot of the device capabilities also help a lot: [https://tools.developer.homey.app/tools/devices](https://tools.developer.homey.app/tools/devices)

---

<div class="post-metadata">

**Author:** ![Matti\_Hirvonen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matti_hirvonen/32/79184_2.png) [@Matti\_Hirvonen](https://community.homey.app/u/Matti_Hirvonen)\
**Post date:** [November 30, 2023, 2:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1921 "2023-11-30T14:25:44Z")

</div>

This is the shelly 3em current realtime consumption from all three phases that should be summed up for consumption calculations.

 ![em3 total power.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0b3bb4e0c54eb0d993cf0ac30761f063690285f.png) ![image.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6ab0f057edda75f274ff14ba77543fdae58db03.png)

to 30. marrask. 2023 klo 15.55 Robin Gruijter via Homey Community Forum ([notifications@athom.discoursemail.com](mailto:notifications@athom.discoursemail.com)) kirjoitti:

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

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