Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Andreas Demmelbauer ba526deb8c new evdev lib instead of lirc il y a 1 an
music add music directory and playlist directories (without music) il y a 5 ans
project-images add images il y a 5 ans
remotes add userinteraction check for timeout il y a 3 ans
.gitignore udate readme, update gitignore il y a 5 ans
README.md „README.md“ ändern il y a 1 an
apt-installed.list installed packages il y a 5 ans
disco.service added systemd service file, added door state, edited lircrc il y a 5 ans
discobert.py new evdev lib instead of lirc il y a 1 an
lircrc :Merge branch 'master' of git.notice.at:redplanet/discobert il y a 4 ans
mpd.conf add mpd config il y a 5 ans
oe1journal.py add userinteraction check for timeout il y a 3 ans
requirements.txt lirc manual il y a 1 an
smb.conf add samba config, add install instructions il y a 5 ans
webtest.py clean up, add webserver il y a 5 ans

README.md

Discobert is a multimedial toilet experience device

The Setup is pretty custom. It includes:

  • Raspberry Pi 3b+
  • Relay Board for switching 220V Devices
    • Relay 1:
      • Light Bulb
    • Relay 3:
      • DMX Light
      • Disco Ball + Motor
  • PIR sensor
  • Door open/closed Sensor
  • IR Receiver
  • USB to DMX (Anyma uDMX interface)
    • A random DMX Spot
  • A random remote
  • some speakers

Discobert Work in Progress

Discobert Work in Progress

Install

Use Debian, install apt dependencies

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

maybe also: wiringpi espeak mpc

wiringpi:
http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/

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

Setting up a random remote

Use irrecord to create a lirc Config file and copy the generated file in /etc/lirc/lircd.conf.d/your-remotes-name.lircd.conf
You can find and edit the used keycodes: ~/discobert/lircrc

My remote:
sudo cp Sony-RM-V33E.lircd.conf /etc/lirc/lircd.conf.d/

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