I’m trying to have my backyard nest cam use person detection to turn on
a lamp and then if there is no motion detected for 10 minutes, turn the
lamp off. I also have a condition to do this only at night. I cannot get
the section that turns off the li...