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

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

</div>

Budget statistics

Today the total usage of electricity went into ‘the red’: after net using the beginning of the year, net producing during the summer, I am now finally net using electricity. Long live solar panels!

I expect to net use 250 kWh, and entered that value in the PBTH settings:

 ![1000067332](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/7/17a568b87067f165853efea7e2f51b591aec8aa1.png)

In the device tab it shows a strange value for the statistics:

 ![1000067331](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c2ac0a46b295663bbfb426973727a2548d9df680.png)

I tried different budget schemes, but that doesn’t solve it.

Am I doing something wrong?

---

<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 8, 2023, 2:21pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1943 "2023-12-08T14:21:35Z")

</div>

The distribution you selected is for pure solar panel yield. But you are not metering only your solar panels. You are metering your main meter. Meaning positive usage in winter and ‘negative usage’ in summer. That requires a custom distribution. You can enter your own distribution per month. But Im not sure if it works with negative months. Guess we will find out when you try 🕶

---

<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:** [December 8, 2023, 2:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1944 "2023-12-08T14:47:53Z")

</div>

Thanks @Gruijter!

I tried with a manually entered monthly budget - with negative values in the summer - too. That also gave weird percentages.

No worries, it is not a big deal. Was just curious if I did something wrong in the settings.

---

<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 8, 2023, 3:07pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1945 "2023-12-08T15:07:25Z")

</div>

> [@Eternity](#):
>
> That also gave weird percentages.

Just let it run untill january. That might clean the numbers up.

---

<div class="post-metadata">

**Author:** ![Halono007](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/halono007/32/80378_2.png) [@Halono007](https://community.homey.app/u/Halono007)\
**Post date:** [December 9, 2023, 10:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1946 "2023-12-09T10:44:19Z")

</div>

Hi there. Learning to use this excellent tool. I’ve now made some logging to Google Sheets. I find the kWh prev. day as my best measure for usage now and compare them to settings I’ve changed to other devices. I see you have a prev. month but for me living in shifting temperatures it’s relevant for a weekly report. It would be very interesting to have a “kWh prev. week” option.

---

<div class="post-metadata">

**Author:** ![Rikard\_Lundgren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rikard_lundgren/32/49501_2.png) [@Rikard\_Lundgren](https://community.homey.app/u/Rikard_Lundgren)\
**Post date:** [December 10, 2023, 9:07am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1947 "2023-12-10T09:07:28Z")

</div>

@Gruijter first of all and for what it’s worth; You have my highest regards and gratitude for working so relentlessly to improve this app over time (also shoutout to the other contributors when you deserve it! 😉 ). I have used it for a long time and had the pleasure to experience it growing into one of the greatest, if not THE greatest, tool out there for the Homey community. Thank you!

Now to my request in regards to intelligently control the charge/discharge trought PBTH Battery Monitor. Could you please add support for the Sonnen battery?

Here are some basic information in regards to this. I do have a Sonnen performance 10 system installed and are more than willing to supply more information should you request it. 🙂

- This summer @bogguard released the first app for it in the Homey app store: [Sonnen App för Homey | Homey](https://homey.app/sv-se/app/io.intherealworld.sonnen/Sonnen/) (thanks Tim!)
- Also @Kim_Kokholm recently released another app dealing with Time of Use: [Sonnen Batterie App för Homey | Homey](https://homey.app/sv-se/app/com.sonnen.battery/Sonnen-Batterie/)
- [sonnenBatterie API](https://jlunz.github.io/homeassistant/#/) however, when I login to my Sonnen there are more endpoints than mentioned in jlunz. See screenshotnumber 2.

Please also find the attached screenshot of @bogguard app device capabilities.

measure\_battery is a percentage of the total stored energy  
measure\_power.consumption measures e.g. the total consumption of the house/consumers downstream but excluding eventual charging (in Watts) of the battery.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/306a525f24627e59a1b053351861349cedc32ca7.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/892a8c2a96fe835be2cba57766f35721abc37d23.png)

thank you!

---

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

</div>

> [@Rikard\_Lundgren](#):
>
> You have my highest regards and gratitude for working so relentlessly to improve this app over time

Thx! Sucking up or donating always helps getting a feature request implemented 😘

So I just released v5.9.1 for you:

- Battery: Added support for SonnenBatterie.
- homey-api@3.4.2

I based my code on the screenshot you posted. I’m using `measure_power.batt_in` as the power when the battery is discharging, and `measure_power.batt_out` when the battery is charging. The naming is confusing however, so I hope it is correct.  
Please test and let us know if it works! (PS: you do need to fill in the total capacity and max charge/discharge power in advanced settings)

---

<div class="post-metadata">

**Author:** ![Matti\_Hirvonen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matti_hirvonen/32/79184_2.png) [@Matti\_Hirvonen](https://community.homey.app/u/Matti_Hirvonen)\
**Post date:** [December 11, 2023, 8:17am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1949 "2023-12-11T08:17:36Z")

</div>

Hi! I have now tested PBTH energy calculations with shelly 3EM. Here’s an example from yesterday.  
Shelly and electric company: Both are showing approx. the same values. Power by the hour calculates 18,7 Kwh. I think it’s taking only one phase in calculations (C).

 ![image.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6843a14960d14ce6a1591f65d46197d1ce3543e7.png)

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

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

 ![image.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/55a39d6b9ba3761c0136c32040aa61cc15ecbd1d.png)

to 30. marrask. 2023 klo 18.06 Robin Gruijter via Homey Community Forum ([notifications@athom.discoursemail.com](mailto:notifications@athom.discoursemail.com)) kirjoitti:

---

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

</div>

Hi @Matti_Hirvonen I dont know what else to say besides what I already stated here: [[APP][Pro] Power by the Hour: Insights per hour, day, month and year - #1922 by Gruijter](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1922)

I dont have a Shelly EM myself, and I dont know how the Shelly app behaves. Maybe the developer of the Shelly app can help you.

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [December 11, 2023, 1:13pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1951 "2023-12-11T13:13:07Z")

</div>

Is power summarizer heavy on Homey pro 23s resources?

I have used Homeseer running on powerful computers, and didn’t had to worry much about resources.  
Does power summarizer use much resources, is there any suggestion around this?  
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:** [December 11, 2023, 1:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1952 "2023-12-11T13:59:02Z")

</div>

> [@Olex](#):
>
> power summarizer use much resources

No, why do you think it does?

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [December 11, 2023, 2:20pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1953 "2023-12-11T14:20:17Z")

</div>

I don’t think it does, just wonder if it had some impact if you have power summarizer for every device that uses power.  
In the setting, you set the update frequency in minutes, zero (I believe) as default for immediate update. This could increase the load a little bit is mentioned here.

---

<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 11, 2023, 3:21pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1954 "2023-12-11T15:21:46Z")

</div>

Ah yeah, you are right. I should remove that remark because the load is negligable.

---

<div class="post-metadata">

**Author:** ![Rikard\_Lundgren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rikard_lundgren/32/49501_2.png) [@Rikard\_Lundgren](https://community.homey.app/u/Rikard_Lundgren)\
**Post date:** [December 12, 2023, 6:18am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1955 "2023-12-12T06:18:08Z")

</div>

> [@Gruijter](#):
>
> Thx! Sucking up or donating always helps getting a feature request implemented 😘
> 
> So I just released v5.9.1 for you:
> 
> - Battery: Added support for SonnenBatterie.
> - homey-api@3.4.2

I tried my very best! 😂 ❤

> [@Gruijter](#):
>
> The naming is confusing however, so I hope it is correct.

I agree, I thought the same the second I saw it. At least it seems to work. 🙂

> [@Gruijter](#):
>
> Please test and let us know if it works! (PS: you do need to fill in the total capacity and max charge/discharge power in advanced settings)

I have now commenced the testing. First part of adding the device was successful. Now I created a copy of your genius flow for max Return-of-Investment which I will try out the coming days.

I do have one question for clarification though in regards to the AND card “The price is best to charge/discharge…”;

When adding the price delta in €, does it actually use the baseline price in Euro despite the fact I use a currency conversion for all the DAP tariffs and calculations?  
Or should I disregard the currency symbol and go for my actual currency (SEK in this case) e.g. 0,1€ = 1.128 SEK.

Example: I want to have a price delta of 0,1€ and I use currency conversion to SEK in the PBTH price settings (DAP). This would mean I set 1,128 (Current conversion rate) in the card despite the €-symbol.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/335dffdceae08768456725692fd3aa18f8b76972.png)

The reason I’m asking is that even though I tested for just a day or two it already accumulated “too much” and the tariff seems to be shown in my chosen conversion currency (SEK) rather than in Euros as the symbol suggests:

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

In the price ahead device in PBTH the SEK is shown once I replace the “Currency unit display” (¤)

Thx once 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:** [December 12, 2023, 6:27am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1956 "2023-12-12T06:27:38Z")

</div>

> [@Rikard\_Lundgren](#):
>
> disregard the currency symbol

That

---

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

</div>

@Olex many thx for your kind donation. Much appreciated! 🍻❤

---

<div class="post-metadata">

**Author:** ![Nick\_van\_den\_Broek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nick_van_den_broek/32/20335_2.png) [@Nick\_van\_den\_Broek](https://community.homey.app/u/Nick_van_den_Broek)\
**Post date:** [December 12, 2023, 1:23pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1958 "2023-12-12T13:23:59Z")

</div>

Can you add setting the “power” value?

This way I can group power devices like heat pump into the total heat pump usage without adding it up to the Energy feature in Homey since I’m currently using group to do so.

Thanks!

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [December 12, 2023, 6:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1959 "2023-12-12T18:22:31Z")

</div>

Is it possible to summarize the total power for several heaters in a room?  
A group of 3 heaters combined?  
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:** [December 12, 2023, 6:54pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1960 "2023-12-12T18:54:19Z")

</div>

> [@Olex](#):
>
> group of 3 heaters combined

Yes, via the GROUP app or the advanced capabilities app you can group devices before adding it to PBTH.

---

<div class="post-metadata">

**Author:** ![vikino](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vikino/32/90198_2.png) [@vikino](https://community.homey.app/u/vikino)\
**Post date:** [December 12, 2023, 7:28pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1961 "2023-12-12T19:28:44Z")

</div>

Is it possible to count consumption of device whit has not powermeter? For example im controlling watter hester with Sonoff TH Elite flashed woth Tasmota and when it is powered on, it takes 2.2kW, so for the time when boiler is enabled, id like to count consumption based on time enabled…

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

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