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