Turn a street lamp on and off Script to run in cron to turn on and off a lamp based on sunrise and sunset data. Sunrise data source: https://sunrise-sunset.org/api Sonoff firmware: https://github.com/Gruppio/Sonoff-Homekit Cron */15 * * * * cd ~/smart_home/ && ./toggle_lamp.sh 2>&1