[RELEASE] WATO - When any Attribute Then this cmd Otherwise that cmd

you could this in rooms manager with a single room for all dimmers.

I just added support for the operator changes using attribute value from device to use as parameter for command on another device was already there. :slight_smile:

1 Like

had a few minutes so now you can do things like this:

thats when a switch turns on set one or more other switches to the same level as that switch or another switch or some such variation of that. :slight_smile:

1 Like

Ahhh works perfectly, thanks! But you didn't listen, I told you not to add it :rofl:

But I'm glad you did :slight_smile:

1 Like

I currently do this in RM with 2 rules - on/off tracking, then dimmer level tracking. In a perfect world I could do it with one rule that would match level on the secondary dimmer when:

  1. Primary turns on
  2. Primary changes level

I can't find a way to do it in less than 2 rules though - in RM or WATO.

I am getting much nicer performance from this new WATO capability vs my hacked up decrement/increment logic, thank you :slight_smile:

1 Like

Not sure there's a way. In RM you can have two triggers, but can't directly set one dimmer to the other. In WATO, you can set one dimmer to the other, but can only have one trigger.

good!

you also mentioned the setup you were using and i knew this would simplify things quite a bit for you and for other users trying the same. :slight_smile:

1 Like

i guess i could add additional triggers but then someone else is going to ask for multiple command support and soon i will be rebuilding RM. :wink:

one learns to never say never but for now going to stick with When any Attribute Then this command Otherwise that command framework … so one of each.

sorry.

2 Likes

You kinda can set one dimmer to another in RM, though. That is how I do it now. (sorry for the off topic from WATO post).

Right, that works as long as the trigger/condition dimmer is changing. If you want to set dimmer 1 to dimmer 2's level when dimmer 2 is not changing, RM can't do this. My workaround was to force dimmer 2 to change by adjusting down 1%, then back up 1%, but it was hacky and there was a (short) delay between the decrement and increment, which translated to a delay in the target dimmer adjusting. @bangali's update makes this unnecessary, which simplifies things and eliminates the delay.

Edit: Necessity is the mother of invention I Guess:

The previously posted rule ensures the two dimmers are the same after the master one turns on.

Then this second rule always keeps them in sync as the master is changed after they are on.

OK, enough thread hijacking. :smile:

1 Like

@bravenel pointed me to this thread which i had completely missed. awesome to see @bravenel released the apis for RM … i had been one of the users requesting HE make these available so other apps could use RM to run the actions. :smile:

so guess what folks? … :wink:

2 Likes

@bangali does WATO support REGEX for text attributes?

Example: trigger on weather attribute containing the text SNOW or RAIN?

i will add it this weekend along with support for executing RM actions.

2 Likes

@bangali - can WATO compare humidity on the same device?

Scenario:

  • bathroom humidity at 37%; lights at 75%
  • humidity goes up by 10% and motion; lights change to 100%

WATO only supports 1 trigger match check with 1 match or 1 unmatched command.

what you are looking for is rooms manager. :slight_smile:

Rooms is too large of an app for me to use for just 1 room. :cry:. Bummer was hoping WATO could be my answer.

sounds like you should use it for more than 1 room :smiley:

1 Like

Alas I cannot. My WAF is stable. I am now hesitant to do updates. Lol!

I hear you

but … what if you could take that rooms automation experience to beyond stable … have it be her indispensable companion? :smiley:

I joke … a little.

1 Like