How to control lights based on luminescence AND motion

It was my fault with my own bad logic (ie lights go on… lumins increase… lights go out as a consequence…) I’m going to invest in another one for outside that I can then use as a ‘guide’ for turning lights off again after using the room fibaros to turn them on. If that makes sense. All through the super sweet Rule Machine.

No idea if my settings are good / right / waste of battery but they seem to be working as required for now anyway!!!

In sensor options:

1 = 8
2 = 8
3 = 2 pulses
4 = 12 seconds
6 = 30
8 = always active
40 = 100
42 = 100
80 = LED inactive

Happy to get feedback on them!