-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Failed to setup with NVR model: DS-7616NI-E2 / 16P #5
Comments
Hi, Any advice? Log: (IP changed) Logger: custom_components.hikvision_next.isapi Unexpected exception Cannot fetch state for scenechangedetection Client error '403 Forbidden' for url 'http://192.168.x.x/ISAPI/Smart/SceneChangeDetection/1' For more information check: https://httpstatuses.com/403 |
hi, thanks for testing this early version 403 errors can occur after NVR reboot (reload integration is needed then) or user has no permissions, please compare https://github.com/maciej-or/hikvision_next#hikvision-device-setup-checklist |
please check dev branch with all fixes |
Sadly I am not very experienced in git and code. I think I will wait for the auto update. Or will a complete removal and fresh download do the same result? |
you can simply download zip by clicking green button Code on branch page https://github.com/maciej-or/hikvision_next/tree/dev |
Now I get "Device is already configured" but the integration nor the entities show in HA.
Thought to share |
You did not remove device as I suggested. So:
|
Nothing changed. I even tried removing the HACS integration from the 'Three dots' and download it again. same message! |
Hi, |
If removing device didn't help, the only way is modify core.device_registry file. ! PLEASE DO BACKUP before ! Edit config/.storage/core.device_registry and remove all entries associated with entries to remove will look like:
|
Hi,
HA restarted and seems to be working. Did you update/fix the integration? Should I try to install again? |
As far fixes are stil on dev branch, you can test it. The release will come soon. |
Thanks for the notice. Did a quick install, on the Integration page I am not seeing the 'Connected Devices'. Will check and read documentation more later tonight. |
I wonder if this is also the same issue as #34 as it seems it is also not loading it as a NVR but individual camera. I wonder if this is another Hikvision device_type not reporting NVR but something else? |
Hi,
Sadly, didn't get it to work. below the error message from HA. any chance this will work with my NVR model?
Thanks :)
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/hikvision_next/isapi.py:303
Integration: Hikvision NVR / IP Camera (documentation)
First occurred: 27 February 2023 at 19:42:11 (7 occurrences)
Last logged: 00:54:11
Error setting up entry RSBR NVR for hikvision_next
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hikvision_next/init.py", line 56, in async_setup_entry
await isapi.set_alarm_server(
File "/config/custom_components/hikvision_next/isapi.py", line 303, in set_alarm_server
and host["ipAddress"] == address.hostname
KeyError: 'ipAddress'
The text was updated successfully, but these errors were encountered: