Dynamic QR Attendance
This module enables dynamic QR attendance for employees with enhanced security through time-limited rotating QR codes. Dedicated QR devices display codes that change at configurable intervals, preventing QR code sharing and screenshot-based fraud.
Features
- QR Device Management - Register and manage devices that display dynamic QR codes
- Configurable Rotation Interval - Set how frequently QR codes change per device
- Device Registration API - Devices self-register using a unique ID and PIN
- Code Verification API - Mobile app verifies scanned dynamic QR codes against the server
Requirements
- Open Core Business Suite (Base System)
- Site Attendance module (dependency)
- Display devices (tablets, monitors) for showing dynamic QR codes
- Mobile devices with camera for QR scanning
Installation
Enable via Admin Panel
- Log in as administrator
- Navigate to Settings > Addons
- Find Dynamic QR Attendance and click Enable
- Run migrations if prompted
Enable via Command Line
php artisan module:enable DynamicQrAttendance
php artisan migrate
note
The Site Attendance module must be installed and enabled before enabling this module.
Usage
Registering QR Devices
- Navigate to QR Devices (top-level menu item)
- Click to add a new device
- Enter device details:
- Device name
- Unique ID (up to 8 characters)
- PIN (6 digits)
- QR update interval (how often the code rotates)
- Device type (Android, iOS, Windows, Mac, Linux, Web, or Other)
- Save the device
Device Self-Registration
Devices can also register themselves via the API:
- The device checks if it is already registered using its unique ID
- If not, it registers with the server providing its unique ID and PIN
- Once registered, the device can request new QR codes at the configured interval
Managing Devices
- View - See all registered QR devices with their status and type
- Edit - Modify device name, PIN, update interval, and type
- Delete - Remove devices no longer in use
Employee Check-in Process
- The QR device displays a rotating QR code that changes at the configured interval
- Employee opens the mobile app
- Scans the currently displayed dynamic QR code
- The app sends the code to the server for verification
- If valid, attendance is recorded; expired or invalid codes are rejected
Device Statuses
| Status | Description |
|---|---|
| New | Device has been created but not yet activated |
| Active | Device is registered and operational |
| Inactive | Device has been deactivated |
Related Modules
- Site Attendance - Required for site-based attendance management
- QR Attendance - Static QR codes for simpler setups
Changelog: View version history