I was wondering if there is already a SmartApp that could be manually triggered to cycle an outlet/switch “on” for x mins:secs then “off” for y mins:secs and repeat for a total time of z mins:secs, starting the cycling turning it OoO (pick on or off), and ending leaving it OoO? (I could even include an one-time or repeating “autostart at time hr:min AM/PM” or sensor-triggered start if there was value to that.)
My intended main use is to cycle my almost-never-needed sump pump manually if ever needed until I can get around to replacing its float switch. (To replace the float switch I’d also have to break the radon system vacuum seal over the sump pit, so I’m putting that off until a bigger project to re-dig the sump pit deeper & wider next year.) The on/off cycling is necessary because the sump pit drains in 30-45 seconds and takes another 30-60 seconds to refill, and of course I’d want it to stop cycling after a while and have it be turned “off” at the end.
More common uses might be holiday lighting effects or long-lasting security warnings (without siren) or idunno, got more ideas?
I might not want to put in the time to make this since I don’t have a big need for it, especially if something similar already exists. But I cobbled together one SmartApp before and this idea put in itch in my brain to try doing another I ever find myself with time to throw at something.