@Gruijter it seems that the missing update was the bug. Ever since it has worked just fine. Again thanks for your patience and splendid app!
Do you maybe have a flow set_tariff_power_PBTH without the exportTariff argument filled in?
Anyhow, I think I found the issue. Will be corrected in a next version.
I double checked the code, but do not find any issues. Export prices are used, but they are used only after substracting the average home usage (300 Watts default setting)
yes, and the monetary NULL problem was caused when sending that flow without the value being filled (NaN, or NULL, or UNDEFINED)
But that card takes only one value… or am I missing something?
what value do you use?
I calculate the quarterly rate depending on some rules. The rate is for imported energy.
I also make sure that import rate is never under zero, this the margin in the minimum we pay for energy.
Exported energy would be indeed different.
I dont use better logic myself, so not sure how Expression value is filled. But when it is NaN or NULL or UNDEFINED at the time the PBTH flow card is executed, things go wrong.,
v8.8.1 is ready for test: https://homey.app/a/com.gruijter.powerhour/test/
- Fix monetary NaN.
- Allow negative average home usage in battery.
- Fix active tariff capability.
- Homey-api 3.18.1
So far it has always been a valid number value.
Hi everyone,
My gasprices for TTF_EOD are not updating since April 4th 5 AM. Had some dips in March too. Anyone else having the same issue? Any ideas how to solve?
does anybody know how you can show the total for a day on a 3 phase system?
When you have solar panels on a 3 phase system the app still calculates a positive value on L1 as consumption, this is nog correct when L2 and L3 are negative and the total is negative
I have added my Battery, but seems to indicate discharge when the battery is charging:
Victron device:
PBTH battery device:
I also see that the discharge (utlading) kWh counter is increasing when charging the battery.
In the game of charging your battery when the market price is lowest, I am running into a small issue. The lowest market price and the highest production hours of the solar panels do not necessarily synchronize. Additionally, my PV installation has a higher maximum output than the battery’s charging capacity. There is a difference of 900 Watt-hours.
So, if you charge at the lowest market price coupled with the expected kWh, it can happen that you still don’t manage to fully charge the battery. This is because theoretically more kWh was expected than the battery can charge. It seems useful to me if you could also specify the maximum input within a timeframe for the If and And cards, such as “Remaining yield for … is less than … kWh”.
For example, “Remaining yield for … is less than … kWh at maximum …W”.
60 minutes prices (Finland) has been stuck for couple of days.
Hi,
Via the “energy summarizer” I currently see the energy I draw from the grid minus the energy I feed back into the grid (solar panels).
In Belgium we do not have “saldering”, so the information of the fact that I have generated more energy today than I have taken from the grid is of little use to me. I am looking for a simple counter that shows how many kWh I have already consumed from the grid today.
grts,
Tim
Better logic will give a number token, so it cannot be Null, NaN or undefined. In that case the flowcard will through an error. ![]()
Today, all flows that were supposed to start when the price dropped below zero (excluding taxes) did start.
However, the flows that should have started when the price became positive again did not. Manually triggering them worked, and all conditions were met (green check marks)
How can I prevent or handle this issue?
Do you have screenshots of the flows?



