I needed a way to remotely turn off and then automatically turn back on after a short delay my internet router.
To this end I wrote a ESPHOME sketch which I flashed to a SONOFF S31 Lite power plug to do the job.
If your interested, the code is available as open source here: GitHub - roblatour/ESPHOME-Auto-On-Plug: SONOFF S31 Lite power plug auto turn on