lucki1000 / Stechzeiten

A Python script to Read/Write MFRC522 Chips/Cards with a rpi (zero)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stechzeiten

Install:

Simply use my install script:

You must manually install a Webserver. If you are done make this:

git clone https://github.com/lucki1000/Stechzeiten.git
cd Stechzeiten
chmod +x install.sh
./install.sh

The manually steps are here listed:

For RaspberryPiOS:

Enable the SPI in the raspi-config menu, then install a web server of your choice and the requiered depencies to use stechzeiten.py

sudo apt install {your webserver} mariadb-common mariadb-server python3-dev python3-pip tmux -y

after that we need also python packages, were are installed with:

sudo pip3 install spidev
sudo pip3 install mfrc522
sudo pip3 install mysql
sudo pip3 install mysql-connector-python-rf

Then clone my repository with:

git clone https://github.com/lucki1000/Stechzeiten.git

and copy all files from the website folder in your webservers root path then you can edit or run create_database.sh to create the struct in MYSQL/Maria-DB, you can also use my systemd unit who i created and put the folder stechzeiten in /etc/ or you can run it manually with:

python3 stechzeiten/stechzeiten.py

and thats all, now can use it.

Goals:

  • connection to database and write data into

  • Web Viewer

Picture from the Webviewer:

900

A project by Lukas Bonrath

About

A Python script to Read/Write MFRC522 Chips/Cards with a rpi (zero)


Languages

Language:JavaScript 67.5%Language:Python 8.1%Language:CSS 7.5%Language:Shell 7.2%Language:HTML 6.8%Language:PHP 2.9%