Sure, lots of people have done it, including me.
( It’s actually the example I used in the changing modes FAQ.)
You can use rule machine if you like, but you don’t need to, you can also just do it with modes and routines or with Smart Lighting automations.
on September 15, 2016, an update was released to the android and iOS smartthings mobile apps which removed the ability to add a new mode through the app. Hopefully this was just a glitch and it will be re-added soon. Meanwhile, you can still add a new mode through the IDE. Instructions in the following thread.
Many people use modes to manage which actions are automatically triggered. To begin with, Smartthings starts you out with a few basic modes, like Home and Away.
However, many people like to add additional modes. For example, I distinguish between Night, which is when we have a lot of lights turn on when there is motion, and Asleep, when the same movement will not turn on the ceiling lights, but will turn on a soft night…
See the following for detailed discussion:
I want to place a motion sensor in my bedroom and turn on the light when there is motion so that I don't have to turn it on from the wall switch. But there's of course movement when I sleep. How can I prevent the motion sensor to trigger when I am moving in my sleep ?
I am using a Smartthings motion sensor and I have following apps: - Rule Machine - Smart Lighting