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

<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:** [March 26, 2026, 3:56pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3774 "2026-03-26T15:56:26Z")

</div>

Hi Robin,

PV Forecast

Somehow I didn’t notice the LatLon fields before (shame on me), so I entered my home coordinates.  
What caught my eye: “auto-detect”:

 ![Screenshot_20260326_164207_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/a/fa177cf1a5c4a2e149985a475b2462be25d2387c.jpeg)

As the app has access to Homey’s location data:  
– What location is used when it can’t fetch Homey’s location?  
– Can you add a notification of some kind in case the location can’t be determined (and which generic location is used)?  
Just as nice to have.

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:** [March 26, 2026, 6:17pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3775 "2026-03-26T18:17:13Z")

</div>

> [@Peter\_Kawa](#):
>
> Can you add a notification of some kind in case the location can’t be determined (and which generic location is used)?

Next version will show the lat lon

---

<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:** [March 27, 2026, 3:43am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3776 "2026-03-27T03:43:27Z")

</div>

Yes, you still need to have a condition card (and) to decide if the trigger is within the time frame. The midnight’s change from tomorrow’s rates to today’s rates still triggers the `New prices received for tomorrow` card. IMO it should only trigger when new prices have been received from the provider. And that is somewhere around 1300-1500 depending on your timezone.

---

<div class="post-metadata">

**Author:** ![Jari\_Peuhkurinen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jari_peuhkurinen/32/101312_2.png) [@Jari\_Peuhkurinen](https://community.homey.app/u/Jari_Peuhkurinen)\
**Post date:** [March 27, 2026, 5:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3777 "2026-03-27T05:20:53Z")

</div>

Thank you. It seems to work fine when I added the AND -time condition to the flow.

---

<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:** [March 27, 2026, 11:45am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3778 "2026-03-27T11:45:54Z")

</div>

Major new test version 8.8.0 is now available: [https://homey.app/a/com.gruijter.powerhour/test](https://homey.app/a/com.gruijter.powerhour/test)

- Add use of Import vs Export DAP tariffs in all drivers.
- Reduce memory footprint.
- Add PV Max power setting.
- Fix battery earnings.
- Fix avg price capabilities.
- Solar location check on start.
- Improve Solar charts.
- Solar cloudiness learning improved.
- Solar curtailment detection and handling improved.
- New solar icon.
- Updated translations.
- Code refactoring.
- Homey-api@3.17.12.

Beside many bugfixes and under-the-hood code improvements, the Solar driver has had some significant improvements. But the biggest change is the implementation of Import versus Export spot prices:

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

My provider (FrankEnergy) pays me a lower fee when I export energy to the grid compared to what I have to pay when importing from the grid. The yellow line shows the export (feedback) price. All drivers and devices that use tariffs, like power summarizers, solar and battery, now automatically use the active tariff based on whether your main meter is reporting import (positive power) or export (negative power). This increases the accuracy of the money values over time. When you always want to use export or import prices, you can select that in the device settings.

This is really a huge code change, so please let me know if you find any issues.

---

<div class="post-metadata">

**Author:** ![Johan\_Bruyn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_bruyn/32/132683_2.png) [@Johan\_Bruyn](https://community.homey.app/u/Johan_Bruyn)\
**Post date:** [March 28, 2026, 12:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3779 "2026-03-28T00:55:03Z")

</div>

In and export rate. I’m happy with it. I used to use two rates. This is a better solution. Just customised my flows.

Strange, after adjusting the decimals from 4 to 3, the yield is in English.

---

<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:** [March 28, 2026, 4:52am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3780 "2026-03-28T04:52:33Z")

</div>

Interesting, Money values for all the Energy Summarizers went to null with the 8.8.0 update. Seems that those will be lost for ever now?

 ![Screenshot 2026-03-28 at 6.49.48](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f76916b7368a6b7ea0ea3be87e14ebb009bf8edf.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:** [March 28, 2026, 9:11am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3781 "2026-03-28T09:11:02Z")

</div>

> [@OH2TH](#):
>
> will be lost for ever now?

That sux! Will investigate. Were they already using the euro sign before?

You can reconstruct the settings from Insights, correct?

---

<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:** [March 28, 2026, 9:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3782 "2026-03-28T09:13:11Z")

</div>

Yes they had € already.  
Need to look into Insights what values I can get

---

<div class="post-metadata">

**Author:** ![micke\_011](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/micke_011/32/129908_2.png) [@micke\_011](https://community.homey.app/u/micke_011)\
**Post date:** [March 28, 2026, 11:20am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3783 "2026-03-28T11:20:06Z")

</div>

Can confirm the same, previous periods seem to exist but current are zeroed, currency etc. is OK as is current price..

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f91f6dc8cfd8a55f02b92834c7c6333537ec2f7.jpeg)

---

<div class="post-metadata">

**Author:** ![Zdenik03](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zdenik03/32/50949_2.png) [@Zdenik03](https://community.homey.app/u/Zdenik03)\
**Post date:** [March 28, 2026, 11:48am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3784 "2026-03-28T11:48:21Z")

</div>

I confirm the same - without prices - day, year…

 ![42719](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e2852ff85fe991619417fc1e201e00c6bd5c2482.jpeg)

---

<div class="post-metadata">

**Author:** ![Geert1992](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geert1992/32/121041_2.png) [@Geert1992](https://community.homey.app/u/Geert1992)\
**Post date:** [March 28, 2026, 7:40pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3785 "2026-03-28T19:40:34Z")

</div>

Would it be possible to also show the Zonneplan 10% sun bonus on the yellow line (export tariffs), applied between sunrise and sunset?

---

<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:** [March 28, 2026, 7:59pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3786 "2026-03-28T19:59:37Z")

</div>

> [@Geert1992](#):
>
> show the Zonneplan 10% sun bonus on the yellow line (export tariffs), applied between sunrise and sunset?

Dont know what that is. But can you not set that up using the time based markups?

---

<div class="post-metadata">

**Author:** ![Geert1992](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geert1992/32/121041_2.png) [@Geert1992](https://community.homey.app/u/Geert1992)\
**Post date:** [March 28, 2026, 8:24pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3787 "2026-03-28T20:24:08Z")

</div>

The sun bonus is an additional +10% applied to the base (raw) energy price.  
It only applies to exported power, and only between sunrise and sunset.

For example, if sunrise is at 07:05, the bonus becomes active from 07:00 (rounded to the full hour).

What would be the correct chart setup or configuration to apply this bonus only to the export tariffs?

stel variabele opslag in op?

---

<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:** [March 28, 2026, 8:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3788 "2026-03-28T20:51:48Z")

</div>

> [@Geert1992](#):
>
> What would be the correct chart setup or configuration to apply this bonus only to the export tariffs?
> 
> stel variabele opslag in op?

In principle yes, you could start a flow on sunrise and sunset to change the % markup. But I dont think I implemented that flow card for export tarifs yet.

Going on a short break. Hope I have completely forgotten about this when I get back 😴😘

---

<div class="post-metadata">

**Author:** ![Geert1992](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geert1992/32/121041_2.png) [@Geert1992](https://community.homey.app/u/Geert1992)\
**Post date:** [March 28, 2026, 9:04pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3789 "2026-03-28T21:04:24Z")

</div>

Need more 🦈 🥃 for additional export tariffs?

---

<div class="post-metadata">

**Author:** ![Geert1992](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geert1992/32/121041_2.png) [@Geert1992](https://community.homey.app/u/Geert1992)\
**Post date:** [March 29, 2026, 9:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3790 "2026-03-29T21:03:26Z")

</div>

![43026](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c612d939005726180449e7f8a64c2bab9a7b7bf.jpeg)  
Progress is made!

---

<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:** [March 31, 2026, 5:28am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3791 "2026-03-31T05:28:06Z")

</div>

Something is indeed off. Some Summarizers are working fine and some resets the previous periods to null, like on this whole house consumption:

 ![Screenshot 2026-03-31 at 8.26.33](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/d/1d750f17d8212f0ed855e41914c681613e4207b8.jpeg)  
But looking from dev tools:

###### Settings

| Key | Value |
| --- | --- |
| meter\_money\_this\_day | 3.8402445402994063 |
| meter\_money\_this\_month | 271.86 |
| meter\_money\_this\_year | 1171.47 |
| meter\_money\_last\_day | 14.085014420249024 |
| meter\_money\_last\_month | 649.5126836366684 |
| meter\_money\_last\_year | 1676.9539470787086 |
| meter\_money\_last\_hour | null |

###### Capabilities

| ID | Title | Type | Value | Set Value | Last Changed |
| --- | --- | --- | --- | --- | --- |
| meter\_kwh\_last\_hour | kWh prev. hour | number | -3.142 | | 26 minutes ago |
| meter\_kwh\_this\_hour | kWh this hour | number | -1.198 | | 2 seconds ago |
| meter\_kwh\_last\_day | kWh prev. day | number | 70.487 | | 15 hours ago |
| meter\_kwh\_this\_day | kWh this day | number | 11.437 | | 2 seconds ago |
| meter\_kwh\_last\_month | kWh prev. month | number | 3155.695 | | 1 month ago |
| meter\_kwh\_this\_month | kWh this month | number | 1961.887 | | 2 seconds ago |
| meter\_kwh\_last\_year | kWh prev. year | number | 13499.894 | | 3 months ago |
| meter\_kwh\_this\_year | kWh this year | number | 8481.725 | | 2 seconds ago |
| meter\_money\_last\_hour | Money prev. hour | number | null | | 26 minutes ago |
| meter\_money\_this\_hour | Money this hour | number | null | | 2 seconds ago |
| meter\_money\_last\_day | Money prev. day | number | null | | 15 hours ago |
| meter\_money\_this\_day | Money this day | number | null | | 2 seconds ago |
| meter\_money\_last\_month | Money prev. month | number | 649.51 | | 1 month ago |
| meter\_money\_this\_month | Money this month | number | null | | 2 seconds ago |
| meter\_money\_last\_year | Money prev. year | number | 1676.95 | | 3 months ago |
| meter\_money\_this\_year | Money this year | number | null | | 2 seconds ago |
| meter\_money\_this\_month\_avg | Avg. money this month | number | null | | |

Then I have Summarizers that continue to work ok, like this for the spa:

 ![Screenshot 2026-03-31 at 8.26.21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/e/5e89dd356a0146d70b5cbb331dd3ff57997bab27.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:** [March 31, 2026, 7:09am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3792 "2026-03-31T07:09:52Z")

</div>

Im away for some days, so cannot look into it at the moment. Will dive into it when I get back next week.

---

<div class="post-metadata">

**Author:** ![Geert1992](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geert1992/32/121041_2.png) [@Geert1992](https://community.homey.app/u/Geert1992)\
**Post date:** [April 1, 2026, 12:14pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/3793 "2026-04-01T12:14:30Z")

</div>

![1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e19a071bc4eeb2c4ddf076482e1add85a518440.png)  
Enjoy your trip!

One thing I noticed: the battery strategy doesn’t seem to use the additional export prices in its calculations. Could you maybe check what’s going on when you have time?

Changed a bit in com.gruijter.powerhour\lib\flows\batflows.js  
const options = {  
prices: […this.device.pricesNextHours],  
exportPrices: this.device.exportPricesNextHours  
? […this.device.exportPricesNextHours]  
: (this.device.feedbackPricesNextHours  
? […this.device.feedbackPricesNextHours]  
: null),  
minPriceDelta: args.minPriceDelta,  
soc: this.device.soc,  
startMinute,  
batCapacity: this.device.getSettings().batCapacity,  
chargeSpeeds,  
dischargeSpeeds,  
priceInterval: this.device.priceInterval,  
homePowerUsage: this.device.getSettings().roiHomePowerUsage ?? 300,  
};

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

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

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