Skip to content

Control MusicBox via GPIO buttons on the raspberry Pi

License

Notifications You must be signed in to change notification settings

tschuehly/musicbox_gpio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

musicbox_gpio

This extension is based on the idea of PiBoom.

You can control MusicBox via GPIO buttons on the Raspberry Pi.

First you have to install Python MPD2

pip install python-mpd2

The easiest way to start the script on startup is to append the following lines to the /etc/rc.local.

/PATH_TO/start.sh 2>&1 | tee /PATH_TO/start.log

then you create one start.sh and start.log in a desired folder and paste this into the start.sh

#!/bin/bash
sleep 30
python /PATH_TO/gpio_control.py &

About

Control MusicBox via GPIO buttons on the raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%