Turn off led strip but only if its green

Hi!
New here but not new in home automation.
I had a quite simple automation in Hubitat wich I find impossible to do here.
When my dishwasher is finished a led stripe turns green. During the program it’s blue. Sometimes you forget some forks or whatever and open the dishwasher during washing. This ends up in the led strip turns off. I only want it to turn off when it’s green.
Help would be nice :blush:

I’m not completely clear on your description yet.
when my dishwasher…blue - I’m guessing the led strip is the subject of the automation right ? so it’s separate from the dishwasher and you’re trying to use it as an indicator for program running or finished.
So then I’m thinking -
state 1: dishwasher program active - led blue on
state 2: dishwasher program finished - led green on
now you’re describing the state where you open the dishwasher and the led indicator turns off:
state 3: dishwasher open while program running - led off

and you’re saying - I don’t want state 3.- if the program is running I still need it to be green until finished.

So thinking of your usecase; you’re not going to add forks or whatever past a certain point in the program right ? because it’s not going to be clean. So you could insert a timer in the flow from start blue led which prevents it from turning green until the timer runs out. and then you just use the trigger you use now to determine program finished (energy consumption ?)

Cheers,

Vince

First of all, thanks for quick answer.
I realize that I was explaining to bad. So here is the more detailed explanation.
When I start the dishwasher my led strip turns blue. The led strip is a light that I have under the cabinet.
When dish is ready it will turn green. So far no problem. But I also have made a flow that turns off led strip when dishwasher is opened. Because when it’s ready and someone opens the dishwasher I hope that person will empty it. Therefor can the light turn off.
But if you open the dishwasher at any other time, for example when dishwasher is running I don’t want the led strip to turn off. Or if I use the led strip for any other reason I don’t want it to turn off when you open the dishwasher. Hope this was easier to understand :wink:

Well - I do understand what your intent is now slightly better. And did you consider my suggestion ?

  • State 1: dishwasher program active - led blue on, activate countdown timer (say 20 minutes)
    Action; door open. consider timer. if timer is still running then the dishwasher was opened to add some dishes - within the ‘grace’ period. Do not turn led off

Event: countdown timer expired

State 2: (your logic) - program finished; led green
Action; door open, timer not running anymore. program probably finished. turn led off

That’s an idea, lucky for me my Siemens dishwasher has an app in homey. So I know when it turns on/off, start/finish, opens/close. So I don’t need to guess when it’s finished. I tried to make a variable yes/no. Added the variable when dish is running- then it’s NO, when it’s finished it’s YES. But I can’t add that variable in the “AND” state in the last flow. When door is opened, and variable is yes, then turn off. This would be the natural way to go. But the AND described is not possible

Here logic cards come in handy, use those for the AND part.

Thanks. I think I got it right now. Added a variable in a then section in one flow. In the next one I added the same variable in the AND section. So if that is not true it will not execute the action.


1 Like

So when i finally get the flow right then I lost connection with my Siemens dishwasher.
I can turn it on with homey app. But it doesn’t report if it’s running, if it open or not. Therefore will all my flow stop working. Have anyone else tried Siemens-Bosch app and noticed the same problem?
It works for one or two dishes. Then I have to remove dishwasher from homey and add it again. Then It works again. I have been starting a couple of programs just to see how the flow works. How can I fix this?

Email the developers I think