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

<div class="post-metadata">

**Author:** ![ErikT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikt/32/48046_2.png) [@ErikT](https://community.homey.app/u/ErikT)\
**Post date:** [January 3, 2024, 5:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2066 "2024-01-03T17:27:51Z")

</div>

Hi Robin,

18u was the moment. Sessy most be unloaded. See screenshots.  
Instead off unloading the Sessy went to loaded ☹

 ![IMG_6856](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/f/2f9511cfcb243c1f9e20d2fd2bfb35e28ee9c6ee.jpeg)  
 ![IMG_6853.PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/f/ffda46866399c663f021448c6cf162b7ebddc484.jpeg)  
 ![IMG_6855-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/2/b2634f28ddcf3b188af5b4bf7e7f1397238d73f3.jpeg)  
 ![Scherm­afbeelding 2024-01-03 om 18.23.46](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d76782a4d57c0624b8b783af41098335ae223f68.png)  
 ![Scherm­afbeelding 2024-01-03 om 18.25.29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f282a5ab89910c53f7a32c10ec89cd621a7390fc.png)

Any ideas?

---

<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:** [January 3, 2024, 5:29pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2067 "2024-01-03T17:29:56Z")

</div>

> [@ErikT](#):
>
> Instead off unloading the Sessy went to loaded

The flow did the correct thing. Something else must be controlling your Sessy too. What other flows are you running? Or did you accidentally click on ‘charge’?

---

<div class="post-metadata">

**Author:** ![ErikT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikt/32/48046_2.png) [@ErikT](https://community.homey.app/u/ErikT)\
**Post date:** [January 3, 2024, 5:36pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2068 "2024-01-03T17:36:33Z")

</div>

FIXED.

I had a flow to store solar energy in the Sessy.  
Flow is now disabled en its working

Many thanks

---

<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:** [January 3, 2024, 6:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2069 "2024-01-03T18:05:09Z")

</div>

> [@Gruijter](#):
>
> - BAT: Sync smart ROI Graphic profit with flow.
> - BAT: Default smart ROI profit set to 0.08.

Just to be sure, this isn’t a fix for the ROI card memory leak bug on HP 2019 yet I assume? If not, no problem 😉

---

<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:** [January 3, 2024, 7:34pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2070 "2024-01-03T19:34:53Z")

</div>

> [@Torch1969](#):
>
> ROI card memory leak bug on HP2019

No, I dont think it can be fixed. The smart ROI flow only runs on HP2023. Either because HP2023 simply has more memory per app, or because it runs a newer version of NodeJS. If it is the latter there is still hope when HP2016/2019 get a firmware upgrade.

---

<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:** [January 3, 2024, 10:35pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2071 "2024-01-03T22:35:02Z")

</div>

@Riks many thanks for your generous donation. Much appreciated! 🥰🍻

---

<div class="post-metadata">

**Author:** ![Francis\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/francis_w/32/60946_2.png) [@Francis\_W](https://community.homey.app/u/Francis_W)\
**Post date:** [January 3, 2024, 11:19pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2072 "2024-01-03T23:19:05Z")

</div>

Hi Robin,  
In the json file I am always one digit short, am I doing something wrong or is everything rounded to 0.0000 by default?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/9/b97e763ca0d7d73dcfb60fbc1a95756e32039d36.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:** [January 4, 2024, 7:43am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2073 "2024-01-04T07:43:56Z")

</div>

When I create the JSON it is indeed always rounding off to 4 digits

`const roundedPrices = prices.map((price) => Math.round(price * 10000) / 10000);`

I could change that to match the settings, but might create a JSON that is too long for Homey to handle.

---

<div class="post-metadata">

**Author:** ![Johan\_Olsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_olsson/32/79353_2.png) [@Johan\_Olsson](https://community.homey.app/u/Johan_Olsson)\
**Post date:** [January 5, 2024, 12:31pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2074 "2024-01-05T12:31:34Z")

</div>

Is it possible to add functionallity that shows me how much energy im selling from production of solar?  
Like when energy meter reports negative value, do same status as for used enery. Or look at the delivered tarrif of energy meter.

---

<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:** [January 5, 2024, 12:53pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2075 "2024-01-05T12:53:30Z")

</div>

> [@Johan\_Olsson](#):
>
> how much energy im selling from production of solar?

If your main meter has a separate kWh meter for delivering to the grid, you can already do this by sending that kWh value to a virtual PBTH summarizer.

---

<div class="post-metadata">

**Author:** ![Johan\_Olsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_olsson/32/79353_2.png) [@Johan\_Olsson](https://community.homey.app/u/Johan_Olsson)\
**Post date:** [January 5, 2024, 4:12pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2076 "2024-01-05T16:12:44Z")

</div>

I tried that but I was not able to do flow connection since my smart meter is homewizard and not shown in flows.

---

<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:** [January 5, 2024, 5:42pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2077 "2024-01-05T17:42:45Z")

</div>

> [@Johan\_Olsson](#):
>
> not shown in flows.

Are you sure? Most (all?) capabilities of an app can be found as a tag in flows. So if you see your return meter value in the app/device, you can probably use it in flows.

If not, try the advanced capabilities app.

---

<div class="post-metadata">

**Author:** ![Johan\_Olsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_olsson/32/79353_2.png) [@Johan\_Olsson](https://community.homey.app/u/Johan_Olsson)\
**Post date:** [January 5, 2024, 5:46pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2078 "2024-01-05T17:46:58Z")

</div>

Yes I’m sure, but I’ll see if I can do it with advanced capabilities.

---

<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:** [January 5, 2024, 7:50pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2079 "2024-01-05T19:50:03Z")

</div>

Is it possible to set the tariff in PBTH from other sources like Tibber?  
Or to use “Piggy bank”/ “Norwegian Electricity Bill” with adjusted tariff with subsidiary/financial support?  
I just can’t see the flow for 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:** [January 5, 2024, 8:08pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2080 "2024-01-05T20:08:57Z")

</div>

> [@Olex](#):
>
> possible to set the tariff in PBTH from other sources

Yes, for summarizer devices you can set the current price via flow. There is no way to use future prices from an external source.  
Only the PBTH DAP device can fetch future prices that are used for PBTH calculations.

---

<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:** [January 5, 2024, 9:39pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2081 "2024-01-05T21:39:06Z")

</div>

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

- BAT: Improved XOM energy distribution over multiple batteries.
- BAT: XOM smoothing defaults changed.
- BAT: Max discharge default changed to 1550.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [January 6, 2024, 11:00am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2082 "2024-01-06T11:00:30Z")

</div>

Question about the “the average price for the upcoming x hours is the lowest within the upcoming 8 hours”-card: is the calculated average a rolling average of the next x hours?

Example:  
1:00 0,10  
2:00 0,20  
3:00 0,30  
4:00 0,40

If I use the card at 1:30, is the average price (0,10+0,20+0,30)/3? Or ((0,10\*(30/60))+0,20+0,30+(0,40\*(30/60))/3?

---

<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:** [January 6, 2024, 11:43am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2083 "2024-01-06T11:43:42Z")

</div>

> [@TKroon](#):
>
> (0,10+0,20+0,30)/3

That, but then 8 hours

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [January 6, 2024, 11:56am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2084 "2024-01-06T11:56:55Z")

</div>

Thanks. I see I forgot to add that I used the next 3 hours of the upcoming 8 in my example above.

---

<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:** [January 6, 2024, 8:35pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2085 "2024-01-06T20:35:27Z")

</div>

@Leo_Verwaal many thx for your very generous donation. Much appreciated! ❤🥰🍺

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

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