Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Andreas Demmelbauer cd5f5a614b remove notes 5 år sedan
music add music directory and playlist directories (without music) 5 år sedan
.gitignore udate readme, update gitignore 5 år sedan
README.md add mpd 5 år sedan
apt-installed.list installed packages 5 år sedan
disco.service added systemd service file, added door state, edited lircrc 5 år sedan
discobert.py add gitignore usw 5 år sedan
dmxtest.py initial commit 5 år sedan
lircrc added systemd service file, added door state, edited lircrc 5 år sedan
mpd-test.py a lot 5 år sedan
mpd.conf add mpd config 5 år sedan
playmusic.py initial commit 5 år sedan
requirements.txt installed packages 5 år sedan
smb.conf add samba config, add install instructions 5 år sedan

README.md

Discobert is a multimedial toilet experience device

Install

Use Debian, install apt dependencies

sudo apt install git samba mpd libttspico-utils python3-pip python3-lirc python3-rpi.gpio

maybe also: wiringpi espeak mpc

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