Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binary sensor not created #92

Open
NicusorFlorinBaluta opened this issue Aug 18, 2023 · 2 comments
Open

binary sensor not created #92

NicusorFlorinBaluta opened this issue Aug 18, 2023 · 2 comments

Comments

@NicusorFlorinBaluta
Copy link

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 🙇

@krismarc
Copy link

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

@NicusorFlorinBaluta
Copy link
Author

NicusorFlorinBaluta commented Apr 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants