Open smartypantsuk opened 1 year ago
Current settings are available in diagnostic section in device view.
To avoid typos it's better to let integration to set alarm server. For existing device just remove it and check the box by adding again. If you want to do it manually proper settings should look like:
If cameras are connected to NVR it’s enough to setup Alarm Server at NVR. If cameras are standalone Alarm Server has to be setup on each.
By default HA runs HTTP on port 8123. Keep it in mind if you have custom setup. URL/Path is always /api/hikvision
Current settings are available in diagnostic section in device view.
To avoid typos it's better to let integration to set alarm server. For existing device just remove it and check the box by adding again. If you want to do it manually proper settings should look like:
If cameras are connected to NVR it’s enough to setup Alarm Server at NVR. If cameras are standalone Alarm Server has to be setup on each. By default HA runs HTTP on port 8123. Keep it in mind if you have custom setup. URL/Path is always
/api/hikvision
Thanks I'll see if that makes any difference
Hi @maciej-or, firstly big thanks for your work and this addon. I have question related to Alarm Server tab. Do you know if there is anything is needed to be enabled/changed in NVR? I don't have this tab in Advanced configuration: My NVR model: DS-7608NXI-K1
Thanks in advance for any help/hint.
Your NVR and mine too have no this tab. Ask Hikvision engineers why :) The integration sets alarm server for you using API so crucial is having valid ip, port in diagnostic panel in HA, that means it's set properly.
@maciej-or Thanks for qucik reply. I asked Hikvision engineers and waiting for response, I will let you know if I get any more information ;) So to summarize, without this tab integration also should work with filling IP and port in "Other" tab configuration? Also question is if this will work with HTTP or also with HTTPS because there is no option to set on NVR side.
Ok, I've installed the Integration. I enabled the Alarm Host (Server) IP in the NVR and in the Integration itself. Motion sensor still does not register any motions. Hik-Connect App registers them. I am able to access the IP camera stream.
Similar issue here. I set the the Home Assistant IP during setup but only get the default diag info
This is on a DS-7616NI-E2/16P FW V3.4.92
@jdgiddings your firmware looks outdated, try to update if newer is available also check if user you use has sufficient privileges https://github.com/maciej-or/hikvision_next?tab=readme-ov-file#hikvision-device-setup-checklist
@maciej-or I updated to V3.4.96 and I'm using the built in admin user for now, so it should have every permission. Still no dice
EDIT: Debug Log Dump https://pastebin.com/iTSP2UPG
EDIT 2: You can see where its failing to set the info on line 224. I'm trying to manually set it via the API and receiving 400s as well. Changing protocolType to HTTPS seems to cause the 400
EDIT 3: I think I'm getting somewhere. Using the Nginx Proxy Manager add-on, I was able to add an insecure, HTTP-only route so the NVRs can communicate with HA. I'll test it out tomorrow
When I setup the integration initially, I checked the box to setup alarm ip server. I noticed that in the nvr configuration that there is nothing listed under alarm host ip or alarm host port. Should this have HA ip address configured? If so, what should I enter for:
Alarm Host IP: Home Assistant IP Alarm Host Port: ? Server Port: ? HTTP Port: ?
Thanks