Cycle through pre-set dimmer levels

I find that "ramping" dimmers is pretty tough if you want to get things very low or not quite high. I always end up missing them. So I have done something similar with a few button controllers in my house. You can do this quite easily in RM 4.0. Within the button control rule that you are defining you simply check for the currently level of the device to set it to the next one. So, the rule would look something like this:

Action for the butt pressed or held:

If Light is off Then
       Turn on light to 20
Else  If Light is On THEN
        If dimmer level of light is ≄0 and dimmer level   < 20 THEN
               Set dimmer to 20
       Else If dimmer level of light is ≄20 and dimmer level  < 40 THEN
               Set dimmer to 40
       Else If dimmer level of light is ≄40 and dimmer level  < 60 THEN
               Set dimmer to 60
       Else If dimmer level of light is ≄60 and dimmer level  < 80 THEN
               Set dimmer to 80
       Else If dimmer level of light is ≄80 and dimmer level  < 100 THEN
               Set dimmer to 100
       Else If dimmer level of light is = 100
               Set dimmer to 20
END-IF

But you could do this with as many "bumps" as you wanted. The trick is to make sure that you dimmer is on a quick transition time so that it reads out on the hub at the new level as quickly as possible. Other wise you are waiting for the dimmer to report back to Hubitat what it's new level is so you can press the button again.

I've actually found myself creating more scenes and using voice control to get the levels exactly where I want them more and more recently. Button controllers just aren't cutting it for me lately.

1 Like