Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Always put this at the top
- SYNCHRONIZED_LIGHTS_HOME=/home/pi/lightshowpi
- # Start microweb on boot
- @reboot $SYNCHRONIZED_LIGHTS_HOME/bin/start_microweb
- @reboot sudo python $SYNCHRONIZED_LIGHTS_HOME/py/button.py &
- # Evening Start
- # Turn on the lights at 4:30pm
- 30 16 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- # Show for 15min
- # Play my 2021 playlist one time thru and exit at 5:00 pm
- 00 17 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/start_music_and_lights
- # Stop the show at 5:14pm
- 14 17 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/stop_music_and_lights
- # Turn on the lights at 5:15pm
- 15 17 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- # Turn off the lights at 5:59pm
- #59 17 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=off
- #Show for 15min
- # Play my 2021 playlist one time thru and exit at 6:00 pm
- 00 18 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/start_music_and_lights
- # Stop the show at 6:14pm
- 14 18 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/stop_music_and_lights
- # Turn on the lights at 6:15pm
- 15 18 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- # Turn off the lights at 6:59pm
- #59 18 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=off
- # Show for 15min
- # Play my 2021 playlist one time thru and exit at 7:00 pm
- 00 19 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/start_music_and_lights
- # Stop the show at 7:14pm
- 14 19 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/stop_music_and_lights
- # Turn on the lights at 7:15pm
- 15 19 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- # Turn off the lights at 7:59pm
- #59 19 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=off
- # Show for 15min
- # Play my 2021 playlist one time thru and exit at 8:00 pm
- 00 20 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/start_music_and_lights
- # Stop the show at 8:14pm
- 14 20 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/stop_music_and_lights
- # Turn on the lights at 8:15pm
- 15 20 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- # Turn off the lights at 8:59pm
- #59 20 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=off
- # Show for 15min
- # Play my 2021 playlist one time thru and exit at 9:00 pm
- #00 21 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/start_music_and_lights
- # Stop the show at 9:14pm
- #14 21 * * * $SYNCHRONIZED_LIGHTS_HOME/bin/stop_music_and_lights
- # Turn on the lights at 9:15pm
- #15 21 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=on
- #End of Night
- # Turn off the lights at 10:30pm
- 30 22 * * * sudo python $SYNCHRONIZED_LIGHTS_HOME/py/hardware_controller.py --state=off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement