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

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [August 23, 2022, 12:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/770 "2022-08-23T12:29:50Z")

</div>

I was running the test version of the app, thought that could be the issue so installed the official version 15 minutes ago 🙈 Bet the diagnostics report wont give you anything then? If not, I’ll watch tomorrow to see if I see anything similar 🙂

Maybe @Henrik_Johnsson (who saw the same for SE3) could send you the diagnostics report? 🙂

---

<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 23, 2022, 12:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/771 "2022-08-23T12:32:47Z")

</div>

> [@MatsHansen](#):
>
> 499,92/1000=0,49992 EUR/KWh

Oh, and prices in PBTH are in Euro per m3. Not per kWh. To get the price per m3 you need to multiply with 0,97694444

---

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [August 23, 2022, 12:41pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/772 "2022-08-23T12:41:17Z")

</div>

Hmm… So:  
499,92EUR/MWh / 1000 = 0,49992EUR/KWh  
0,49992EUR/KWh \* 0,97694444 = 0,4883940644448EUR/KWh  
0,4883940644448EUR/KWh \* 9,7719NOK = 4,7725NOK/KWh  
4,7725NOK/KWh \* 1.25 = 5,9656NOK/KWh

Still over what PBTH said 08.00 today, but also below what’s the actual powerprice (as I can see from my power supplier - they say 6,10NOK/KWh. 🤔

---

<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 23, 2022, 12:43pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/773 "2022-08-23T12:43:24Z")

</div>

> [@MatsHansen](#):
>
> 0,4883940644448EUR/KWh

Nope. That would be Euro/m3…

What unit does your gas meter at home use? In NL the home gas meters deliver m3 and not kWh as unit.

---

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [August 23, 2022, 12:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/774 "2022-08-23T12:45:23Z")

</div>

We are talking about power prices, not gas prices 🙂  
I was having a hard time here, understanding what you meant 😅

---

<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 23, 2022, 12:45pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/775 "2022-08-23T12:45:58Z")

</div>

Damn, you are right. Sorry 😬

( must not do 2 things at the same time. My autistic brain is wired for single thread processing)

---

<div class="post-metadata">

**Author:** ![MatsHansen](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@MatsHansen](https://community.homey.app/u/MatsHansen)\
**Post date:** [August 23, 2022, 12:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/776 "2022-08-23T12:47:08Z")

</div>

No worries 😃 Maybe @Henrik_Johnsson have the diagnostics report saying something for his case, and I’ll be watching out tomorrow if I see any strange prices, and let you know 🙂

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 23, 2022, 12:55pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/777 "2022-08-23T12:55:05Z")

</div>

@Gruijter , Hi Robin, just installed PbtH v4.5.2 When I try to connect the powermeter, it is added, but there is an error triangle shown:

> Apparaat Onbeschikbaar  
> Cannot read properties of undefined (reading ‘peak’)

It is a double (high/low tarif) meter, connected to Homey via HomeyDuino and a ESP8266.  
The Boiler-powermeter(not P1), the Gas-meter and the Water-meter are working good.

just send you a diagnostic report 6a95294a-7b26-47c4-96e9-aef81e78b416

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [August 23, 2022, 2:30pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/778 "2022-08-23T14:30:42Z")

</div>

Diagnostic report for wrong price in SE3:  
3a2c5e02-2d20-45cb-9670-aa7419df1c0c

---

<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 23, 2022, 3:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/779 "2022-08-23T15:59:16Z")

</div>

> [@JPe4619](#):
>
> connected to Homey via HomeyDuino

This app is apparently not using the Homey kWh capabilities PBTH is expecting. Try switching on ‘use power as source’. That uses Watts and probably does work.

---

<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 23, 2022, 4:08pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/780 "2022-08-23T16:08:55Z")

</div>

> [@Henrik\_Johnsson](#):
>
> wrong price in SE3:

I do see that the API was returning a lot of errors last night when trying to get the pricing. I made PBTH as resilient as possible to problems with the web service by trying to get and buffer price info every hour and doing a retry on failures. But this morning something extra weird happened. It looks like a one time fluke. But let me know if it happens more often.

2022-08-23 06:01:00 [ManagerDrivers] [Driver:dap] [Device:e35bdea7-b866-4ba6-8388-35535386ef6d] Spotpris SE3 Error fetching prices from [transparency.entsoe.eu](http://transparency.entsoe.eu/). Trying again in 10 minutes socket hang up [log] 2022-08-23 06:11:01 [ManagerDrivers] [Driver:dap] [Device:e35bdea7-b866-4ba6-8388-35535386ef6d] Spotpris SE3 did not receive 24 hours of prices for today

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [August 23, 2022, 4:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/781 "2022-08-23T16:40:52Z")

</div>

The site seems a bit slow to respond, perhaps suffering from the load of us anxious automationistas trying to optimize our systems in the light of the price breaking all time high on an almost daily basis.  
Will keep an eye on it, was quite apparent today with a massive spike in the early morning.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 23, 2022, 5:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/782 "2022-08-23T17:51:01Z")

</div>

> [@Gruijter](#):
>
> apparently not using the Homey kWh capabilities

Well, in Developer Tools Devices, for this device I found :  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/52ca6624e1ab70fe530d20ec7bcc49ab912f4fe5.png)

Are this not Homey kWh capabilities? How should they look like? 🤔

---

<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 23, 2022, 6:11pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/783 "2022-08-23T18:11:21Z")

</div>

measure\_power and meter\_power are default capabilities that PBTH is expecting. But this app has added .consumed .offPeak and .peak to it. I included some exceptions for certain apps. But with all the different apps using different naming conventions it is getting very hard (if not impossible) to handle all these exceptions from PBTH. That is why I created the possibility to add a virtual PBTH device, and have flow send the kWh value to that device. So that is your fallback method.

In your case I think you need to add meter\_power.offPeak to meter\_power.peak. But how would that app handle returned power to the grid (e.g. because you have solar panels)?

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [August 23, 2022, 7:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/784 "2022-08-23T19:04:40Z")

</div>

Water consumption is a nice addition.  
But is it possible to add also the Liters per day?  
I’ve already tried something with virtual devices but it doesn’t work very well. It’s just that m³ x1000.

---

<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 24, 2022, 5:15am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/785 "2022-08-24T05:15:19Z")

</div>

> [@HuisCHovens](#):
>
> Liters per day?

No, I do not plan to do that. But what exactly is your issue with m3? It is simply liters times 1000. So if your daily water use e.g. says you used 0.523m3 it would be 523 liters. Not an impossible calculation to do in your mind I would say.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 24, 2022, 10:01am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/786 "2022-08-24T10:01:10Z")

</div>

> [@Gruijter](#):
>
> why I created the possibility to add a virtual PBTH device

Had not discovered this, sorry, works perfect, thanks.  
One remark, the default name for the energy devices is “power” and not “energy” , is this intentional? And if so, why?

BTW, my water-meter also gives Liters and not m3,  
m3 are by default rounded to 2 decimals if imported via HomeyDuino, so no lliters 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:** [August 24, 2022, 10:14am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/787 "2022-08-24T10:14:38Z")

</div>

> [@JPe4619](#):
>
> default name for the energy devices is “power” and not “energy”

Yes! Ask Athom why… They introduced this wrong capability naming and never got rid of it it seems.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [August 24, 2022, 2:39pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/788 "2022-08-24T14:39:05Z")

</div>

Is it also rounded in the PbtH app to 2 decimals?  
In my Watermeter tab in PbtH there stands m3 0.325.  
But i think when the third number behind the. is a 0 then it is not showing.

---

<div class="post-metadata">

**Author:** ![Busta999](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/busta999/32/10053_2.png) [@Busta999](https://community.homey.app/u/Busta999)\
**Post date:** [August 24, 2022, 3:17pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/789 "2022-08-24T15:17:11Z")

</div>

Ok new to Homey and PBTH so be gentle…

I have noticed, according to PBTH, that my fridge is using negative energy, ie today it has used -3.02kWh which unexpected.

Normally it uses about 250W per day.

Is there something I have to tweak to get it back to normal again or do I really have a fridge that is generating 3kWh per day, that would be awesome!

![Screenshot 2022-08-24 at 16.13.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/0139123c316baf522bc22589c6c4d816fa6c656a.png)

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

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