You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
3d | 7 months ago | |
configs | 7 months ago | |
media | 7 months ago | |
track | 7 months ago | |
.gitignore | 7 months ago | |
Beertap.py | 7 months ago | |
Button.py | 7 months ago | |
Invoice.py | 7 months ago | |
NFC.py | 7 months ago | |
README.md | 7 months ago | |
Tap.py | 7 months ago | |
Video.py | 7 months ago |
README.md
Lightning activated Beertap for the EINUNDZWANZIG SAARLAND/PFALZ Plebs
Instructions:
Install prerequisities
sudo apt-get install python-is-python3 pigpio python3-pigpio build-essential autoconf libtool pkg-config libnfc6 libnfc-bin libnfc-examples
pip install pillow configparser qrcode events requests pigpio pn532pi
Clone Project
git clone https://codeberg.org/amiss.widen751/LN-Beertap.git
cd LN-Beertap
Edit Config
mv example.config.beer config.beer
nano config.beer
Make it systemd
sudo mv systemd/* /lib/systemd/system/
sudo rm -rf systemd
sudo systemctl enable pigpiod.service
sudo systemctl enable beertap.service
sudo systemctl enable killswitch.service
sudo systemctl daemon-reload
sudo systemctl start pigpiod.service
sudo systemctl start beertap.service
sudo systemctl start killswitch.service