Rule Machine Help

If you want the actions to run based in motion, then you need motion as a trigger. There are several basic motion lighting examples in the docs, which you might be able to use as a starting point. Conditionals in your actions don't cause anything to happen if their truth evaluation changes, so right now your actions will only run when the dimmer becomes a certain level due to a physical change. It sounds like that isn't what you want.

But: with motion as a trigger instead, that will make it difficult to determine whether the current level was the result of a physical action. If you still need to do this, there are certainly ways you could track it (e.g., with another rule and a global variable; you can't access it as part of a condition as-is). But I'm not sure you need to: I assume just raising the level on motion and putting it back down some time after motion stops would be what you want? If so, the examples in the docs would be what you want, except "Dim" instead of "Off" after inactivity.

1 Like