Downloads Β· 30 days
8
29% of all-time downloads
samrudh-nux/WiFi_Attendence_System.1.0
WiFi_Attendence_System.1.0 is a machine learning model from samrudh-nux. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
The WiFi-Based Attendance & Break Tracker is an advanced employee time tracking system that monitors attendance by detecting MAC addresses of devices connected to the local WiFi network. This enhanced version includesβ¦
Downloads Β· 30 days
8
29% of all-time downloads
All-time downloads
28
Public
Repo size
β
Likes
0
Public
Click a slice to open those files.
.pyc110 KB Β· 33%
From the Hugging Face model README
The WiFi-Based Attendance & Break Tracker is an advanced employee time tracking system that monitors attendance by detecting MAC addresses of devices connected to the local WiFi network. This enhanced version includes comprehensive employee management features, password protection, and a modern web interface.
|#Model Working And Images

Extract the Project
Extract wifi_attendance_tracker_advanced.zip to your desired location
Run Setup Script
Double-click setup.bat
Configure Employees
Edit employees.json with your employee data
Start the Application
Double-click run.bat or run: python main.py
Install Python Dependencies
pip install flask flask-cors bcrypt
Configure System
# Edit config.json for system settings
# Edit employees.json for employee data
Run Application
python main.py
{
"scan_interval_seconds": 60,
"web_port": 5000,
"office_timeout_hour": 17,
"office_timeout_minute": 0
}
[
{
"name": "John Doe",
"mac_address": "aa-bb-cc-dd-ee-ff",
"picture": "static/img/john_doe.jpg"
},
{
"name": "Jane Smith",
"mac_address": "11-22-33-44-55-66",
"picture": "static/img/jane_smith.jpg"
}
]
python main.py
Access the web interface at: http://localhost:5000
python main.py --console
python main.py --port 8080
python main.py --status
Adding Employees:
Searching Employees:
Changing Admin Password:
To add employee pictures:
Create Image Directory:
Create: static/img/ directory
Add Picture Files:
Place images in: static/img/employee_name.jpg
Update Configuration:
{
"name": "John Doe",
"mac_address": "aa-bb-cc-dd-ee-ff",
"picture": "static/img/john_doe.jpg"
}
The system uses the arp -a command to scan for devices on the local network. When an employee's device (identified by MAC address) is detected:
logs/ directorysudo python main.pyemployees.jsonpython main.py --status to check configurationpython main.py --port 8080attendance.db to reset databaseWhen running without administrator privileges:
wifi_attendance_tracker/
βββ main.py # Main application entry point
βββ attendance_tracker.py # Core attendance tracking logic
βββ database.py # Database operations
βββ auth.py # Authentication management
βββ web_interface.py # Flask web interface (legacy)
βββ config.json # System configuration
βββ employees.json # Employee data
βββ requirements.txt # Python dependencies
βββ setup.bat # Windows setup script
βββ run.bat # Windows run script
βββ templates/
β βββ index.html # Web interface template
βββ static/
β βββ css/
β β βββ style.css # Web interface styles
β βββ js/
β β βββ script.js # Web interface JavaScript
β βββ img/ # Employee pictures directory
βββ logs/ # CSV export directory
βββ attendance.db # SQLite database
The web interface provides REST API endpoints:
GET /api/status - Get system statusPOST /api/start_monitoring - Start monitoringPOST /api/stop_monitoring - Stop monitoringGET /api/employees - Get all employeesPOST /api/add_employee - Add new employee (requires password)GET /api/search_employees?q=query - Search employeesGET /api/attendance_events - Get attendance eventsGET /api/daily_summary?date=YYYY-MM-DD - Get daily summaryGET /api/summary_stats?date=YYYY-MM-DD - Get summary statisticsGET /api/export_csv?date=YYYY-MM-DD - Export CSVPOST /api/change_password - Change admin passwordEdit config.json:
{
"office_timeout_hour": 18,
"office_timeout_minute": 30
}
Adjust monitoring frequency:
{
"scan_interval_seconds": 30
}
Change web interface port:
{
"web_port": 8080
}
main.py or create new modulestemplates/index.html and static/ filesdatabase.pymain.py# Test database functionality
python database.py
# Test authentication
python auth.py
# Test attendance tracking
python attendance_tracker.py
# Check system status
python main.py --status
python main.py --status for system diagnosticslogs/ directoryWhen reporting issues, include:
This project is provided as-is for educational and internal business use. Please ensure compliance with local privacy and employment laws when monitoring employee attendance.
WiFi Attendance Tracker - Employee Management Version
Advanced MAC Detection with Employee Management Features
Version 3.0 - 2025