Yes, you can schedule your Sonoff Smart Switch to turn on and off automatically through the eWeLink app. Check this video to learn how : https://www.youtube.com/watch?v=9ZxXQbjvdpA