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

<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:** [July 6, 2024, 5:38am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2434 "2024-07-06T05:38:10Z")

</div>

No the price was under 0

---

<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:** [July 16, 2024, 2:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2435 "2024-07-16T02:55:22Z")

</div>

The new prices received for tomorrow triggers at midnight, resulting ofcourse with an empty list. Should this only trigger when there is really new prices?

![Screenshot 2024-07-16 at 5.53.22](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cc3c94e631230e7c251a25b5814cf9ebbe75fa2a.png)

---

<div class="post-metadata">

**Author:** ![YouSeeStefan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/youseestefan/32/88115_2.png) [@YouSeeStefan](https://community.homey.app/u/YouSeeStefan)\
**Post date:** [July 21, 2024, 6:41am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2436 "2024-07-21T06:41:40Z")

</div>

Hi I am new to this app. Can someone help me with a flow that when the price is the lowest that my smart plug or something turns on.

---

<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:** [July 21, 2024, 8:08am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2437 "2024-07-21T08:08:56Z")

</div>

![1000003054](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/abdd7b32c8207b685d0b039f289d690c702b76d9.jpeg)

---

<div class="post-metadata">

**Author:** ![YouSeeStefan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/youseestefan/32/88115_2.png) [@YouSeeStefan](https://community.homey.app/u/YouSeeStefan)\
**Post date:** [July 21, 2024, 11:52am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2438 "2024-07-21T11:52:40Z")

</div>

@Gruijter Thanks that was simple 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:** [July 23, 2024, 10:47am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2439 "2024-07-23T10:47:06Z")

</div>

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

- homey-api@3.5.2

---

<div class="post-metadata">

**Author:** ![Jorgen\_Rasmussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorgen_rasmussen/32/79349_2.png) [@Jorgen\_Rasmussen](https://community.homey.app/u/Jorgen_Rasmussen)\
**Post date:** [July 24, 2024, 7:54am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2440 "2024-07-24T07:54:54Z")

</div>

I have a flow where I want to record the hour each day where most energy is used, but for some reason the kWh prev. hour gets greater that #max\_kw is never triggered so max\_kw remains 0. What am I not understanding here?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d40070cb8f333c33fb8c6efea45ec8b34f65db9.png)

---

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [July 24, 2024, 8:12am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2441 "2024-07-24T08:12:50Z")

</div>

Hi @Jorgen_Rasmussen ,  
that’s easy and I understand that you got trapped.  
Usually the **kWh prev.hour** is greater than 0.  
So when you set the initial value to zero at 00:10 am and you had just a little consumption between 11pm and midnight, the value is already greater than zero and thus will never _become_ greater than zero.  
You can try to set at 1:01 am the **max\_kw** to **kWh prev. hour** as start point, which I think should work,  
Or you check in the upper string for _ **kWh prev. hour** has changed_ and add an _And…_ _ **kWh prev. hour** is greater than **max\_kw** _. That will for sure work.  
Hope that helps. 😃

---

<div class="post-metadata">

**Author:** ![Damian](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Damian](https://community.homey.app/u/Damian)\
**Post date:** [July 25, 2024, 9:47am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2442 "2024-07-25T09:47:05Z")

</div>

Hi, is it possible to reset the flow counter to zero every first day of the month?

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [July 25, 2024, 4:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2443 "2024-07-25T16:06:23Z")

</div>

The graphic are gone.

In the virtual device I get “An error occurred while loading the image.”

Did PtP and restarted the app.

**Edit**  
@Gruijter  
20:47 everything OK.

---

<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:** [July 25, 2024, 4:18pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2444 "2024-07-25T16:18:44Z")

</div>

> [@Damian](#):
>
> reset the flow counter

What do you mean by flow counter?

---

<div class="post-metadata">

**Author:** ![Damian](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@Damian](https://community.homey.app/u/Damian)\
**Post date:** [July 25, 2024, 5:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2445 "2024-07-25T17:05:33Z")

</div>

I would like the energy counter that would be fed with data via flow to count from zero every month

---

<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:** [July 25, 2024, 5:42pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2446 "2024-07-25T17:42:06Z")

</div>

Why would you want that? The ‘kWh this month’ and ‘kWh last month’ already start at 0 every month.

---

<div class="post-metadata">

**Author:** ![Jorgen\_Rasmussen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorgen_rasmussen/32/79349_2.png) [@Jorgen\_Rasmussen](https://community.homey.app/u/Jorgen_Rasmussen)\
**Post date:** [July 26, 2024, 7:23am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2447 "2024-07-26T07:23:02Z")

</div>

Thanks, that seems logical once you have it explained. I tried the 1:01 methode and that works.

---

<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:** [July 26, 2024, 7:58am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2448 "2024-07-26T07:58:27Z")

</div>

Hi,  
I have been asking this a few times before but I want to check in to see if there is any solution to my issues with negative readings. I did an approach and this issue again after a few month but the issue appears again. After a few days I have multiple days with negative consumption and costs. I use mostly Shelly devices and they never record any negative numbers in their native apps.  
The issue might be that every day at midnight the first reading of the days is several thousand kWh negative. I mean like several hundred thousand! Even for one reading this mess up everything for the rest of the day and month.  
I even have a virtual PBTH unit where I remove all the negative readings and replace them with 0 before sending it to PBTH and they read -25kwh yesterday anyway. How is this?  
I really really want this to work. My Easee charger has work for years without any issues as I have with Shelly and Tibber Pulse. Please let me send you any data if want to have look at 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:** [July 26, 2024, 8:41am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2449 "2024-07-26T08:41:50Z")

</div>

If shelly gives a wrong kWh at midnight that messes things up. Garbage in is garbage out…

But you can try using watts as source.

---

<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:** [July 26, 2024, 9:08am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2450 "2024-07-26T09:08:18Z")

</div>

@Theo_de_Koning Many thx for your kind donation! Much appreciated 🥰❤

---

<div class="post-metadata">

**Author:** ![DirkH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkh/32/78952_2.png) [@DirkH](https://community.homey.app/u/DirkH)\
**Post date:** [July 26, 2024, 11:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2451 "2024-07-26T11:59:59Z")

</div>

Thanks @Gruijter ,  
I was not able to find a reliable source, but obviously since July, 17th the forecasts are quite reasonable again.

---

<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:** [July 31, 2024, 6:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2452 "2024-07-31T18:59:24Z")

</div>

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

- homey-api@3.6.0

---

<div class="post-metadata">

**Author:** ![Amersfoort](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Amersfoort](https://community.homey.app/u/Amersfoort)\
**Post date:** [August 1, 2024, 1:36pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2453 "2024-08-01T13:36:37Z")

</div>

Goal: web api data of daily solar energy for one year.

I’m trying to get the daily solar power for a whole year with the Homey web api. I only manage to get the today’s data. All data is available in a Homey Insights graph and it can be exported to a csv.

Could Power by the hour retroactively gather data of current year and put it in a graph to use it in a web api? Or is there another smart solution (export csv is not smart)?

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

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