lyf
#1
Hello,
I am unable to fetch employee check-in.
-
ping

-
python3 erpnext_sync.py - service running…
- But nothing is here after refresh
-
Employee Created
-
Attendance Device ID (Biometric/RF tag ID) set.
-
Screenshot of local_config.py
- May I know from where we can get the value of device_id and shift_type_name in local_config.py.
These values should be set in ERPNextor Machine.
What I am missing?
Please check the error file inside logs.
1 Like
lyf
#4
Please check the error.log
May I know from where I can get this device id and shift_type_name?
If I have only one machine, so can I remove the second line for machine_2 in devices.
bahaou
#5
@lyf yes remove the second device , it’s causing ping problems .
1 Like
lyf
#6
After removing second device…
Getting below error
when doing ping…

Is there any issue related to device name ???
or any setting I am missing in biometric device
bahaou
#7
@lyf are you doing the ping in the same terminal the code is running ?
lyf
#8
No, I am doing PING from Command Prompt, and my ERPNext site is hosted on VPS.
Biometric Device is connected through LAN Cable to my router.
bahaou
#9
@lyf ok the erpnext is hosted . you are doing ping from your local computer . where is the code running ? the erpnext_sync code where is it running ?
lyf
#10
erpnext_sync.py is running inside
/frappe-bench/biometric-attendance-sync-tool-1.0
Please check this SS
bahaou
#11
@lyf the code should be running in your local computer , a computer that is connected to the same network your biometric device is
1 Like