CoRE - Get peer assistance here with setting up Pistons

I hope someone can help me here:

I’ve got some Securifi SZ-PIR02 motion sensors connected, and working, but there’s a significant (3-5) second delay when I pass the action through to Stringify. I get that delay with other actions too, so I tried to run a rule with CoRE, and it just doesn’t seems to catch anything!

I wrote a Latching Piston:

IF sensor CHANGES TO active AND light IS off
THEN Turn on Light

BUT IF sensor was not active for 5 minutes
THEN Turn off

It’s not firing at all :frowning:

I’m seeing the active/inactive flop in the Events list on the sensor, but nothing is passing into CoRE.

I wonder if this is because the sensor flops back to inactive within 350-400ms?

Any thoughts on how better to trigger this? Should i be using “Changed in the last minute” instead of “changes to active?”

Is there a general issue with CoRE refresh speed?

Another thing I should mention, is that my lights are Hue bulbs, using the Hue Advanced Device Handler