Toastie 9a2fea3e16 added restart policy | 4 years ago | |
---|---|---|
.. | ||
data | 4 years ago | |
.dockerignore | 4 years ago | |
.env | 4 years ago | |
.gitignore | 4 years ago | |
Dockerfile | 4 years ago | |
README.md | 4 years ago | |
docker-compose.yml | 4 years ago |
The idea and most code was borrowed from here, thanks Thomas!
The rdicac is the central piece of user interaction which reads the USB card reader and takes action. The full picture is explained in the dudelbox readme. This container runs under uid 100 with the gid set in the Dockerfile build ARG gid_input
(default 105). The gid should represent the group input
on the Docker host to make /dev/input/event0
accessible.
rfid-test.py
simplified script that prints detected tag IDs to the docker logrfidac.py
reads the rfid tags and runs respective bash scripts with threshold when the same tag was detected twice_action_template
is the template copied when no corresponding bash script was found_mpd_helper
is a collection of common functions sourced by the bash scripts