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.

notes.md 828 B

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