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

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [November 10, 2020, 12:39pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/184 "2020-11-10T12:39:25Z")

</div>

I’ll wait till Homey v5 is released.

Just one more question/suggestion.

By default the devices reset the month meter at the end of the month.  
Wouldn’t it be possible to add in the settings of each device an option to chose the day wich we would like the month meter to reset?  
Has an example for me it would be much more useful if the month counters reset at the day 15 of 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:** [December 28, 2020, 5:28pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/185 "2020-12-28T17:28:35Z")

</div>

V2.2.1 is about to be released soon. Just a minor Homey API package update.

Get the test version here:

> **[Power by the Hour](https://homey.app/en-us/app/com.gruijter.powerhour/Power-by-the-Hour/)**
>
> Summarize the energy/water usage or (solar) production per hour, day, month and year. Use dynamic tariffs.

---

<div class="post-metadata">

**Author:** ![Steven\_Renders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steven_renders/32/29861_2.png) [@Steven\_Renders](https://community.homey.app/u/Steven_Renders)\
**Post date:** [January 13, 2021, 1:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/186 "2021-01-13T13:02:01Z")

</div>

Hi, I love this app!  
Would be totally cool if I could add multiple devices to the same aggregation. Like total consumption for all heaters or all lights.  
Donation coming up 😉

---

<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:** [January 13, 2021, 1:12pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/187 "2021-01-13T13:12:56Z")

</div>

Donation received. Many thx 🍻

To cumulate devices ,have a look at this app: [[APP] \< group \> (2.4.2 - Stable)](https://community.homey.app/t/3168)

I havent used it myself, but I think you can add multiple devices into one cumulated virtual device. You should then be able to add this virtual device to PBTH.

Let us know if that works for you 😉

---

<div class="post-metadata">

**Author:** ![Steven\_Renders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steven_renders/32/29861_2.png) [@Steven\_Renders](https://community.homey.app/u/Steven_Renders)\
**Post date:** [January 13, 2021, 5:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/188 "2021-01-13T17:47:00Z")

</div>

Great hint! That works perfectly actually and makes perfect sense.

First week with the Homey and learning every day 😉

---

<div class="post-metadata">

**Author:** ![wvduffelen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wvduffelen/32/34133_2.png) [@wvduffelen](https://community.homey.app/u/wvduffelen)\
**Post date:** [January 27, 2021, 8:00am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/189 "2021-01-27T08:00:58Z")

</div>

When I want to read out data with the app. Do I need to have a device plugged in to my P1 port of my smart meter? Or can I read out via the Enelogic site/webhook. I can’t find the solution for that (or I’m not looking at the right place).

When I want to add a device I only see devices that use power and I don’t see an option to add Enelogic.

Another option would be to buy a (second-hand) Plugwise P1. Does the Plugwise V1 work with the app or do you need a V3?

---

<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:** [January 27, 2021, 8:48am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/191 "2021-01-27T08:48:54Z")

</div>

PBTH can read any Homey device that has a meter\_power capability. If you have a P1 device paired with Homey, like the Youless LS120 or the Beeclear or the Plugwise Smile P1, it will also be able to read that. You first need to pair the P1 device using the Homey app belonging to the device. After doing that you can add the device to PBTH.

PBTH will only read information from Homey devices (real or virtual). It will not read cloud based information from energy managers like Enelogic. But with a Youless LS120 you can use the P1 data both within Homey and on the Enelogic cloud simultaneously.

Yes, PBTH can read devices from the Plugwise Smile P1 app ( ps Dont use the official Plugwise app for that, because it really sucks 😉) . And yes, the Plugwise Smile P1 app supports Smile V1, V2 and V3.

---

<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 25, 2021, 9:49pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/192 "2021-02-25T21:49:29Z")

</div>

Hi Robin, Any change on creating a trigger flow-card for change on “last hour” and maybe “last day” values? That way it is possible to use this in flows to e.g. write this values immediately to external database like influx using homey script.  
I read your suggestion about an hourly flow that writes the “last hour” value, but that way we don’t know when during that hour the value is written (and date time stamp is maybe 59 minutes later, or is the hourly flow triggered precisely on the whole hour?)

---

<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 25, 2021, 9:57pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/193 "2021-02-25T21:57:21Z")

</div>

> [@Torch1969](#):
>
> or is the hourly flow triggered precisely on the whole hour?

Yes, it is a cronjob exactly on the hour. So if you make a flow that is triggered just some seconds later you have the right values

---

<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 25, 2021, 10:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/194 "2021-02-25T22:00:30Z")

</div>

Ok didn’t know that, still learning about homey. That will do the job. Thx 👍

---

<div class="post-metadata">

**Author:** ![Ronald\_van\_Keulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronald_van_keulen/32/2828_2.png) [@Ronald\_van\_Keulen](https://community.homey.app/u/Ronald_van_Keulen)\
**Post date:** [March 9, 2021, 10:26am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/195 "2021-03-09T10:26:41Z")

</div>

Hi, i’m experiencing the following after reboot of Homey.  
Some ‘meters’ ending in Errol.  
After restart of the pbth app all is ok.  
I suppose it is a timing issue

---

<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:** [March 9, 2021, 10:41am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/196 "2021-03-09T10:41:11Z")

</div>

weird. And the error does not go away within an hour?

---

<div class="post-metadata">

**Author:** ![Ronald\_van\_Keulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronald_van_keulen/32/2828_2.png) [@Ronald\_van\_Keulen](https://community.homey.app/u/Ronald_van_Keulen)\
**Post date:** [March 9, 2021, 12:10pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/197 "2021-03-09T12:10:16Z")

</div>

No, once a week a reboot on roughly midnight. Net morning the errors are still visible

---

<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:** [March 9, 2021, 12:10pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/198 "2021-03-09T12:10:55Z")

</div>

Ok, thx 4 reporting. Will look into that.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [March 9, 2021, 12:18pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/199 "2021-03-09T12:18:07Z")

</div>

Have it too. As a workaround I restart the app 10 mins after a reboot.

---

<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:** [March 9, 2021, 8:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/200 "2021-03-09T20:45:56Z")

</div>

@Ronald_van_Keulen @Edwin_D I can reproduce the issue. Weird I have never noticed this before. I wonder if it is related to certain Homey firmware versions. Did you have this issue always, or did it start on a certain firmware level?

---

<div class="post-metadata">

**Author:** ![Ronald\_van\_Keulen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronald_van_keulen/32/2828_2.png) [@Ronald\_van\_Keulen](https://community.homey.app/u/Ronald_van_Keulen)\
**Post date:** [March 9, 2021, 8:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/201 "2021-03-09T20:50:36Z")

</div>

I had this on homey vs 4.2 and now on vs 5

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [March 9, 2021, 9:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/202 "2021-03-09T21:05:14Z")

</div>

For me it started around the stable version, but my unit was out for repair the last few RC’s.

---

<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:** [March 11, 2021, 8:52pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/203 "2021-03-11T20:52:24Z")

</div>

@Gruijter A feature request. I think a lot of users of this app use it to monitor the production of solar panels. It would be nice to give information if you’re on target for your daily, monthly and yearly production.

In settings add the possibility to indicate if you want to monitor solar panel targets. If yes, enter the estimated production for each month of year. Based on that the app can calculate the proportional production for the day, month and year (percentage).

For instance if monthly target is 600 kWh, the daily target is 20kWh (for 30 days month). If day production is 15kWh, the proportional production is 75%.

At this moment I have implemented this in a homey script, triggered once a day at sunset with the value’s from this app given me this notification:

 ![Schermafbeelding 2021-03-11 om 21.47.33](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/0291de696dadf56dba78411634330d1953a76c54.png)

If you’re interested I can share the script for the calculations.

---

<div class="post-metadata">

**Author:** ![Martijn\_Hoogenbosch](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_hoogenbosch/32/10647_2.png) [@Martijn\_Hoogenbosch](https://community.homey.app/u/Martijn_Hoogenbosch)\
**Post date:** [March 12, 2021, 7:38am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/204 "2021-03-12T07:38:02Z")

</div>

Yes, I’m interested in the script

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

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