Jul 21, 2019, 6:58:38 AM7/21/19
I used Stringify with my Arlo camera and Lifx bulb for some time, and it was ok.... I used a string that turned on my light, only at night, when motion was detected and then turned it off again after a 5 minute timer. Problem was, when I entered the area and stayed there for longer than 5 minutes, the lights would still turn off after the initial 5 minute activation despite Arlo detecting motion reguarly within the 5 minute window. I would then have to wave my hand around to turn on the light again.
Apilio is so much better for my requirements. I was able to turn my lights on when my camera detected motion, then before turning the lights off, I created a condition that no further motion had been detected in the previous 5 minutes must be true. This is how I achieved this in case others use cameras and lights together:
First I created a ‘night_time’ variable. Using the sunset/sunrise applet in IFTTT I set it to true at sunset and false at sunrise.
Next I created a ‘motion_detected’ variable and used an IFTTT applet to set true when Arlo detected motion.
Next I created a ‘night_time’ condition and set it to true.
Next I created a ‘no_motion_detected’ condition using the ‘motion_detected’ variable set to true and time stamp unmodified since 285 seconds(didn’t seem to work when set to 299).
Next I created a ‘motion_detection’ logicblock that uses the ‘night_time’ condition. The logic block is triggered by an Arlo motion detected IFTTT applet. The logicblock then triggers an IFTTT turn on bulb applet immediately, then waits 300 seconds and runs a ‘check_if_motion’ IFTTT applet that in turn triggers a ‘turn_lights_off’ logicblock.
Next I created a ‘turn_lights_off’ logicblock with the condition ‘no_motion_detected’ to true. This logicblock triggers an IFTTT applet to turn off the lights if the condition of no motion condition is true.
The result of this is that so long as my Arlo camera detects further motion within 285 sec of the initial detection, the lights will remain on. Only the final motion event will result in the lights turning off.
*note; I actually now run my bulb in an ‘early evening’ and ‘late evening’ scene all night every night so rather than turn off and on, my automation is now configured to turn on my bulbs 100% bright white and then return to the scene based on the time of night.
Hope this helps others.