Integrating the CAMS biometrics system with FrappeHR enables real-time attendance tracking and automated data synchronization. This integration allows you to efficiently capture and manage punch logs directly from your biometric devices, ensuring accurate and up-to-date attendance records.
By setting up this integration, you can streamline your attendance processes, minimize manual data entry, and enhance overall accuracy in tracking employee time. The integration ensures that punch data from CAMS biometrics devices is seamlessly transferred to FrappeHR, where it is recorded in real-time, helping you maintain a reliable attendance management system.
-
Service Tag ID and Auth Token:
-
Callback URL Setup:
-
CAMS operates there own server, where punches are recorded, and to ensure proper integration, you need to provide a callback URL.
-
In our app, we have a function called attendance ,for handling attendance data. Our URL will generally follow this format:
{site}/api/method/navari_cams_biometric.cams_biometric.controllers.cams_call.attendance
-
Copy this API endpoint and remember to replace the {site} with your subdomain.
For Example if your site is https://example.erpnext.com then the link will be:
https://example.erpnext.com/api/method/navari_cams_biometric.cams_biometric.controllers.cams_call.attendance
-
-
API Configuration in CAMS: Log into your cams unit account
-
Punching Data:
- Once the callback API is set up, you can use the biometric device to record employee punches.
- Each punch event will be sent to FrappeHR, where it will be recorded in the Employee Check-in records.
-
Employee Biometric ID Mapping:
- Each employee must be assigned a unique biometric ID in the FrappeHR system, similar to the one registered in the cams device.
- It is recommended that this ID closely resembles the employee’s system ID for consistency.
- Since you have registered the employee on cam device, get the same id and fill it in the Attendance/biometric ID field on Employee doctype
-
Shift Assignment:
- Assign appropriate shifts to each employee to facilitate automatic attendance marking.
- This step is crucial for ensuring that the attendance system functions correctly, as it relies on shift data to log employee punch times accurately.
- Attendance Marking:
- The biometric punch data will update the Employee Check-in records.
- The date of the last synchronization from the attached shift will be updated with the latest punch log.
- Regular Syncing:
- Regularly verify and synchronize punch logs to ensure accurate attendance records.
- Employee Records:
- Accurate mapping of biometric IDs and shift assignments is vital for correct attendance tracking and reporting.
Fetching Historical Punch Logs:
- In case where you want to retrieve old/historical punch logs, we have a feature on cams biometric settings doctype.
- To retrieve punch logs, navigate to the CAMS Biometric Settings in FrappeHR.
- Enter the Start Date
and End Date
fields to specify the range for the punch logs.
- Click on Load Punchlog
to fetch the attendance records. So that you know, this feature is available depending on your CAMS subscription plan.
-
Once bench, ERPNext and FrappeHR are installed, add navari_cams_biometric to your bench by running:
$ bench get-app --branch {branch-name} https://github.com/navariltd/navari_cams_biometric.git
Replace {branch-name}
with the desired branch name from the repository. Ensure compatibility with your installed versions of Frappe, ERPNext and Frappe HR.
- Install the navari_cams_biometric app on your site by running:
$ bench --site {sitename} install-app navari_cams_biometric
Replace {sitename}
with the name of your site.
-
Sign up with Frappe Cloud.
-
Setup a bench.
-
Create a new site.
-
Choose Frappe Version-14/Version-15 or above, and select ERPNext, Frappe HR, and Cams Biometric from the available Apps to Install.
-
Within minutes, the site will be up and running with a fresh install, ready to explore the app's simple and impressive features.
If assistance is needed to get started, reach out for consultation and support from: Navari.