Open maslyankov opened 1 year ago
Full logs: https://pastebin.com/htLqhZsY
Related issue: https://github.com/maciej-or/hikvision_next/issues/69
After this happening, I try to setup the DVR using ONVIF with onvif specific user (there are separate users for onvif) I get this error:
Could not authenticate: The device is locked because of entering wrong username/password many times.Please try it after 30 minutes! (code:soap:Sender) (subcodes:{http://www.onvif.org/ver10/error}NotAuthorized)
This makes me believe that the integration is trying to use wrong credentials for some reason, which makes the DVR block the Home Assistant IP.
I reverted to using ONVIF for now.
You cannot use ONFIV and hikvision_next integrations together. I get the lowest delays and best performance with hikvision_next and RTSPtoWeb - WebRTC add-on.
You cannot use ONFIV and hikvision_next integrations together. I get the lowest delays and best performance with hikvision_next and RTSPtoWeb - WebRTC add-on.
I have not used them together... I had to fallback to ONVIF because hikvision_next does not work... Please read the issue description and comments after it again.
ok, sorry I did not read all comments carefully, so I see you have errors by getting camera static image. Please check if you are able to get that from browser
http://{user}:{pass}@{ip}/ISAPI/Streaming/channels/101/picture
(it should take snapshot from the first camera)
and if this option
has influence on that
ok, sorry I did not read all comments carefully, so I see you have errors by getting camera static image. Please check if you are able to get that from browser
http://{user}:{pass}@{ip}/ISAPI/Streaming/channels/101/picture
(it should take snapshot from the first camera) and if this option![]()
has influence on that
I had previously tried to enable all types of auth that the ui supports. Attaching a screenshot:
The option I mentioned is for snapshots only, it overrides general settings in my case. I wonder if you have separate option for that as well? After enabling picture authentication restart NVR might be required to reset failed attempts counter.
The option I mentioned is for snapshots only, it overrides general settings in my case. I wonder if you have separate option for that as well? After enabling picture authentication restart NVR might be required to reset failed attempts counter.
There are no other options for security and auth in the DVR config. For snapshots, I have found that the url does not require authentication (weird huh) and I can access it freely: http://192.168.1.58/ISAPI/Streaming/channels/101/picture
same issue here, it randomly stops working and gives these kind of logs:
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'http://192.168.0.213/ISAPI/System/status' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401 2023-11-04 00:21:45.483 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ds_7616ni_e2_16p_a1620161122aarr681759904wcvu_101] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://****:****@192.168.0.213:554/Streaming/channels/101
After a few seconds of usage, the camera streams stop working and the integration says Failed to initialize. The DVR is online, I can login and view the streams normally via VLC etc. The issue fixes after I reboot the NVR and re-add it second time, until it happens again shortly.
hikvision_next version: 1.0.10
Logs with enabled debugging:
User in use has the requres permissions specified in the Readme.md