Downloads ยท 30 days
9
15% of all-time downloads
malik-AI/WiFi_Attendence_System
WiFi_Attendence_System is a machine learning model from malik-AI. 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
9
15% of all-time downloads
All-time downloads
61
Public
Repo size
โ
Likes
2
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