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

<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:** [August 29, 2021, 8:22am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/307 "2021-08-29T08:22:32Z")

</div>

Many thx for your donation! 🤗

And is PBTH still going up today?

---

<div class="post-metadata">

**Author:** ![Ton\_van\_Rijnsoever](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ton_van_rijnsoever/32/6351_2.png) [@Ton\_van\_Rijnsoever](https://community.homey.app/u/Ton_van_Rijnsoever)\
**Post date:** [August 29, 2021, 8:37am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/308 "2021-08-29T08:37:57Z")

</div>

Hi, will have to wait until tomorrow. This morning the daily reset was off. Can’t remember if I turned it on after adding the water meter again.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [August 29, 2021, 11:42am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/309 "2021-08-29T11:42:18Z")

</div>

Perhaps I overlooked, but I haven’t found the answer. PBTH works for my P1 meter, but the generated power is not shown. I only see the power used, not the return. Is this because the gateway I use is not using the correct capability (as was the case with the water gateway)?

This is the Homey App for the gateway [(click)](https://homey.app/en-ca/app/com.cyclone-software.smartgateways/Smart-Gateways/)

---

<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:** [August 29, 2021, 4:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/310 "2021-08-29T16:02:15Z")

</div>

I don’t know how @MarcelT has set up his code (I cannot find it on github). PBTH just uses the meter\_power. Whatever the source app puts in there will be used for PBTH. In my own case, using Youless as P1 meter and app, it is the total net power from the grid (consumed - delivered). But I also have a seperate meter just for my solar panels. In most cases using P1 will not show how much you actually produce yourself.

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [August 30, 2021, 8:58am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/311 "2021-08-30T08:58:59Z")

</div>

I am using the following capabilities:

```auto
        "measure_power",
        "measure_power.saldo",
        "measure_power.return",
        "meter_power.hourly",
        "measure_gas",
        "meter_gas",
        "meter_power.saldo",
        "meter_power",
        "meter_power.peak",
        "meter_power.offPeak",
        "meter_power.producedPeak",
        "meter_power.producedOffPeak",
        "measure_power.l1",
        "measure_power.returnl1",
        "measure_power.l2",
        "measure_power.returnl2",
        "measure_power.l3",
        "measure_power.returnl3",

```

---

<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:** [August 30, 2021, 9:15am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/312 "2021-08-30T09:15:08Z")

</div>

And why do you have a meter\_power and a meter\_power.saldo? What do you put in meter\_power?

---

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [August 30, 2021, 9:47am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/313 "2021-08-30T09:47:40Z")

</div>

Hi,  
In meter\_power I put PowerDelivered\_total. in saldo delivered-returned.

---

<div class="post-metadata">

**Author:** ![Ton\_van\_Rijnsoever](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ton_van_rijnsoever/32/6351_2.png) [@Ton\_van\_Rijnsoever](https://community.homey.app/u/Ton_van_Rijnsoever)\
**Post date:** [August 30, 2021, 11:53am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/314 "2021-08-30T11:53:21Z")

</div>

Hello @Gruijter , as you can see the hour and day consumption is OK. But the month and year consumption is not correct. Yesterday before 0:00 everything reset and checked to 0.

 ![Screenshot_20210830-135114_HomeWizard](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/1/6141d081fb193b9ef13d4592fa61220bcbe3c62b.jpeg)  
 ![Screenshot_20210830-132809_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c5b866c6b060b60a98d1340c9fa9939ebee18748.jpeg)

---

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

</div>

They seem correct to me when you only started yesterday. Did you fill in the start of month and start of year meter values? Since the source device does not provide the real water meter value you need to fill in negative numbers.

---

<div class="post-metadata">

**Author:** ![Ton\_van\_Rijnsoever](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ton_van_rijnsoever/32/6351_2.png) [@Ton\_van\_Rijnsoever](https://community.homey.app/u/Ton_van_Rijnsoever)\
**Post date:** [August 30, 2021, 12:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/316 "2021-08-30T12:29:00Z")

</div>

all values ​​started at zero

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [August 30, 2021, 1:09pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/317 "2021-08-30T13:09:18Z")

</div>

That might be the reason my PBTH power device is not showing what I want to see. In my case it shows the delivered power, but the returned power is not subtracted in the statistics.

---

<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:** [August 30, 2021, 2:07pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/318 "2021-08-30T14:07:51Z")

</div>

Indeed. And to know how much your solar panels produce you need a seperate meter for them anyways.

---

<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:** [August 30, 2021, 2:10pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/319 "2021-08-30T14:10:33Z")

</div>

Ton, I mean what did you fill in at the advanced device settings. You need to fill in negative numbers for month start and year start

 ![Screenshot_20210830-160841_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/3/d30113c5ca2e8786c28e1d9102cee0f1391afb73.jpeg)

---

<div class="post-metadata">

**Author:** ![Ton\_van\_Rijnsoever](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ton_van_rijnsoever/32/6351_2.png) [@Ton\_van\_Rijnsoever](https://community.homey.app/u/Ton_van_Rijnsoever)\
**Post date:** [August 30, 2021, 3:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/320 "2021-08-30T15:51:10Z")

</div>

I entered zero for all three

---

<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:** [August 30, 2021, 4:01pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/321 "2021-08-30T16:01:21Z")

</div>

> [@Gruijter](#):
>
> you need to fill in negative numbers

@Ton_van_Rijnsoever

Or do I not understand you maybe? You say this month and this year are incorrect. What do you expect them to be if you did not enter a number in the device settings?

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [August 30, 2021, 4:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/322 "2021-08-30T16:40:45Z")

</div>

@Gruijter  
Yep, I measure my panels separately!

---

<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:** [September 1, 2021, 7:00am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/323 "2021-09-01T07:00:22Z")

</div>

I’m not sure if you are experiencing issues with v2.5.0 Can I release it as stable?

---

<div class="post-metadata">

**Author:** ![Ton\_van\_Rijnsoever](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ton_van_rijnsoever/32/6351_2.png) [@Ton\_van\_Rijnsoever](https://community.homey.app/u/Ton_van_Rijnsoever)\
**Post date:** [September 1, 2021, 8:59am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/324 "2021-09-01T08:59:59Z")

</div>

Hi, it works as I expect. Thanks you for your good and fast solution.

---

<div class="post-metadata">

**Author:** ![XeNoN62](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xenon62/32/88365_2.png) [@XeNoN62](https://community.homey.app/u/XeNoN62)\
**Post date:** [September 7, 2021, 6:37am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/325 "2021-09-07T06:37:01Z")

</div>

is it possible to add a start date? I mean, I always get my annual statement in May. will be nice if the year consumption for me starts in May.

---

<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:** [September 7, 2021, 6:54am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/326 "2021-09-07T06:54:24Z")

</div>

Interesting idea. Let me think about that. If it is not too difficult to implement I will add that option.

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

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