lux sensor, wait for new value to be sent?

I installed a 4in1 sensor which I want to use in the evening. When the door/window sensor and lux<8 is true, turn on some lights.
This works, but as the last value for the lux was 4 (because of testing yesterday evening) the lights turn on the next morning, while it’s light outside. This is because the old value was 4 and the new value is sent to Vera after the door is opened. So indeed door tripped and lux=4 will turn on the lights. But in fact the current lux value should be 53 (in this case). And in the evening it will go wrong also, as the last value is not the current one, but the one from last night.

How can I solve this? Should I use auto report, every 15 minutes for example ( I this is possible with a parameter), but that will consume more battery. Or is it possible with PLEG to wait for the new value first and use that one? But I don’t know how to do that.

Anyone?

You can modify your logic using a Sequence expression to ONLY operate if the LUX value is recent.

You can also adjust parameter 40 on the Fibaro, so that the lux reporting is more accurate, maybe down to 20 or 30 from 200.