Xiaomi Motion sensor with Milights use in rules

Hi, I am trying setup RULE for Xiaomi Motion sensor to be able switch off lights after no movement detect. Sensor check movement only once per 1min.

Can someone show me own rules how to work with this sensor? use timers?
Solve it with rule - if movement detect reset some timer? Or better solution?

Thnx

Many answers are a search away.

https://community.openhab.org/search?q=motion%20sensor%20timer

2 Likes

Oh sorry. Thank you. This one is great!!