Automatically hijack your Sonos system to play the Shipping Forecast from BBC Radio 4, then restores Sonos to previous state.
pip install soco
- Add BBC Radio 4 to your sonos favourite stations
- Edit the script to set the zone names and volumes
- Cron the script to run at 0048 every night, it defaults to 12 minutes duration
- Enjoy!
Edit your crontab with crontab -e
and add this line:
48 0 * * * /path/to/sonos-shipping-forecast/sonosforecast.py
Uses the SoCo controller library: https://github.com/SoCo/SoCo version 0.11.1