Skip to content

makerhafen/MAAPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAAPS

MAAPS - Machine Access And Payments System

Hardware

Pinheader Raspi Function Hardware Hint
Pin 1 3.3V 3.3V RFID Pin 1 Löten, Pin belegt von LCD
Pin 34 GND GND RFID Pin 3
Pin 35 GPIO 19 MISO RFID Pin 5
Pin 36 GPIO 16 CS0 RFID Pin 8
Pin 38 GPIO 20 MOSI RFID Pin 6
Pin 40 GPIO 21 SCLK RFID Pin 7
Pin 31 GPIO 6 Relais 3 Relais CH3
Pin 33 GPIO 13 Relais 2 Relais CH2
Pin 37 GPIO 26 Relais 1 Relais CH1 Jumper auf Relais board

Setup

Add devices to setup/devices.csv, edit setup/wpa_supplicant.conf to match your wlan.

Server

python3 setup.py serversetup

On first install login to server now, go to /home/{PI_USERNAME}/MAAPS/server and run

python3 manage.py createsuperuser 

to add your first user. Open the user admin page https://SERVERIP/webif/user/list, add firstname and lastname to admin user and save. Open the django admin page at https://SERVERIP/admin/, open the "Tokens" page and get the token identifier for admin (for example U:admin;4c31a8d19b95a7dfe85c)

Point of Sale

Install your first point of sale

python3 setup.py install <POS_IP>

After that, we must write our first admin RFID card. Login to the first POS, go to /home/{PI_USERNAME}/MAAPS/client/. Use the token you got from the token admin page

python3 hardware.py write "YOUR_ADMIN_TOKEN_HERE" 

After your first card was created, you can login on the POS with this card and create additional cards.

About

MAAPS - Machine Access And Payments System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages