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.
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.
@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?
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.
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.
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]
@Gruijter Looks like your âhourly poll delayâ fixed the drop-down to zero at each hour . 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?)
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.