[APP][Pro] Power by the Hour: Insights per hour, day, month and year

Haha, I was waiting for someone to ask that question! I made the budget rolling. Meaning that the budget is recalculated every day to include start of the year/month up to the present day of the month/year. That means that when your usage exactly follows the standardized distribution, it will always be 100%, no matter how far you are in the year or month.

Today (26.12.2022) as example:
The total electricity budget for this month is calculated from this sheet: Volumegrenzen Prijsplafond 2023 - Google Sheets

From start of the month (1.12) until today (26.12) the budget is 299,4 kWh (just add up the values of each day). If PBTH has registered that your actual usage this month so far is 291,9 kWh, that means you are 291,9 / 299,4 = 97,5% on target. Which is just a little bit under what the NL government says your budget should be in December for an average household.

For the yearly budget the same approach is used, starting the days from January 1st up to the present day.

3 Likes

perfect, thanks :slight_smile:

1 Like

That seems off. Maybe a bug…
Did you have 0101 set as start day of the year in the water device settings, or did you change that to another date?

@Gruijter I’m using the card ‘The avg price [next hours] is lowest within [period]’ as ‘The avg price next 6 hours is lowest within this day’. I have some issues:

  • It has triggered at 22:00 in the evening twice now. Since I set it to 6 hours, the latest it should possibly trigger would be 18:00, right? Or am I missing something here?
  • Today it triggered at midnight, while when I look at the energy pricing (The Netherlands) for today, the time-period 00:00-06:00 was not the lowest average 6 hours for this day. Looking at the data it should have triggered around 02:00 or 03:00.
  • It can trigger multiple times within a day. Given that I’ve put it on ‘lowest price within this day’, it should only trigger once per day?

Are these bugs or am I interpreting this card wrongly?

No i left it at 0101

ok, will have to investigate that then. Thx for reporting!

Are you using v5.0.3 already? If not, please install that because it resolves a lot of old issues. If you still see weird behavior in v5 please report it as a bug.

I’d like to also see the option to select multiple devices directly into one summarizer device without the need for the < group > virtual device.

I was on the latest stable version. Upgraded to the v5.0.3 and will keep an eye on it. Thanks!

1 Like

Please post that in the special topic for feature requests: [APP][Pro] Power by the Hour [Feature Requests]

1 Like

Thx @Gruijter, I will keep an eye on this today and report back.

1 Like

This looks exactly the same as I do for my solar panels with homey script. (Using an array with 12 production predictions for each month). It would be a very nice feature if we could add our own budget/target distribution setting. This can be used for different purposes, for instance to see if your solar power generation is on target.

1 Like

been thinking about that as well. I’m struggling with how a user would be able to easily ‘upload’ a distribution, even more since I use an array of 365 days, and not 12 months. But anyhow, please create a feature request in the special topic here: [APP][Pro] Power by the Hour [Feature Requests]

Hi all,

Does someone know the values for zonneplan?

Values in the screenshot are not giving the correct results compared with the ‘zonneplan’ app

Thanks!

I have Zonneplan myself. Untill 31.12@23:59 these are the values for Zonneplan:

Electricity: NL_Netherlands
Variable: 9%
Fixed: 0,076059437

Gas: TTF EGSI
Variable: 9%
Fixed: 0,53522587

Starting in the new year the 9% changes to 21%, and also the fixed markups will increase (I’m still looking myself what they will be)

1 Like

Thanks it’s working :slight_smile:

1 Like

And many thanks for you kind donation John! Much appreciated :heart_eyes:

1 Like

v5.0.4 is ready for testing: Power by the Hour | Homey

This version will be released as stable as soon as Athom approves it.

Summarizer:

  • fix migration from v4.x.x
  • add default distribution on migration from v4.x.x
  • fix linear budget distribution (@Walter_vande_kerkhof)
  • added hourly poll delay setting for water
  • modified defaults for poll delay

DAP:

  • set deprecated gas device as unavailable
  • fix avg price this_day and next_8h

@Gruijter Looks like your “hourly poll delay” fixed the drop-down to zero at each hour :+1:. I’ve set it to 1 and now the drop-down is gone.
But somehow the Gas usage in PBTH (lower graph) still doesn’t follow the source, a P1 gas-meter with 5 minute updates using Youless LS120 (upper graph). At some moments it looks like the gas usage in PBTH misses a new update en stays on the same level for some time. Look at the marked moments. (Looks like this happens after whole hour?)

Again, not a big issue, so don’t spend too much time on this :smile:.

The gas usage (liters per minute) in PBTH are only estimates, just as the power usage (Watt) by the way. They are derived from m3/kWh changes and averaged over a minimum of 2 minutes. So you shouldn’t use them for any serious flows etc. Maybe I will remove it entirely from PBTH because more people notice differences with the source device.

1 Like