Andreas Demmelbauer 4a056a78c9 | il y a 5 ans | |
---|---|---|
music | il y a 5 ans | |
.gitignore | il y a 5 ans | |
README.md | il y a 5 ans | |
apt-installed.list | il y a 5 ans | |
disco.service | il y a 5 ans | |
discobert.py | il y a 5 ans | |
dmxtest.py | il y a 5 ans | |
lircrc | il y a 5 ans | |
mpd-test.py | il y a 5 ans | |
mpd.conf | il y a 5 ans | |
notes.md | il y a 5 ans | |
playmusic.py | il y a 5 ans | |
requirements.txt | il y a 5 ans | |
smb.conf | il y a 5 ans |
Use Debian, install apt dependencies
sudo apt install git samba libttspico-utils python3-pip python3-lirc python3-rpi.gpio
maybe also: wiringpi espeak
Clone this repo
cd /home/pi
git clone https://git.notice.at/redplanet/discobert.git
cd discobert
configure mpd
sudo cp mpd.conf /etc/mpd.conf
configure samba share
sudo cp smb.conf /etc/samba/smb.conf
install pip modules
pip3 install -r requirements.txt
add systemd service
sudo cp disco.service /lib/systemd/system/disco.service
sudo systemctl daemon-reload
download udmx-pyusb:
Clone https://github.com/dhocker/udmx-pyusb
... and add user permissions for udmx device
sudo cp 98-uDMX-usb.rules /etc/udev/rules.d