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

<div class="post-metadata">

**Author:** ![Ronni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronni/32/34633_2.png) [@Ronni](https://community.homey.app/u/Ronni)\
**Post date:** [December 14, 2023, 5:26pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1962 "2023-12-14T17:26:57Z")

</div>

Hi  
I’m wondering why the kWh in a PBH device goes in minus sometimes, and the back in plus again. I use kWh as source. I tried to delete the PBH device and create a new, but it’s the same issue.  
Attached screenshot shows the PBH kWh and kWh from the energy device.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/e/5ec87cd36c443e894a92777a07a118edea7e979d.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/3328b8e15a2864a53550d70d901b96c642ba3c06.png)

---

<div class="post-metadata">

**Author:** ![RNLDNKP](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@RNLDNKP](https://community.homey.app/u/RNLDNKP)\
**Post date:** [December 14, 2023, 9:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1963 "2023-12-14T21:47:52Z")

</div>

Long time PBTH user, options get added like every month, but somehow I’ve found something quite useful which is not possible as of now.

PBTH has a ‘minimum power usage’ option, which (when having solar panels - as stated in your readme) only works correctly for stand-by usage after midnight AND before sunrise. I could fix this with an advanced flow, some BL vars and a virtual device. But that’s quite cumbersome and not PBTH integrated.

Is it be possible to add a ‘standby usage’ variable (+ toggle on PBTH device settings) which is only updated between midnight and sunrise AND sunset and midnight? I know Enelogic has this in the dashboard for example.

This way you can check any moment you like what today’s low (standby) usage is without solar production and compare that to yesterday or the whole month (insights).

What do you think?  
Thanks

---

<div class="post-metadata">

**Author:** ![ODE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ode/32/34895_2.png) [@ODE](https://community.homey.app/u/ODE)\
**Post date:** [December 17, 2023, 8:19am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1964 "2023-12-17T08:19:04Z")

</div>

Hello,

I’m using the module but I’m finding that I’m not getting the accuracy I expect when I compare my electricity supplier’s Kwh/day reading with PBTH. I sometimes have a difference of more than 1Kwh or even 2.

 ![IMG_1549](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e16c469dfffd972ae7ebf016f8d9d93cad7279ac.jpeg)

I use the lixee module [liXee Appli pour Homey | Homey](https://homey.app/fr-fr/app/com.lixee/liXee/) as a source.  
but it only takes watts into account.

 ![IMG_1550](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fd985bf2185d004b79241899dc1ec3858f51f9d3.jpeg)

When it updates within a second, I get the homey energy widget to update. On the other hand, PBTH takes a very long time to update.

So I tried to set up a virtual PBTH, but it (apparently) only accepts KW, and updates instantly, but the data is wrong.

 ![IMG_1551](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0a4dc6e41bda347972f25fa2b2c1495aaa0687d5.jpeg)

could you help me?

Translated with [DeepL.com](http://DeepL.com)

---

<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 17, 2023, 8:39am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1965 "2023-12-17T08:39:47Z")

</div>

> [@ODE](#):
>
> but it only takes watts

Can you post a screenshot of the source device capabilities ( [Homey Developer Tools](https://tools.developer.homey.app/tools/devices) )?  
I could maybe add the kWh as a source if I know what the capability is called in lixee.

---

<div class="post-metadata">

**Author:** ![ODE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ode/32/34895_2.png) [@ODE](https://community.homey.app/u/ODE)\
**Post date:** [December 17, 2023, 8:45am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1966 "2023-12-17T08:45:59Z")

</div>

Hope this is the good screenshot,first time i connect to this app developper 😉

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c421e75562d3253ff56bdc32419ce1528d01a4c4.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:** [December 17, 2023, 9:10am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1967 "2023-12-17T09:10:56Z")

</div>

Yes this is good. You should contact the app developer. By default PBTH uses `meter_power` for kWh. And the app has that, but is set to `null`. So something is wrong there.

Secondly I see that `measure_power` is the apparent power, not the real power. That could explain the difference that you see when using Watts as source. Also that is something you could take up with the app developer. I would say it makes more sense to fill `measure_power` with the real power usage, not the apparent power.

---

<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 17, 2023, 9:53am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1968 "2023-12-17T09:53:20Z")

</div>

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

- German translation updated.
- homey-api@3.4.8

Many thx to @DirkG for the German translation update! 😘

---

<div class="post-metadata">

**Author:** ![ODE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ode/32/34895_2.png) [@ODE](https://community.homey.app/u/ODE)\
**Post date:** [December 17, 2023, 12:53pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1969 "2023-12-17T12:53:07Z")

</div>

Thanks for the quick feedback.  
I’ve just left a message for the developer of the Lixee module.

But I understand about the apparent power, but if I have null in the variable, I shouldn’t get any feedback from Power by the Hour?

---

<div class="post-metadata">

**Author:** ![Fredrik\_Meyer-Lampe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fredrik_meyer-lampe/32/38361_2.png) [@Fredrik\_Meyer-Lampe](https://community.homey.app/u/Fredrik_Meyer-Lampe)\
**Post date:** [December 18, 2023, 11:37am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1970 "2023-12-18T11:37:33Z")

</div>

Hi, love your app, but have some challenges.

I am trying to use PBTH to track power usage on a Nibe air/water heat pumpe that has an Homey app thorugh MyUplink.  
Since PBTH does not support it directly, I try to use the virtual power summarizer.  
I have made the following flows, and get data in PBTH, but for some reason it does not add hour by hour kwh and also gives me some negative values…

This is what I want to track:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e7637d42c93c41fa120b3bab3dbd4f83ba24633.png)

This is my flow:

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

PBTH result which does not increment values…

 ![Skjermbilde 2023–12–18 kl. 12.34.35](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d73abc97f9de3489e02afe96c17b389e11c1ea62.jpeg)

Hope someone see what causes it, since I have not found the reason…

I have tried both to send all kwh data to the same PBTH device (since I want the total consumption for my heat system) and also send it to separate PBTH for heating, hotwater etc

---

<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:** [December 18, 2023, 11:53am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1971 "2023-12-18T11:53:47Z")

</div>

Is this intentional that the value for `price now` on the hour (HH:00) is still the price of the previous hour where as minute past the hour (HH:01) it is the correct price?

**Edit:** 1 second delay after a trigger solves the issue for on the hour price.

---

<div class="post-metadata">

**Author:** ![Alex\_S1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_s1/32/79236_2.png) [@Alex\_S1](https://community.homey.app/u/Alex_S1)\
**Post date:** [December 20, 2023, 8:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1972 "2023-12-20T20:33:02Z")

</div>

Hello!

First of all, I love your app. It works amazing.

There is just one thing I cannot get to work.  
I use a Shelly Pro 3EM meter to monitor my heatpump. Unfortunately, I cannot add the Shelly meter as one meter. PBTH requires adding each phase as separate meter, because Shelly makes three meters within Homey.  
Is there any way to create one meter which uses data from the three phases and sums them?

Thanks

Alex

---

<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 20, 2023, 8:57pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1973 "2023-12-20T20:57:18Z")

</div>

> [@Alex\_S1](#):
>
> Is there any way to create one meter which uses data from the three phases and sums them?

> [@\[APP\]\[Pro\] Power by the Hour: Insights per hour, day, month and year](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1960):
>
> Yes, via the GROUP app or the advanced capabilities app you can group devices before adding it to PBTH.

---

<div class="post-metadata">

**Author:** ![Alex\_S1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex_s1/32/79236_2.png) [@Alex\_S1](https://community.homey.app/u/Alex_S1)\
**Post date:** [December 20, 2023, 8:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1974 "2023-12-20T20:59:37Z")

</div>

Wow, thanks for the quick reply.

---

<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:** [December 21, 2023, 7:03am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1975 "2023-12-21T07:03:57Z")

</div>

Hi,  
First of all and always, thanks for this app. It’s like reason I have a Homey 👍

I have several Power meters and some of them have worked for month and years without any issue. Others sometimes have negative values. Often when going from one month to another but also between days.  
I then have to go in and check how much it have gone negative and add that value manually to get it back right. This has to be done the same day so if have to check this regularly. I think I have the same settings for most of my units, but some works great.

What may be the cause of 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:** [December 21, 2023, 7:35am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1976 "2023-12-21T07:35:26Z")

</div>

> [@Sundlof](#):
>
> What may be the cause of this?

Is there a difference in source app / brand / device type?

---

<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:** [December 21, 2023, 8:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1977 "2023-12-21T08:44:19Z")

</div>

This is the setup:

Pulse from Tibber  
Easee Car Charger  
4 Shelly Plug S  
1 Shelly 3EM

Please tell if you want me to look at some specific data from when this happened. If this can help you with the troubleshooting.

---

<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 21, 2023, 9:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1978 "2023-12-21T09:55:45Z")

</div>

And are the negative values only with Shelly devices?

---

<div class="post-metadata">

**Author:** ![nickdekorte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nickdekorte/32/78954_2.png) [@nickdekorte](https://community.homey.app/u/nickdekorte)\
**Post date:** [December 22, 2023, 11:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1979 "2023-12-22T11:55:52Z")

</div>

Most likely a stupid question, but I cannot find it anywhere.  
I want to put in all fixed prices off Tibber/NL so that PBTH is correct.  
It shows the price ex vat etc.

I can’t find out exactly what prices and/or vat I need to add in the settings in PBTH so that it shows the correct amount. I am always 1 or 2 cents off from the current prince in Tibber. Thanks in advance!

Nick.

---

<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:** [December 22, 2023, 12:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1980 "2023-12-22T12:03:13Z")

</div>

I looked at all the statistics and I can not figure this out. It might have to do with how the unit handles loss of power. This happened two weeks ago the same hour I cut the power for some minutes. Some units (Shelly) have reported a big negative number this hour (-12.000kWh or -22.000kWh) that totally messed up the statistics.

But I can also find this from the Pulse (Tibber) just 2 days ago when it reported -660.000W. I did not have any loss of power then.

But yes, it’s mainly the Shelly units. No issue with the Easee.

---

<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 22, 2023, 12:12pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1981 "2023-12-22T12:12:06Z")

</div>

> [@nickdekorte](#):
>
> prices off Tibber/NL

I use that myself. These are the settings:

 ![Screenshot_20231222_131047_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/24981e0061291dd01d1187264fa20ccc477eeb9b.jpeg)

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

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