I have only been at this for about a week, so I would love input to my first piston of substance.
I wanted to create the appearance of someone being home when either I am asleep or away from home. In addition, I wanted to avoid anything that appears like a pattern. So, I randomized a specified group of lights and randomized the time interval. I have a simulated motion sensor that aggregates all the motion sensors that I want to monitor. I exclude sensors like my bedroom. If there is no motion in the house between the hours specified in the âeveryâ statement and it is dark out (not between sunrise and sunset), the lights will cycle on/off, randomly, one at a time. The time range in the âeveryâ statement is wide enough to include all dark hours during the winter, but I put in the check for darkness so the light activity does not kick off too early during the longer days.
Like I said, I am a newbie so I appreciate any constructive criticism. It seems to work well. Is it as efficient as it could be?