When you connect to the cameras event stream at the published api, the only event it makes available is the motion detection event. There is no line crossing, or alarm or button press event or whatever.
As you probably know, motion event != line cross. You’d have to deal with the normal false positives you get from pixel based motion detection.
You can get a binary sensor of the motion detection now with the hikvision binary sensor setup. Of course, if you want video with motion, then you’d have to go down the automation path.
Maybe someone will figure out an alternative api. It acts like a SIP device, so maybe there is another specific api to monitor for the button push.
VMD is video motion detection
nicbroken
ipconflict
illaccess
Those are the only events it currently supports and raises in the isapi event stream. How they are integrating with hik-connect, well, that is another story.
Just sharing some info on this camera. I have 4 cameras on an NVR and this doorbell cam on the same NVR. I get line crossing/motion alerts from cameras, but not from doorbell with HA. I do get motion alerts on the Hikvision app. Not sure but I suspect that the API is a bit different. HA never is able to “connect” to the camera.
That is weird. This is working great for me. I have 5 total cameras, and all use the generic an work well. I suspect rstp would work as well, just did not start off with that solution.
I suspect our configuration is just slightly different either with our camera or or HA install.
Mine did not work with the doorbell at first. I stopped and moved on to something else, and then came back latter and it was working. Not sure if it took 2 minutes or 30, since I was not watching it at the time. But it has been working since then
Just my old doorbell chime. I have the volume turned down on the device itself. I don’t use the two way audio at all, but occasionally view camera with audio via the hikvision app.