Hikvision Biometric Integration

I have a Hikvison biometric device. I want to fetch the data and update it into ERPNext.

Here are the Device Details:

Model : DS-K1T343MFWX

I tried this package hikvisionapi

pip install hikvisionapi

& this package also hikvision

pip install hikvision

I can’t able to make connection and tried with correct credentials also but I’m getting this error

my_hikvision.py

import traceback
from hikvisionapi import Client

try:
    cam = Client('http://192.168.3.6', 'admin', 'admin@2023')

    response = cam.System.deviceInfo(method='get')
except:
    traceback.print_exc()

error

Traceback (most recent call last):
  File "/home/softsuave/_practice/python/ERP/hikvision/my_hikvision.py", line 6, in <module>
    cam = Client('http://192.168.3.6', 'admin', 'deltastark@2023')
  File "/home/softsuave/_practice/python/ERP/hikvision/env/lib/python3.10/site-packages/hikvisionapi/hikvisionapi.py", line 109, in __init__
    self.req = self._check_session()
  File "/home/softsuave/_practice/python/ERP/hikvision/env/lib/python3.10/site-packages/hikvisionapi/hikvisionapi.py", line 124, in _check_session
    response.raise_for_status()
  File "/home/softsuave/_practice/python/ERP/hikvision/env/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://192.168.3.6/ISAPI/System/status

I need help please some one help me. thank you

1 Like

@Antony_Praveenkumar

It appears that there may be an issue with the device IP or port, resulting in a 404 error.

Have you been able to resolve this issue and successfully integrate the device with the check-ins system?

ERPNext only support zk protocol only but HIKVISION not providing the ZK protocol. here the example machine