Hikvision is selling a doorbell and camera for 120$ on Aliexpress (compared to 350 of doorbird is almost a third), would be nice to have it integrated
I have it and the problem is they don’t have a full onvif supported api. For example, I can see the motion event using the hikvision library we already have here, but there is nothing that we can get with a button press.
It integrates into hik-connect, but I don’t see anything we can use locally. Not yet anyway. May have to let the firmware bake more.
overall impression, a good buy?
I don’t understand this.
Anyway having the motion detedtion is (to me) the most important feature for automation.
As would be line crossing,:does it work in HASS?
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.
I see in the link also line crossing, is it not working?
That is going to be camera/device specific. Not all devices support all events. From my doorbell camera:
<?xml version="1.0" encoding="UTF-8" ?>
<EventTriggerList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>VMD-1</id>
<eventType>VMD</eventType>
<eventDescription>VMD Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<EventTriggerNotification>
<id>email</id>
<notificationMethod>email</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>nicbroken</id>
<eventType>nicbroken</eventType>
<eventDescription>exception Information</eventDescription>
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>ipconflict</id>
<eventType>ipconflict</eventType>
<eventDescription>exception Information</eventDescription>
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>illaccess</id>
<eventType>illaccess</eventType>
<eventDescription>exception Information</eventDescription>
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema"></EventTriggerNotificationList>
</EventTrigger>
</EventTriggerList>
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.
where you get this, how?
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.
It looks like this one
https://www.amazon.com/Nellys-Security-Doorbell-Compatible-Faceplates/dp/B07888LWLM/ref=sr_1_1_sspa?ie=UTF8&qid=1517687480&sr=8-1-spons&keywords=doorbell+camera+onvif&psc=1
Somebody got the video stream to HA. May be trying a generic RSTP stream?
I got it using zoneminder.
rtsp://user:password@yourip:554/Streaming/Channels/101
I was able to get a steam using the generic camera component
- platform: generic
still_image_url: http://192.168.1.xxx/ISAPI/Streaming/channels/101/picture
name: Front Door
username: !secret camera_doorbell_username
password: !secret camera_doorbell_password
authentication: basic
It updates every few seconds, which is more than enough for my needs.
this works in VLC, but how to put it in HASS?
rtsp works but this not … strange …??
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.
it works with other cameras, but not with this doorbell
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
did you get the sensor component working ? https://www.home-assistant.io/components/binary_sensor.hikvision/
Not for the doorbell camera. My other rebranded hikvison camera work though.
thanks, and how about a chime. what are you using?