Skip to content

danistark1/rpiBigBen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rpiBigBen

An RPi Big-Ben project. Turn a raspberry pi into a big-ben clock.

Required

  • Raspberry pi / anything running linux
  • Speakers
  • mpv audio software
  • big-ben strikes sound files

Update RPi

sudo apt-get update
sudo apt-get upgrade

Install mpv

sudo apt-get install mpv
mkdir /home/pi/big-ben
cd /home/pi/big-ben

Use these files for 1hrs/30 mins strikes

Under soundFile, 2 files downloaded from the British-Parliment website.

Or

Create a bash script to read the current time

Under clockScript, this script will run every 1hr and every 30 mins.

Create a cronjob to run the script

Create this cron job to run the created clock script. crontab -e

0,30 * * * * bash /home/pi/big-ben/clock.sh (if you want it to run all day)
0,30 9,10,11,12,15,16,17,18,19,20 * * * bash /home/pi/big-ben/clock.sh (certain hours of the day)
0,30 9,10,11,12,17,18,19,20 * * * bash /home/pi/big-ben/clock.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages