[App][Pro] HikVision

can you try this curl call?

curl --digest \
  -u admin:NVR_PASSWORD \
  http://NVR_IP/ISAPI/Event/notification/httpHosts

You should get something like this

<?xml version="1.0" encoding="UTF-8" ?>
<HttpHostNotificationList version="1.0" xmlns="urn:psialliance-org">
<HttpHostNotification version="1.0" xmlns="urn:psialliance-org">
<id>1</id>
<url>/isapiEvent/nvr/SOMTHING</url>
<protocolType>HTTP</protocolType>
<parameterFormatType>XML</parameterFormatType>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>YOUR_HOMEY_IP_ADDRESS</ipAddress>
<portNo>10000</portNo>
<httpAuthenticationMethod>none</httpAuthenticationMethod>
<Extensions xmlns="http://www.hikvision.com/ver20/XMLSchema">
<intervalBetweenEvents>0</intervalBetweenEvents>
</Extensions>
</HttpHostNotification>
</HttpHostNotificationList>

A new version is available. It fixes the connection test during the pairing session.

I am eager to test, so I installed the app on my Homey Pro. (The kickstarter edition, so I understand there are some limitations.) But when I do an ‘if’ ‘line crossed’, the only ‘then’-option is to set some PTZ-options that my camera does not have. And that card is not in the list of cards on your app page. So I feel a bit stupid… What do I do wrong? Maybe there are some example flows? It would be nice to get an e-mail when the camera detects an event. FYI: camera type DS-2CD2345FWD-I

Hi, Yes I get exactly that with my homeys Ip address.

Hi!
This is only a beta version, and PTZ actions are not yet supported… maybe one day :sweat_smile:
It’s like with the doorbell, I don’t have a PTZ camera, so it’s a bit complicated for me.

Thanks for the quick reply, but it looks like you misunderstood my comment. I don’t need PTZ-commands, but I only see this card:

And that is strange, certainly if you state the app does not support it. And my connected camera is a fixed dome.

Great! That means Homey is communicating correctly with the NVR, which is already a good sign :slightly_smiling_face:
I haven’t had time to retest the alarm notifications to Homey, but last night it was working. Maybe there’s an issue with the alarm settings on the NVR.
Here’s how mine is configured:

I see the issue. It’s not my app, but an old one that is no longer maintained.
To install mine, there’s a link in the first comments.

Ah… Indeed me stupid. As the icon is exactlu the same and there was a ‘under development’ warning, I thought it was your app. I have now installed the correct one using the link. Thanks again for quick reply. (I do not have NVR, just standalone dome camera.)

1 Like

Is someone with PTZ camera can do this call for me ?

For direct camera

curl --digest \
  -u admin:passord -i\
  http://CAM_IP/ISAPI/PTZCtrl/channels/101/capabilities 

For NVR Camera

curl --digest \
  -u admin:passord -i\
  http://NVR_IP/ISAPI/PTZCtrl/channels/X/capabilities

X has to be replaced by the good channel (1,2,3…)

Thanks :slight_smile:

I need the compete response

Thanks yeah , I have my NVR setup the same but still can’t seem to get it to pickup any motion. NVR is switched on and camera but no motion is triggered.

And in your NVR history, did you see any alarms?

No, no alarms are shown.

Not sure why though as I have a home assistant server running with a hikvision integration and that picks up line crossing, intrusion detection. Etc

New Release! – PTZ Camera Support

  • The app now automatically detects whether a camera supports PTZ when you add it.

  • Cameras that were added to Homey before this update must be re‑added (deleted and recreated) to enable PTZ functionality.

  • I don’t have any PTZ cameras to test this feature myself, so I’m counting on your feedback.

  • Important: This support works only for cameras that are connected directly. Cameras that are added via an NVR are not covered.

Feel free to let me know if you encounter any issues or have suggestions for further improvements.

No good for me here. I’m off an older Ni Nvr so pre Nvr4.0.

Can definitely access nvr off local lan with same credentials I add when adding nvr as a device. It adds but simply fails connection test and is unable to find any cameras.

I have approximately 15 cameras with many Hikvision cameras, Axis including a ptz,an Avigilon camera also. Any of the onvif based cameras which include several of the newer g2 and g3 Hikvision cameras work fine on the onvif app

Hello,
Yes, it seems that the ISAPI endpoint I’m using to test the connection (/ISAPI/Security/userCheck) does not work or does not exist on firmware versions earlier than 4.0. I’m going to look into what can be done about this.

For your information, when a device starts, the app automatically checks the connection in order to raise alerts for cameras connected through the NVR.

I’ll see if I can find a workaround.

Can you send me the complète message by private message ?

Hello Pierre, Iam using your App. And it is working perfect when I use my wifi channel at homey. But when I switch wifi off , using 5G Live video comes with a message “Something went wrong, Tap to retry”.

Live snapshot and Last Event Snapshot are working correct.

What is it what I am doing wrong or do not understand.

But thanks for all the work you have done already

Regards Rein

Hello. Same issue on my side.

I believe Homey is not acting as a video proxy but rather as a video player. When connected to the local network, the video stream is accessible. However, when using a 5G connection, the stream is not reachable, similar to other standard video players.

Pierre

Thanks for your quick respons

Regards Rein

Hello everyone, I really need your feedback to continue working on the drivers. Could you please let me know if the application works well for the following cases:

1/ For direct cameras (without NVR)

  • Event reporting

  • Event snapshots

  • Live snapshots

  • Live streaming

  • PTZ detection when creating a camera

2/ For cameras through an NVR

  • Event reporting

  • Event snapshots

  • Live snapshots

Thank you in advance!