I’m at a loss as to what’s happening here. No doubt a dumb mistake on my part, but this really has me mystified.
I have some outdoor holiday lights connected to smart plugs. I want them to go on at sunset (around 4:15pm this time of year, ugh) and off at sunset (7:45am, also ugh). BUT – the lights have their own internal timer that automatically shuts them off after 6 hours. BUT – “disconnecting” (or turning off) the power resets the timer. No problem, right? Every five hours, turn them off for a few seconds, then back on.
So here’s my piston and my event log from last night for one of the lights.
From the log we can see:
- The lights were turned on at sunset – 4:17.
- The piston fired at 9:17 (5 hours, right on time) but instead of sending an OFF command, pausing, and sending an ON command, we see that the light received two OFF commands.
- At 10:17, I noticed the lights weren’t on, so I turned them on via the SmartThings app.
- At 3:17, the piston should have fired . . . . but no commands were sent to the lights.
- At 6:17, I noticed the lights weren’t on. Since no OFF command had been received, it must have been due to the lights’ 6-hour timer expiring. So again, I turned them on via SmartThings.
- At sunrise (7:45), the piston fired and turned off the lights.
What the heck is going on here?
ETA: Just did the very same thing again tonight – two OFF commands. And BTW, the original wait was 5 seconds, which is what you see in the event log. I was originally thinking there might be a timing issue, so I increased the wait to 1 minute, which is what you see in the piston.