NOTE: Unfinished, still in progress
The Smart Socket is a Sonoff S20 plug-in equivalent of the wired Smart Switch - either can be used by itself, or interact with any others.
The default program offers On/Off and Toggle, plus Delayed On/Off for an optional specified Duration, or scheduled On/Off.
All On and Off controls have individual settings, delays and durations can be specified in secs, min, hours or days.
Scheduled On and/or Off times can be one-off or repeated daily.
The integrated button provides local Toggle, and all options can be remotely controlled via web page or UDP interaction from other nodes.
Note to self - need to fix non-showing listboxs and complete EasyNet handshaking