Scripts for parsing and using iCal feed of das-labor
Get iCal feed and send a "ping" sound to the local pulseaudio server to stream it to all rooms.
Install icalendar python module with pip:
# pip install icalendar
Install dependencies (debian, ubuntu, linuxmint):
# apt-get install alsa-base pulseaudio sox
Add this line to crontab:
* * * * * /usr/bin/python /home/pi/cal2sound.py
If you want to stream to a pulseaudio server, this script is for the client. To create a host install the graphical tool "papref" and select the checkbox of "Enable network access to local sound devices" and "Don't require authentication".
Then initiate the sink on the client (where this script lives) via: # pactl load-module module-tunnel-sink-new server= sink_name= channels=2 rate=32000
Then select the sink (tunneling to the host) as audio output.
to cdrk for the Reception bell sound licensed under CC-BY-3.0