Plays music before Shabbat/Hag. The song is selected per the specific Hag. Switches on a raspberry GPIO that can be connected to a solid-state relay.
- In raspi-config:
- Set timezone to Other>UTC
- Enable I2C (I think)
sudo apt-get install omxplayer
- RTC: https://www.raspberrypi.org/forums/viewtopic.php?t=209700
- Follow instructions in ~requirements.txt
- Set
sudo crontab -e
45 2 * * * /home/pi/shabbat/m
@reboot /home/pi/shabbat/m