How to integrate Zkteco SpeedFace-V5L in erpnext ?
@Falcon
Hello,
Did you succeed in implementing this?
Yes, we are making good progress with this implementation and hope to complete it within a week.
@Falcon
Can you tell me how you solved the problem?
When I run the synchronization, this error appears
Error log
2025-07-02 16:13:11,990 ERROR 10.143.0.22 exception when fetching from device… Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month 2025-07-02 16:13:12,599 ERROR exception when calling pull_process_and_push_data function for device{“device_id”: “SYZ8244900222”, “ip”: “10.143.0.22”, “punch_direction”: “AUTO”, “clear_from_device_on_fetch”: false} Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month During handling of the above exception, another exception occurred: Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 63, in main pull_process_and_push_data(device, device_attendance_logs) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 92, in pull_process_and_push_data device_attendance_logs = get_all_attendance_from_device(device[‘ip’], device_id=device[‘device_id’], clear_from_device_on_fetch=device[‘clear_from_device_on_fetch’]) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 174, in get_all_attendance_from_device raise Exception(‘Device fetch failed.’) Exception: Device fetch failed. 2025-07-02 16:14:28,600 ERROR 10.143.0.22 exception when fetching from device… Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month 2025-07-02 16:14:28,762 ERROR exception when calling pull_process_and_push_data function for device{“device_id”: “SYZ8244900222”, “ip”: “10.143.0.22”, “punch_direction”: “AUTO”, “clear_from_device_on_fetch”: false} Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month During handling of the above exception, another exception occurred: Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 63, in main pull_process_and_push_data(device, device_attendance_logs) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 92, in pull_process_and_push_data device_attendance_logs = get_all_attendance_from_device(device[‘ip’], device_id=device[‘device_id’], clear_from_device_on_fetch=device[‘clear_from_device_on_fetch’]) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 174, in get_all_attendance_from_device raise Exception(‘Device fetch failed.’) Exception: Device fetch failed. 2025-07-02 16:15:15,982 ERROR 10.143.0.22 exception when fetching from device… Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month 2025-07-02 16:15:16,003 ERROR exception when calling pull_process_and_push_data function for device{“device_id”: “SYZ8244900222”, “ip”: “10.143.0.22”, “punch_direction”: “AUTO”, “clear_from_device_on_fetch”: false} Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 156, in get_all_attendance_from_device attendances = conn.get_attendance() File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 1600, in get_attendance timestamp = self.__decode_time(timestamp) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\venv\Lib\site-packages\zk\base.py”, line 334, in __decode_time d = datetime(year, month, day, hour, minute, second) ValueError: day is out of range for month During handling of the above exception, another exception occurred: Traceback (most recent call last): File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 63, in main pull_process_and_push_data(device, device_attendance_logs) ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 92, in pull_process_and_push_data device_attendance_logs = get_all_attendance_from_device(device[‘ip’], device_id=device[‘device_id’], clear_from_device_on_fetch=device[‘clear_from_device_on_fetch’]) File “C:\Users\wudaa\biometric-attendance-sync-tool-main\erpnext_sync.py”, line 174, in get_all_attendance_from_device raise Exception(‘Device fetch failed.’) Exception: Device fetch failed.
check device id and ip,
try to ping