Trying to automize my dumb coffemachine, but I can't get every scenario to work

Ok, I have a few inputs I want to interact, but I can’t make them work together (I really want to avoid ‘input_boolean’ helpers, but I can’t see a way around it at the moment.

Ok, so at a certain time (8.30 on workdays, and 10.30 in the weekend) I want the coffeemachine to turn on.
If the water is not filled on it, it is not prepared from yesterday, and it should just turn it off, I check for the powerusage twice.
Otherwise it should be kept on for 90 mins.
Except that if I press the button on the shp-6 controlling the smart-plug, I just want it to wait for 90 mins.
This all seems to work-

The last thing I want it to react to is when the IKEA blind in the bedroom is opening in the morning, it should trigger a start if it is not already on.
But how do I get it to react to that? In HA we have the ‘device’ -> blind -> opening thing, but I don’t see the same in Node-Red?

EDIT: Uh, I just found another scenario, if it’s turned on by a google, it should also go through the ‘is it boiling’, but I don’t see a way of getting this done without setting some sort of semaphore/flag for the ‘button pressed’ scenario, which should just override all the timings.

For the Blind trigger, simply add a new Events: State node and as entity_id put in your blinds. Then filter for whatever message you need.

Turning on via Google Home, id suggest adding a switch/input boolean which you can expose to Google Home. This will then trigger your flow. You will ask Google to turn on this HomeAssistant Item, instead of the Coffemachine directly.

1 Like

Hi @AlmostSerious
I got some help by @blade2021 , and I think I got a good solution for it.
With his help it got to look like this:


So the on is seperate from the off loop, so it should catch all the different ways of turning on.