Controlling a Sonoff S20 with a timer
Moderators: grovkillen, Stuntteam, TD-er
Controlling a Sonoff S20 with a timer
I have successfully flashed a Sonoff S20 with ESP Easy. Now, I'd like to program it to turn on at 4PM and off at 8AM. (An even better trick would be to make it randomly turn off and on within that timeframe. That's called security random.) Does anyone know how to program anything like this through the web interface? Many thanks!
Re: Controlling a Sonoff S20 with a timer
Go to Tools=>Advanced page and setup the Rules, NTP, DST, and Location entries. Submit the changes, then Reboot. Now go to the Rules page and create your time event rules (Clock#Time, %systime%, %Sunrise%, etc). Time related rule examples are discussed here:
https://espeasy.readthedocs.io/en/lates ... Rules.html
Randomizing the S20's power output can be emulated by creating different start/stop time rules for each day of the week. The seven different schedules should fool any mortal that is bing-watching your home.
- Thomas
https://espeasy.readthedocs.io/en/lates ... Rules.html
Randomizing the S20's power output can be emulated by creating different start/stop time rules for each day of the week. The seven different schedules should fool any mortal that is bing-watching your home.
- Thomas
Re: Controlling a Sonoff S20 with a timer
Thank you! I'll give it a shot with the next batch of Sonoffs that I'm flashing.
Who is online
Users browsing this forum: Bing [Bot] and 30 guests