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.

README.md 766 B

5 years ago
5 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Install
  2. Use Debian, install apt dependencies
  3. ```
  4. sudo apt install git samba libttspico-utils python3-pip python3-lirc python3-rpi.gpio
  5. ```
  6. maybe also: `wiringpi espeak`
  7. Clone this repo
  8. ```
  9. cd /home/pi
  10. git clone https://git.notice.at/redplanet/discobert.git
  11. cd discobert
  12. ```
  13. configure mpd
  14. ```
  15. sudo cp mpd.conf /etc/mpd.conf
  16. ```
  17. configure samba share
  18. ```
  19. sudo cp smb.conf /etc/samba/smb.conf
  20. ```
  21. install pip modules
  22. ```
  23. pip3 install -r requirements.txt
  24. ```
  25. add systemd service
  26. ```
  27. sudo cp disco.service /lib/systemd/system/disco.service
  28. sudo systemctl daemon-reload
  29. ```
  30. ### DMX not working?
  31. download udmx-pyusb:
  32. Clone https://github.com/dhocker/udmx-pyusb
  33. ... and add user permissions for udmx device
  34. ```
  35. sudo cp 98-uDMX-usb.rules /etc/udev/rules.d
  36. ```