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

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

</div>

> [@Daniel\_S](#):
>
> there are only two capabilities for these devices

The flow / virtual device expects a cumulative value for kWh. But looking at the naming your kWh resets to 0 every day.

I could add `measure_energy_consumption_today` to be detected by PBTH in a next release for you. That way you dont need to fondle with flows.

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [September 12, 2023, 12:00pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1718 "2023-09-12T12:00:29Z")

</div>

That would be great, thank you. I also send you small donation.

---

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

</div>

> [@Daniel\_S](#):
>
> I also send you small donation.

Got it! Many thanks, much appreciated! 🍻  
Toshiba AC support will be included in v5.7.1. But I need to keep 5.7.0 in test for a few more days before I can push 5.7.1.

---

<div class="post-metadata">

**Author:** ![Patric\_Hedin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patric_hedin/32/56421_2.png) [@Patric\_Hedin](https://community.homey.app/u/Patric_Hedin)\
**Post date:** [September 13, 2023, 5:35am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1720 "2023-09-13T05:35:03Z")

</div>

Hi @Gruijter 🙂  
Since the update to v5.7.0 the “Money today” variable is not resetting at midnight:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9cba272bb346522e163a59a43d3e8a2a62becfe1.png)  
Noticed this yesterday, and then did a restart of the app and a manual correction of the value, thinking it was a one off, but unfortunately not… ☹  
Diagnostic report: f42e4b25-f359-41b2-8bd2-df78bb34bbce

---

<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 13, 2023, 6:10am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1721 "2023-09-13T06:10:57Z")

</div>

Will investigate. Thx.

---

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

</div>

v5.7.1 is ready for testing: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test)

- Summarizer: Added support for Toshiba AC.
- Summarizer: Fixed daily use reset at midnight.

@Patric_Hedin I hope this fixes it. Please let me know tomorrow 🙂  
@Daniel_S Please test Toshiba AC and let me know

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [September 13, 2023, 12:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1723 "2023-09-13T12:03:20Z")

</div>

Hi Robin, unfortunately PBTH does not find the source devices when setting Power summarizer. Or you fixed for the flow to Virtual device?

---

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

</div>

> [@Daniel\_S](#):
>
> does not find the source devices when setting Power summarizer

Aw. It should do that on version 5.7.1  
I added looking for `measure_energy_consumption_today`

Edit: think I found where I went wrong. Will update in 5.7.2.

---

<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 13, 2023, 1:20pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1725 "2023-09-13T13:20:00Z")

</div>

v5.7.2 is ready for testing: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test/)

- Migrate to homey-api@3.0.12.
- Improved retry source devices.
- Stability fixes.
- Added support for Toshiba AC.
- Fixed daily use reset at midnight.
- Fixed pairing of IUNGO, Huawei Solar, ZTAZ P1 and Qubino.

@Daniel_S Can you try again with v5.7.2?

---

<div class="post-metadata">

**Author:** ![Daniel\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_s/32/24881_2.png) [@Daniel\_S](https://community.homey.app/u/Daniel_S)\
**Post date:** [September 13, 2023, 1:57pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1726 "2023-09-13T13:57:44Z")

</div>

Cool, at a quick glance the source devices were found and grabbed the values. Many thanks

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 13, 2023, 4:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1727 "2023-09-13T16:59:31Z")

</div>

Hi Robin,  
Again thanks for this great app.

Sorry if I missed it as a known bug, but the Energy prices weren’t updated here, since around the 20th of August:

 ![Screenshot_20230913-184636_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/477552f9ff2f80a24ee64f9e5cf02f02874b4da7.jpeg)

An app restart like 4 days ago (prior to the v5.7.0 update) solved it.

Homey v8.1.6  
PbtH v.5.6.9

 ![Screenshot_20230913-185143_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/9/79744f92ce2251b19e193a064268d46b34bb6d61.jpeg)

Any clue? Little chance of finding what was wrong I guess?

Other parts of the app worked fine:

 ![Screenshot_20230913-185743_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1e64cce2a3a9858e13545dfa17288853286d50e4.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:** [September 13, 2023, 5:33pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1728 "2023-09-13T17:33:11Z")

</div>

> [@Peter\_Kawa](#):
>
> Little chance of finding what was wrong I guess?

Correct. An app diagnostics report just before the app restart might have provided a clue.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 14, 2023, 1:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1729 "2023-09-14T01:20:08Z")

</div>

> [@Gruijter](#):
>
> An app diagnostics report just before the app restart might have provided a clue

Yeah, it crossed my mind right _after_ restarting 🙄😅

---

<div class="post-metadata">

**Author:** ![Patric\_Hedin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patric_hedin/32/56421_2.png) [@Patric\_Hedin](https://community.homey.app/u/Patric_Hedin)\
**Post date:** [September 14, 2023, 3:36am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1730 "2023-09-14T03:36:31Z")

</div>

Unfortunately v5.7.2 did not reset the daily use at midnight:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/8/786f496a05a75c6830352d6e3d14ee0869558f27.png)  
New diag. report (if you need it): bb94b928-65cc-4c53-bf71-d283be4865c9

---

<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:** [September 14, 2023, 5:25am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1731 "2023-09-14T05:25:07Z")

</div>

For me the kWh daily reset still works, but money daily reset doesn’t work (since 11 sept.) I’m on experimental version 5.7.2 now.

Diag report: d6f77d95-7211-4297-abe9-5e3e91e8827e

---

<div class="post-metadata">

**Author:** ![Mike\_de\_Vries](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike_de_vries/32/109113_2.png) [@Mike\_de\_Vries](https://community.homey.app/u/Mike_de_Vries)\
**Post date:** [September 14, 2023, 5:40am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1732 "2023-09-14T05:40:52Z")

</div>

Hi, same here, money keeps adding. Also on exp version 5.7.2

---

<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 14, 2023, 6:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1733 "2023-09-14T06:13:59Z")

</div>

Bummer 😖  
More work on the shop then for me.

---

<div class="post-metadata">

**Author:** ![Marco\_Rombout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marco_rombout/32/47933_2.png) [@Marco\_Rombout](https://community.homey.app/u/Marco_Rombout)\
**Post date:** [September 14, 2023, 9:33am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1734 "2023-09-14T09:33:22Z")

</div>

Hi Robin

Thanks for your great work on PBTH! Very much appreciated 🙂  
Since 3 weeks I have 2 Sessy batteries installed and I’d like to know what the revenue is they generate.  
Therfore your Battery summarizer tile comes in handy. So I configured it using my battery details and DAP update for Zonneplan to calculate revenue.  
Perhaps I’m doing something wrong (must I build a flow?), but charge/discharge revenue is being retracted from one another, and not added.  
Can you perhaps point me in the right direction?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/6/4611338d3f189e11e09ca40ec71f0d6d6d095374.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:** [September 14, 2023, 9:47am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/1735 "2023-09-14T09:47:25Z")

</div>

> [@Marco\_Rombout](#):
>
> charge/discharge revenue is being retracted from one another, and not added.

While charging the revenue goes down (since it costs money to charge) But if you then discharge the revenue goes up again. And if you charge/discharge at the right moments, you will earn money 🙂 ! But if you do not do it on the right moments, you will loose money ☹

What version PBTH are you on? V5.7.x has a bug that will mess up the money value. This will be fixed in v5.7.3 (coming up 🔜)  
And another question: how do you set the charge/discharge moments? Are you using the Sessy Portal ROI for that, or did you make a Homey ROI flow?  
And you do realize you need a battery summarizer (and ROI flow if you use Homey for that) per each Sessy?

---

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

</div>

> [@Torch1969](#):
>
> Diag report:

Yes, that helped me find a typo. Fix coming up (after testing it for a full hour)

edit: v5.7.3 is released as test version now.

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

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