You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Demmelbauer 9e2e5f019e udate readme, update gitignore пре 5 година
music add music directory and playlist directories (without music) пре 5 година
.gitignore udate readme, update gitignore пре 5 година
README.md udate readme, update gitignore пре 5 година
apt-installed.list installed packages пре 5 година
disco.service added systemd service file, added door state, edited lircrc пре 5 година
discobert.py add gitignore usw пре 5 година
dmxtest.py initial commit пре 5 година
lircrc added systemd service file, added door state, edited lircrc пре 5 година
mpd-test.py a lot пре 5 година
mpd.conf add mpd config пре 5 година
playmusic.py initial commit пре 5 година
requirements.txt installed packages пре 5 година
smb.conf add samba config, add install instructions пре 5 година

README.md

Install

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

DMX not working?

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