Increase Fan Speed command for use in rules?

I have a Modern Forms fan set up in Hubitat and a Zigbee scene controller installed and configured.

I am trying to have the equivalent of UP on the scene controller increase speed for a single tap (Off > Low > Low-Medium > Medium > Medium-High > High), and DOWN decrease speed for a single tap (High > Medium-High > Medium >Medium-Low > Off).

However, the button controller does not have an Increase/Decrease speed option. It has a "Cycle Speed" but that only goes up and then from High to Off.

Is there any way to accomplish what I am trying to do?

There might be more efficient ways but I did it with a series of IF-THENs.

Trigger - UP button pushed

Action:
If speed = OFF, then set speed to LOW;
If speed = LOW, then set speed to MEDIUM;
If speed = MEDIUM, then set speed to HIGH

Then just do the opposite for the Down Button pushed.

Did you have to create a separate rule for each speed, or can this be done in one rule that checks for current speed and then increases it one?

I agree that @stephen_nutt's suggestion is a good way to go - in that case, it'll be 2 unique rules - one for upper paddle tap and one for lower paddle tap.

But overall, each rule would look like what he described above - just a series of If-Thens that step through whatever sequence you want.

Have you considered something like a Zen32 instead? It doesn't have enough buttons to cover all those speeds, but it does have a few more than a switch. I use one for my fan but mine's just 3 speeds, so it works perfect for that (i use the main/big button for the light and the 4th small button dedicated to off/reverse) -- just another option to kick around.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.