mezz64 / pyHik

Python wrapper for Hikvision camera event stream

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binary sensor not created

NicusorFlorinBaluta opened this issue · comments

I added the configuration like this:

binary_sensor:
  - platform: hikvision
    host: 192.168.50.246
    username: admin
    password: *******

and the system logger says:

Logger: pyhik.hikvision
Source: components/hikvision/binary_sensor.py:157
First occurred: 11:15:00 (1 occurrences)
Last logged: 11:15:00

Unable to fetch events. Device firmware may be old/bad.

Am i doing something wrong?

Device info:

Device Name Outdoor Camera
Model DS-2CV2041G2-IDW
Firmware Version V5.5.800 build 210629
Encoding Version V7.3 build 200215
Web Version V4.0.1 build 200218

Any assistance is much appreciated 🙇

I just had the same problem with 4 out of 6 cameras. Simply fixed by upgrading firmware.

try with new firmwares:
https://www.hikvision.com/en/products/IP-Products/Network-Cameras/Wi-Fi-Series/ds-2cv2041g2-idw/?subName=DS-2CV2041G2-IDW

http://<camera_ip>/ISAPI/Event/triggers should respond with triggers xml payload

Did that, same error though :(

when i tried that link i got

<ResponseStatus xmlns="http://www.hikvision.com/ver20/XMLSchema" version="2.0">
<requestURL>/ISAPI/Event/triggers</requestURL>
<statusCode>3</statusCode>
<statusString>Device Error</statusString>
<subStatusCode>deviceError</subStatusCode>
</ResponseStatus>

I want to mention i used the same data to access the camera through Synology and it worked without issue