Skip to content

This is a simple internet radio alarm for the Raspberry Pi

License

Notifications You must be signed in to change notification settings

bb4L/rpi-radio-alarm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPi Radio Alarm

This is a simple internet radio alarm for the Raspberry Pi. It is basically a tiny REST interface using Waitress and Falcon playing radio using mplayer.

Installation

Dependencies

sudo apt install python git mplayer python-falcon python-pip

Get it

cd ~
git clone https://github.com/bb4L/rpi-radio-alarm.git

Afterwards run inside the project

pip install -r requirements.txt

Autostart

If it isn't already make the launcher.sh file executable by:

chmod 755 launcher.sh

Create a directory for logs

mkdir logs

For autostart add the file to crontab by typing:

sudo crontab -e

Then, enter the line:

@reboot sh /home/pi/rpi-radio-alarm/launcher.sh >/home/pi/rpi-radio-alarm/logs/cronlog 2>&1

License

This is published under the 3-Clause BSD License.

About

This is a simple internet radio alarm for the Raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%