Face Attendance Device
This module enables management of face attendance devices (tablets/kiosks) that use facial recognition for automated employee attendance tracking. Devices authenticate with the server, receive employee face data, and submit attendance records.
Features
- Device Management - Register, edit, and manage face attendance devices
- Token-based Device Authentication - Devices authenticate using generated tokens with session management
- User Assignment - Assign specific employees to specific devices
- Session Monitoring - View active device sessions and their status
- Attendance Logs - Review face recognition logs with confidence scores
- Token Regeneration - Generate new authentication tokens for devices
Requirements
- Open Core Business Suite (Base System)
- Face Attendance module (dependency)
- Dedicated tablet/kiosk hardware with camera
- Network connectivity for devices
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find Face Attendance Device and click Enable
- Run migrations if prompted
Enable via Command Line
php artisan module:enable FaceAttendanceDevice
php artisan migrate
note
The Face Attendance module must be installed and enabled before enabling this module.
Usage
Adding a Device
- Navigate to Attendance Management > Face Attendance Devices
- Click Create to add a new device
- Enter device details:
- Device name
- Code
- PIN (6 characters, required for device security)
- Device type
- Status
- Save the device (a unique ID and authentication token are generated automatically)
Assigning Users to a Device
- Navigate to Attendance Management > Face Attendance Devices
- Click on a device and go to Assign Users
- Search for and select employees to assign
- Save the assignments
Assigned users can be viewed in a data table showing their name, department, and assignment date. Users can be unassigned individually.
Viewing Device Details
The device detail page shows:
- Device information (name, code, type, unique ID, status)
- Last ping timestamp
- Assigned users count
- Sessions tab - Active and expired device sessions with token info and activity timestamps
- Logs tab - Face recognition logs with user, result, confidence score, and attendance record links
Managing Devices
- View - See device details, sessions, and logs
- Edit - Modify device name, code, type, and status
- Regenerate Token - Generate a new authentication token (invalidates the old one)
- Assign/Unassign Users - Control which employees can use the device
- Delete - Remove devices no longer in use
Device Statuses
| Status | Description |
|---|---|
| New | Device has been created but not yet activated |
| Active | Device is registered and operational |
| Inactive | Device has been deactivated temporarily |
| Deactivated | Device has been permanently deactivated |
Device Authentication Flow
- Device authenticates with the server using its token
- Server creates a session and returns a session token
- Device uses the session token for subsequent requests
- Device retrieves face data for assigned employees
- Device submits attendance records when faces are recognized
Related Modules
- Face Attendance - Required for face data enrollment and management
Changelog: View version history