I want to use this app to do some things when power is cheapest, for example set the heating to high, charge my car, etc. To that end I’m looking for a card that fires once at the start of an unbroken period of n hours in which the average price is cheapest that day, and an event that fires at the end of that period.
Perhaps I’m misunderstanding something or doing something wrong, but it seems like the app does not provide those events.
I’ve tried using the “de gem. prijs komende x U wordt het laagst binnen y” and “de gem. prijs komende x U wordt het laagst in de y uren voor z uur” cards, but those fire every hour, instead of just once at the start of the period. And I can’t see a card at all that fires at the end of the period.
Which cards should I use so that I can start a flow once at the start of the cheapest period of n hours in the day, and start a flow once at the end of the same period? If that is not possible, would it be possible to add cards which provide that functionality?
I am trying to create an automation for my dishwasher (Eco program takes about 3 hours), so that it will automatically start at the moment when the average price over the next 3 hours is the lowest within a period of the next 12 hours.
I am currently using a virtual device/switch that I turn on manually. As soon as this is on, the program will only start if the price is low enough.
Problem: I do not fully understand the first card, or maybe I am using the wrong one.
Goal: Start Eco when the average price for 3 hours is the lowest in the coming 12 hours (not per hour, but average over a 3‑hour block).
Can someone explain how I should fill in this card?
No I meant the capabilities that PBTH has. Things like “hour is one of 3 cheapest hours”, but just in 15 minute intervals. You mentioned that anyone can use Homey Energy, but my point is that it doesn’t have any cards to build logic around 15 min prices. Sure, with Logic you can read the price now, but that’s it. PBTH is the only working solution that I know of, but it’s also not yet officially released.
The 10 second timeout issue is related to the my.homey.app web ui. This has been reported to Athom but for now there is no fix. If you try the mobile app to make those changes there shouldn’t be the same timeout.
Thx to Stef Kampen and Piznel for their code contributions!
Note that DAP pricing info is unreliable for now, because of ENTSO-E enforcing a rate limit on price fetching for Power by the Hour. I’m looking into a user friendly way to solve this.