Jump to content
C4 Forums | Control4

Chowmain - Ultimate Hikvision Driver for Control4!


alanchow

Recommended Posts

On 2/9/2020 at 2:32 PM, alanchow said:

Currently on hold as we have some contracted projects to work on (these will be certified drivers available either through Control4's online database or free ones through our website).

Hikvision NVR will resume development in march.

Hi Alan

Is there any chance your NVR driver will be able to add some functionality to the hybrid DVR/NVR machines? The "turbo" range of DVRs is a fairly nifty system, it spits out a stream for the analogue cameras (5MP, power over coax, howdeydodat?!) which can easily enough be piped into C4 with the generic IP camera driver. However, sadly, there's no way to get a 'snapshot' - the DVR/NVR doesn't generate one, so the touchscreens show no preview of the cameras, you have to click through to see the live video. This makes for a pretty lousy user experience.

If you or your assistant ninja Justin have sufficient wizard skills to somehow leverage the EA controller to generate this missing snapshot I'd be in CCTV integration heaven. Does it sound even mildly viable?

PS stay safe everyone! This is a good time for us all to stay indoors and fiddle around with Control4. Learn by doing!

Link to comment
Share on other sites


15 hours ago, timbooo said:

Hi Alan

Is there any chance your NVR driver will be able to add some functionality to the hybrid DVR/NVR machines? The "turbo" range of DVRs is a fairly nifty system, it spits out a stream for the analogue cameras (5MP, power over coax, howdeydodat?!) which can easily enough be piped into C4 with the generic IP camera driver. However, sadly, there's no way to get a 'snapshot' - the DVR/NVR doesn't generate one, so the touchscreens show no preview of the cameras, you have to click through to see the live video. This makes for a pretty lousy user experience.

If you or your assistant ninja Justin have sufficient wizard skills to somehow leverage the EA controller to generate this missing snapshot I'd be in CCTV integration heaven. Does it sound even mildly viable?

PS stay safe everyone! This is a good time for us all to stay indoors and fiddle around with Control4. Learn by doing!

We used to have some magic to do this but Control4 is locking down their backend shortly.  As such we can't use our backdoor trickery anymore.  Justin has finalised the integration of cameras connected to NVRs so that will be released shortly after beta testers are cool with it.

Link to comment
Share on other sites

  • 2 weeks later...

MAJOR UPDATE

You asked for it and here it is. Chowmain's Ultimate #Hikvision driver for Control4 has been upgraded to support cameras connected directly to NVRs with live stream support, PTZ controls, events such as motion detection, native Control4 push notification snapshots and more!

https://www.chowmainsoft.com/hikvision-control4

Link to comment
Share on other sites

  • 1 month later...

@alanchow Silly question - I have all my HikVision Cameras (into cisco switch) and HikVision NVR already setup and running. What would this driver provide in this circumstance for a benefit? The live events? Does the driver configure them on the camera side - ie the motion area to detect, where to have the line for line crossing? Is it better to configure these advanced features at the camera itself or the NVR? I'm on 2.10.6 so the push notification of the image won't work :( (Family doesn't like the 3.0 GUI and Navigator changes)

Would be awesome if you were able to combine with that other new IP cam driver that does Facial recognition and license plate recognition. Would love to walk up to my house and have the camera see me and unlock the door. Have my car pull into the driveway and the garage door open. 

Link to comment
Share on other sites

We pull in all event functionality that your cameras spit out.  You will need to configure this in the camera first before the driver can detect it.  So if your cameras support line crossing, motion detection, etc then the driver will support it.

Link to comment
Share on other sites

On 4/3/2020 at 1:36 AM, timbooo said:

Is there any chance your NVR driver will be able to add some functionality to the hybrid DVR/NVR machines? The "turbo" range of DVRs is a fairly nifty system, it spits out a stream for the analogue cameras (5MP, power over coax, howdeydodat?!) which can easily enough be piped into C4 with the generic IP camera driver. However, sadly, there's no way to get a 'snapshot' - the DVR/NVR doesn't generate one, so the touchscreens show no preview of the cameras, you have to click through to see the live video. This makes for a pretty lousy user experience.

 

On 4/20/2020 at 7:24 AM, ee999 said:

The snapshot for the Hik turbo DVR is:

http://ipaddress:80/ISAPI/Streaming/channels/101/picture

101 will get the main stream; 102 will get the substream

the first number is the channel, the second number is the stream (01 main, 02 sub)

I'm still trying to see if there is any way to pull in a snapshot for the analog cameras from the NVR/DVR.  The snapshot URL looks correct in the Chowmain driver Camera Test, but it fails URL verification.  H.264 URL works fine.  Unfortunately, the cameras I want snapshots from are all the analog ones.  The IP cameras all work great but I have no need for a snapshot from them.

Link to comment
Share on other sites

1 hour ago, OceanDad said:

 

I'm still trying to see if there is any way to pull in a snapshot for the analog cameras from the NVR/DVR.  The snapshot URL looks correct in the Chowmain driver Camera Test, but it fails URL verification.  H.264 URL works fine.  Unfortunately, the cameras I want snapshots from are all the analog ones.  The IP cameras all work great but I have no need for a snapshot from them.

At this stage we don't support DVRs.  We only support IP cameras connected to NVRs and IP cameras directly.

Link to comment
Share on other sites

35 minutes ago, alanchow said:

At this stage we don't support DVRs.  We only support IP cameras connected to NVRs and IP cameras directly.

Thanks Alan, I assumed that was the case.  Still love your work.  I've never had a good way of properly integrating this camera setup into C4, but I guess I'm not the only one round here who uses third-party software for cameras...

Link to comment
Share on other sites

Is there any way to generate a snapshot of an analog camera connected to a DVR on a PC on the network then serve that up to C4? Or any other ideas? This is a real sticking point in a project, it's annoying when something is supposedly supported but "oh no, that part doesn't work sorry". Of course I should buy all this kit myself and test everything first but, you know...

Link to comment
Share on other sites

  • 4 weeks later...

How do I get rid of bugs in motion detection? Like literal bugs, like moths and other flying things that the night vision picks up spectacularly well. I've tried decreasing the sensitivity but I'm as low as I can go without missing legitimate motion events. I've also tried trimming down the motion detection area to just key places where people are likely to be, and that has reduced the number of events considerably, but not enough. I haven't been able to think of any other reasonable ways to filter out videos of bugs.

Link to comment
Share on other sites

40 minutes ago, warmenhoven said:

How do I get rid of bugs in motion detection? Like literal bugs, like moths and other flying things that the night vision picks up spectacularly well. I've tried decreasing the sensitivity but I'm as low as I can go without missing legitimate motion events. I've also tried trimming down the motion detection area to just key places where people are likely to be, and that has reduced the number of events considerably, but not enough. I haven't been able to think of any other reasonable ways to filter out videos of bugs.

By not using on camera illumination. Using a dedicated IR illuminator that is mounted away from the camera completely eliminates the problem and gives a much better illumination.

Link to comment
Share on other sites

By not using camera motion detection.  It is based on pixel changes.  Not true motion like what normal detectors give you.

if you have a decent camera, some will let you wire an external motion to it.  Preferably I’d rather tie to the controller. 

Link to comment
Share on other sites

  • 2 weeks later...

This driver seems to poll for events on the camera which can be tasking if you have a lot of cameras.  In the most recent version they allow you to turn this off.  Hikvision supports the ability to do webhooks that notify the controller when one of the actions has been triggered (motion, line crossing, face detection).  Is this something that would be added in the future?  Hikvision does seem to document it well but their official control4 driver uses it.  Unfortunately, the official Control4 driver doesn't support snapshot :(

I've colleted some notes around the webhook process and willing to share if need be.

Link to comment
Share on other sites

9 hours ago, DanITman said:

This driver seems to poll for events on the camera which can be tasking if you have a lot of cameras.  In the most recent version they allow you to turn this off.  Hikvision supports the ability to do webhooks that notify the controller when one of the actions has been triggered (motion, line crossing, face detection).  Is this something that would be added in the future?  Hikvision does seem to document it well but their official control4 driver uses it.  Unfortunately, the official Control4 driver doesn't support snapshot :(

I've colleted some notes around the webhook process and willing to share if need be.

Actually our driver doesn’t poll.  It maintains a persistent connection with the camera and it spits out data every second with the status of the triggers.

it was taxing a few versions ago but we made lots of improvements in recent versions.

Link to comment
Share on other sites

5 hours ago, alanchow said:

Actually our driver doesn’t poll.  It maintains a persistent connection with the camera and it spits out data every second with the status of the triggers.

it was taxing a few versions ago but we made lots of improvements in recent versions.

Thanks for the reply Alan, I saw this note in the documentation of the driver which prompted me to dig a bit. 

Version #20200522 - 22-MAY-2020
⦁    Added Enable Alert Processing option in Properties tab to reduce controller load on systems with a large number of cameras

The driver isn't creating bindings like it should for me. I have a newer Hikvision camera so I'm not sure if that is the reason. I turned on logging and noticed it checking for events every second which looked like polling to me.  I wasn't aware that some websocket had been setup. 

The Hikvision does support a webhook which should remove the need for the websocket and probably remove some complexity.  I have attached a screenshot of how the official hikvision driver builds the connection back to Control4 for event driven notifications. Capture.thumb.PNG.101e1de839a0f1e43989bf1ce556c7a0.PNG

Link to comment
Share on other sites

I understand what it is and how it works and we've utilised those methods for other camera manufacturers.

Honestly i didn't write this driver so i'm not the best person to comment or support this.  Your best bet is to reach out to our support desk where it'll be assigned to Justin who wrote the driver.  Note he doesn't read forums so ticket or if you prefer call our office during Australian Eastern business hours for support.

Link to comment
Share on other sites

21 minutes ago, alanchow said:

I understand what it is and how it works and we've utilised those methods for other camera manufacturers.

Honestly i didn't write this driver so i'm not the best person to comment or support this.  Your best bet is to reach out to our support desk where it'll be assigned to Justin who wrote the driver.  Note he doesn't read forums so ticket or if you prefer call our office during Australian Eastern business hours for support.

Thanks, Alan....will do. 

Link to comment
Share on other sites

  • 2 months later...

Hello,

Hope all is well. Is this driver able to do playback recording?? My customers are getting very frustrated with only being able to see live view only.

They actually agree with them considering they spend all this money on system that the security cameras aren't able to view playback. 

If you can provide some feedback on your driver that would be greatly appreciated. 

Thanks. 

John. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.