Hacker News new | ask | show | jobs
by kefabean 19 days ago
Shelly switches are great for this. For example, I have one behind a regular wall light switch for the front porch. The physical wall switch always toggles, but the local on-device script turns it on (if it’s not on) at sunset, and off (if it’s on) at 10:30pm. All configurable from the local web server. Only needs ntp (your choice) in case of restart after power failure.