Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANPR DS-2CD4A26FWD-IZS #91

Open
julianbeere opened this issue Jan 11, 2023 · 10 comments
Open

ANPR DS-2CD4A26FWD-IZS #91

julianbeere opened this issue Jan 11, 2023 · 10 comments

Comments

@julianbeere
Copy link

Is there any way to add Vehicle Detection as a supported sensor?
Screenshot 2023-01-11 194420

@clementlecorre
Copy link

@julianbeere Any news ?

@turbokongen
Copy link

I can provide some event logs if neccesary.

@mezz64
Copy link
Owner

mezz64 commented Sep 13, 2023

An event log would be helpful. Once the event ID is known as long as the format is the same as the others it's an easy add.

@julianbeere
Copy link
Author

I can provide some event logs if neccesary.

Did you provide event logs and did anyone manage to solve this?

@freschism3000
Copy link

Want to ask the same question.
Getting Vehicle detection as a supported sensor would be fantastic, as I purchased a Hikvision ANPR camera for License plate detection specifically.

@mezz64
Copy link
Owner

mezz64 commented Apr 15, 2024

Unfortunately, I have not been provided an event log yet so I don't know the ID or format it reports in. Without that information I can't add it.

@freschism3000
Copy link

Let me know how I can help. How do I get an event log you can use from the NVR?

@julianbeere
Copy link
Author

Thanks @mezz64. How do I get an event log?
The ANPR camera has a whitelist that when triggered notifies the NVR which is configured to send an email to me.
The setting is attached (in the NVR)
image

@mezz64
Copy link
Owner

mezz64 commented Apr 17, 2024

You can find guidance for pulling an event log in past issues. There are instructions here: #82 (comment)

@freschism3000
Copy link

freschism3000 commented Apr 19, 2024

A few questions:

  1. The NVR Configuration (Directly on the NVR), uses an older software than if I log into the camera directly.
    I started with configuring the camera directly on the NVR, adding the camera as using the HIKVISION protocol.
    My main issue here is that I cannot import an "Allowlist" for licenseplates. I can export the empty list from the NVR, add my license plates, but every time I try to Import the updated Allowlist, I just get an "Import Failed" message.

  2. When logging into the camera directly, the software is much better. I read that if you use the camera with the NVR, the NVR settings will override the settings directly made on the camera, unless you change the NVR protocol from HIKIVISION to ONVIF. So I changed the NVR protocol for the Camera to ONVIF instead, and logged into the camera directly.
    Here I can add a Licenseplate using a wizard in the configuration under VCA > Roadtraffic > Allowlist.

  3. I saved the settings on the camera, and added the camera manually though IP, using the Hikvision integration in home assistance. Then I used the command you linked above, to get realtime event data from the camera.
    The data I get when driving up to the camera is this:

<?xml version="1.0" encoding="UTF-8"?> <EventNotificationAlert version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema"> <ipAddress>192.168.1.64</ipAddress> <ipv6Address>::ffff:192.168.1.64</ipv6Address> <portNo>80</portNo> <protocol>HTTP</protocol> <macAddress>e8:a0:ed:9e:60:47</macAddress> <channelID>1</channelID> <dateTime>2024-04-19T10:11:58+01:30</dateTime> <activePostCount>1</activePostCount> <eventType>VMD</eventType> <eventState>active</eventState> <eventDescription>Motion alarm</eventDescription> <channelName>Gate Camera</channelName> </EventNotificationAlert>

It seems like it's "Just" a Motion Detection, and not actually a license plate detection.
Any ideas for next steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants