Use a Raspberry Pi Zero to continually monitor and notify of the Zone 2 power status of my Onkyo Receiver by flashing LEDs. This helps alert the house that we have left the outdoor entertaining speakers on.
- Requires installation on a Raspberry Pi due to blinkt!'s dependency on RPi.GPIO module.
$ python -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python onkyo_zone2_status.py
Run regularly on the Raspberry Pi as a scheduled task in crontab
$ crontab -e # edit cron table
*/2 * * * * /home/pi/.pyenv/shims/python3 /home/pi/bin/blinkt-proj-1/onkyo_zone2_status.py > /home/pi/logs/onkyo_zone2_status.log 2>&1
Daniel Bowden