Skip to content

lundstrj/crosstag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crosstag: A sensible gym solution for sensible gyms

I really wish I had written more here. Maybe by Christmas?

Features

Installation

install dependencies and clone this repo

sudo pip3 install —upgrade pip
sudo pip3 install Flask
sudo pip3 install Flask-SQLAlchemy
sudo pip3 install Flask-wtf
sudo pip3 install pyfiglet
sudo pip3 install requests
sudo pip3 install pyserial
git clone https://github.com/lundstrj/crosstag.git

to start the server

sudo python crosstag_server.py

to start the reader

python crosstag_reader.py

to start the terminal based viewer

python crosstag_viewer.py

Avoid screen blanking

sudo nano /etc/kbd/config
BLANK_TIME=0
POWERDOWN_TIME=0
sudo /etc/init.d/kbd restart
sudo nano /etc/lightdm/lightdm.conf
xserver-command=X -s 0 dpms

Setup for remote access

sudo apt-get update
sudo apt-get install weavedconnectd
sudo weavedinstaller

Setup for Crontab

sudo apt-get install gnome-schedule
crontab -e <== Opens crontab file
Add 3 lines in the bottom for automatic email, automatic sync and clear tagcounter
* 10 * * 1 wget -O - -q -t 1 http://localhost/crosstag/v1.0/send_latecomers_email/
* 6 * * 1 wget -O - -q -t 1 http://localhost/crosstag/v1.0/fortnox/
0 4 1 * * wget -O - -q -t 1 http://localhost/crosstag/v1.0/clear_tagcounter/

About

A small, lightweight, RFID tagin system for a gym

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published