Non-Hikvision ONVIF Camera not triggering motion detection on DS-7716NI-SP / 16

Discussion in 'NVR's, DVR's & Computers' started by Deadeye, Jun 14, 2019.

Share This Page

  1. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    Hello,
    I have some Hikvision cameras connected to my DS-7716NI-SP that work great and trigger motion events just fine, but I purchased another ONVIF camera (not sure of the model) that setup just fine and I can view the video and recordings with no issues, but I just can't get it to trigger a motion event. I tried to match the exact same settings of the hikvision cameras that is alerting just fine, but I still can't get it to work. Am I missing something, or does Hikvision only support motion detection on their own hardware?

    Camera list (D04 is the one that's not detecting motion, and D03 is the Hikvision camera that's working just fine):
    Dropbox - 01-CameraList.jpg - Simplify your life

    Configuration of working Hikvision Camera:
    Dropbox - D03-Config1-AreaSettings.jpg - Simplify your life
    Dropbox - D03-Config2-Schedule.jpg - Simplify your life
    Dropbox - D03-Config3-Linkage.jpg - Simplify your life

    Configuration of non-working non-Hikvision Camera:
    Dropbox - D04-Config1-AreaSettings.jpg - Simplify your life
    Dropbox - D04-Config2-Schedule.jpg - Simplify your life
    Dropbox - D04-Config3-Linkage.jpg - Simplify your life

    Any help would be appreciated.
     
  2. alastairstevenson

    alastairstevenson Staff Member

    Joined:
    Oct 28, 2014
    Messages:
    11,215
    Likes Received:
    3,571
    Location:
    Scotland
    Motion detection can be used on non-Hikvision, and ONVIF, cameras.

    Not all ONVIF implementations support the generation of event notifications for motion events, even though the camera natively does have motion detection capabilities. This was an optional requirement in some ONVIF specifications.

    You can check if your camera generates ONVIF motion events by querying it with the very useful ONVIF Device Manager from sourceforge.net
    Give ODM some valid logon credentials (top left of the window) and it will find ONVIF devices on the same IP address range automatically.
    If the camera generates motion (or other) events you will see them on the Events page, and in the Rules.
     
    fenderman likes this.
  3. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    I tried ONVIF Device Manager and when I tried to connect to the camera, I get:
    "There was no endpoint listening at http://192.168.1.40/onvif/device_service that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."
    The address is correct, so I'm probably missing something simple that I've glossed over, but I can't tell.
     
  4. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    Oh man, I logged into the camera and noticed that the ONVIF port is 8080 so I added that to the URL and now it is showing me all the info.
    So when I click on Events, it doesn't show anything (do I need to keep this window open to see if an event is recorded?) and when I click on the camera Rules, this is what I have for Available rules:
    MyMotionDetectorRule
    MyLineDetector1
    MyFieldDetector1
    MyTamperDetectorRule

    Does this mean that it does support Motion Detection because it lists MyMotionDetectorRule?
     
  5. alastairstevenson

    alastairstevenson Staff Member

    Joined:
    Oct 28, 2014
    Messages:
    11,215
    Likes Received:
    3,571
    Location:
    Scotland
    It's easiest to keep the window open and do some motion in front of the camera.

    These sound like the Hikvision rules - I've not seen any no-brand ONVIF cameras with those types of 'smart events'.
    Line crossing and Intrusion detection as well as Motion detection.
    Definitely your no-brand camera?

    Those rules do suggest you should be getting some ONVIF notifications for those type of events.
    Have you tried generating some motion, and what events showed?

    That's a bit odd.
    Good that it worked when you did that - but normally ODM would pick the camera up automatically, and actually show you what the 'ONVIF port' was at the bottom of the 'Identification' page.
    You'd generally need the 'ONVIF port' to configure ONVIF camera settings in an NVR.
    Did you add the camera manually to ODM?

    **edit** And apologies for the dumb question - presumably on the no-brand ONVIF camera, you have configured and enabled motion detection in the camera web GUI?
    And does the camera have a way to show 'motion detected' in it's Live View?
     
  6. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    Ok, I kept the events window open and did my little test dance and nothing showed up in the window. The camera isn't exactly a no-brand, but a Foscam. It is interesting there is a line cross event because when I go through my NVR, it tells me that the camera doesn't support it. What's interesting is that I changed the recording from continuous to event and not a thing was recorded after I made that change (and there has been lots of activity in front of that camera). I'm thinking that this is an issue with the camera. I had thought that motion events were handled by the NVR and the camera just sent the images to the NVR to process, but from what I'm seeing, it looks like the NVR just sends the motion event configuration to the camera, which then in turn sends an event to the NVR to capture? Is this correct? If that's the case than the problem is with the camera (defective maybe).

    Yeah, I had to add it manually to ODM. I had thought that you had to do that for all devices. Should they show up automatically?

    The only dumb question is one that isn't asked. I've never really looked into any of the other settings on the cameras web GUI as I've just used it to set up the network then do everything else through the NVR. I'll check the settings when I get back home tonight, but I would assume that Motion Detection would be enabled by default, but you know what they say about assuming.....
     
  7. alastairstevenson

    alastairstevenson Staff Member

    Joined:
    Oct 28, 2014
    Messages:
    11,215
    Likes Received:
    3,571
    Location:
    Scotland
    Generally, the camera provides a video stream and various types of event notifications to the NVR, for it to carry out whatever actions are configured, such as recording.

    ONVIF compliant devices should appear automatically, when on the same IP address range as the PC, as and when they broadcast about their existence and availability

    It's either -
    The camera does not support ONVIF motion event notifications. But the 'rules' you've quoted contradict that.
    Or the motion detection configuration in the camera is incomplete, or not enabled.
    Maybe not, if you're lucky.
     
  8. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    This was it. I checked the Motion Detection settings through the cameras web interface and it wasn't configured. So I set it up and it appeared to send events to the NVR. I did notice that even though it worked on the NVR, I didn't see any events show up in the ODM events page, but I guess that's not really a concern if things are now working. What I'm confused about is, does this mean that none of the settings for the camera on the NVR have any effect? I noticed that my OSD settings for that camera through the NVR have no effect. Though I change it on the camera directly, it then works. Does this mean that nothing that I set on the NVR (except for motion capture events like e-mails) has any affect on the camera? And does mean that my NVR can't configure any other camera except for Hikvision cameras, or is this one camera just a one off?

    But thanks for the heads up to check the camera's settings through it's web UI. That was the tip I needed to get it working.
     
    alastairstevenson likes this.
  9. alastairstevenson

    alastairstevenson Staff Member

    Joined:
    Oct 28, 2014
    Messages:
    11,215
    Likes Received:
    3,571
    Location:
    Scotland
    Good that you got there!

    I'd definitely expect ODM to also show the events when the camera is connected to the NVR as an ONVIF device.
    It's also odd that you needed to manually add the camera instead of it being automatically detected.

    What the NVR can configure and control varies somewhat with different ONVIF implementations.
    I have a fair selection of what forum members describe as 'cheap Chinese cameras' where the detailed motion detection configuration can be done OK via the NVR, and a Dahua camera hooked up as ONVIF where they can't.

    I'm quite intrigued by these apparent smart capabilities in your ONVIF camera.
    Even my Dahua camera only shows a Motion rule under ONVIF, when natively it has smart event capabilities.
    I've not yet seen an ONVIF camera exposing rules like that.
    Do you have any information on where you got the camera?
    I'd be interested to get my hands on one.
     
  10. Deadeye

    Deadeye Young grasshopper

    Joined:
    Oct 14, 2018
    Messages:
    55
    Likes Received:
    8
    Location:
    Canada
    Hmm, I'm not sure why I said it was a Foscam, but it's actually a Fleureon. I bought it on Amazon:
    https://www.amazon.ca/dp/B079242XWX/
    I got the N5810HH model, but beware. It says "720p" but it's only a 1MP camera, so the quality is pretty piss-poor. I regret this purchase. For $50, I wish I would have just put another $50 in and got a decent Hikvision dome camera on Aliexpress.
     
    alastairstevenson likes this.
  11. alastairstevenson

    alastairstevenson Staff Member

    Joined:
    Oct 28, 2014
    Messages:
    11,215
    Likes Received:
    3,571
    Location:
    Scotland
    Lol!
    Maybe I'll just pass on that one after all.
     
    Deadeye likes this.