[Custom component] Hikvision NVR / IP Camera

Not sure what I’m missing. My NVR is on the supported list, but when I try to login I just keep getting “Unexpected error”. Anyone experienced this and have a solution? Thanks.

hi @ShadowTakker
It looks you filled the form correctly. Please go to Settings → System → Logs immediately after getting that error and paste its details.

Hi @maciej-or thanks for the reply. Please see log below:

//This error originated from a custom integration.

//Logger: custom_components.hikvision_next.config_flow
//Source: custom_components/hikvision_next/config_flow.py:81
//Integration: hikvision_next (documentation, issues)
//First occurred: 09:01:57 (1 occurrences)
//Last logged: 09:01:57

//Unexpected exception

It’s not enough, there should be more details under Unexpected exception or maybe in full log (button at the bottom)

@maciej-or, the full log only shows the below:

//2024-01-31 13:44:42.561 ERROR (MainThread) [custom_components.hikvision_next.config_flow] Unexpected exception

I have the same problem after update to HA 2024.2. I cannot login to cameras. I had to remove integration because with integration HA does not update to. 2024.2. After that I cannot add cameras to HA.

I know, many users submitted that Hikvision integration crashes latest Home Assistant 2024.2 · Issue #138 · maciej-or/hikvision_next · GitHub
I’m going to fix that soon. Now you can downgrade HA to 2024.1.6 or remove the integration.

1 Like

Now i can not update Core to 2024.2.0
I see that it is problem by your integration.

After update HA to 2024.2.1 it’s working…

Hello, the new version is now available. It generates valid unique IDs and updates old ones. The workaround introduced in Home Assistant version 2024.2.1 is temporary, so please update the integration to v1.0.11

1 Like

But is any chance to also fix motion detect ?

Update 2024.2.1 but the error continues.
Work DS-7108NI-Q1/8P

This error originated from a custom integration.

Logger: custom_components.hikvision_next.config_flow
Source: custom_components/hikvision_next/config_flow.py:81
Integration: Hikvision NVR / IP Camera (documentation, issues)
First occurred: 22:22:59 (5 occurrences)
Last logged: 22:49:47

Please help me.
Unexpected exception [Errno -2] Name does not resolve
Unexpected exception Request URL is missing an ‘http://’ or ‘https://’ protocol.

Are you sure you preceded the NVRs IP address with http://
?