Dahua camera events in Vigiora: line crossing, intrusion and more, without AI fees
Many Dahua cameras already detect line crossings, intrusions, plates and tampering by themselves. From Vigiora Server 1.17.0 those events land on the timeline and can raise alerts, with no AI credits. What it picks up, how it switches on, where events show up, and the limits of an early-access feature.
· 5 perc olvasás · Megtekintés Markdownként

Many Dahua cameras can do more than record. In the camera's own menu you can draw a tripwire across the driveway, mark an area by the back door, or ask it to warn you when someone covers the lens.
Those detections usually stay inside the camera or its maker's app. From Vigiora Server 1.17.0 (the current release is 1.17.2), Vigiora can read them straight from the camera on your network and put them on the same timeline as your recordings. The camera does the detecting, so these events use no AI credits. This guide covers what it picks up, how it switches on, where the events show up and what it does not do yet.
What you need#
- A Dahua camera, or one that speaks the same interface. Vigiora checks cameras whose brand is Dahua, Amcrest, Lorex or Imou, and any camera whose stream address uses Dahua's
/cam/realmonitorpath. - The camera on the same local network as Vigiora Server. Cameras that reach your server through a Vigiora Client at another site are not checked in this release.
- The camera login stored in Vigiora. Vigiora uses the user name and password that are already in the camera's stream address. Without them, the card tells you no login is stored.
- The rules switched on in the camera itself. Where the line is, which area counts as an intrusion and the counting zone are set in the camera's own web page or app. Vigiora does not draw or change them.
What it picks up#
When the camera offers an event, Vigiora turns it into an ordinary detection with a fixed label:
| The camera reports | Label in Vigiora |
|---|---|
| Line crossing | line:crossing |
| Intrusion into an area | zone:intrusion |
| Licence plate | plate: and the plate, such as plate:WX1234A |
| People counting | people count |
| Face detection | face (detection only, no name) |
| Tampering: covered, moved or out of focus | tamper |
| Object left behind or taken away | object left, object taken |
| Alarm input | alarm: and the input's name |
Each event gets a picture taken from the live video at that moment. When the camera sends the position of the object, it is kept with the event. An event whose object is inside one of your privacy masks is dropped and not kept at all. The same label on the same camera within 10 seconds counts once (60 seconds for a plate), so a person lingering on a line does not fill the timeline.
The camera's own motion detection is not used. Vigiora's free motion detection already covers movement, and two motion feeds would only double the marks.
How it switches on#
There is nothing to switch on. When you add a camera that looks like a Dahua camera, Vigiora asks it within about a minute which events it offers and how many alarm inputs it has. If it offers any of the events above, Vigiora subscribes to them. A camera that does not answer the Dahua interface is left alone and asked again once a day at most.

To see what is happening, or to choose alerts:
Set the rule in the camera
In the camera's own web page, draw the tripwire or the area and switch the rule on. Without a rule, the camera has nothing to report.
Open the camera in Vigiora
Open the camera's settings and the AI Guardian tab. The card The camera's own detections appears only for cameras that look like Dahua cameras.
Check that events arrive
The card says Receiving the camera's events. when the connection is open, lists What this camera detects, and shows the Latest events.
Choose your alerts
Switch on Alert me next to each event you want to be told about. For plates, add the plates to watch for. After a firmware update or new rules on the camera, click Check the camera again.
If you do not want them on a camera, switch off Use the camera's own detections. Vigiora remembers that and does not switch it back on by itself.
Where the events show up#
- On the timeline. Line crossings, intrusions, tampering, objects and alarm inputs sit in the alert lane, plates in the plate lane and faces in the face lane, so you can jump to the moment in the recording.
- On the Alerts page. With Alert me on, the event becomes an alert. See Alerts.
- In automations. An automation can start from one of these labels, for example to send a push notification when
zone:intrusionfires. - In the latest events on the card. What the camera sent is also kept as a raw event for 30 days.
A camera event does not start a recording by itself. Turn recording on for the camera if you want the video behind each mark. See recording and retention.
Camera events, motion and AI#
These three work side by side.
- Camera events run on the camera. They are free and use no AI credits.
- Vigiora motion detection runs on your server. It is free on any number of cameras.
- Vigiora AI describes scenes and answers questions in Guardian chat. It costs $2 per camera per month. At the time of writing, a promotion makes AI free on 2 cameras. See plans and pricing.
A tripwire tells you that something crossed the line, at no cost. AI tells you what the scene looks like. Use one, both or neither on each camera.
Limits#
- Line crossing is one label. The event says that something crossed. In this release Vigiora does not split it into person or vehicle, even when the camera knows.
- False alarms come from the camera's detector. Vigiora shows what the camera reports. If a swaying branch trips the line, tune the rule in the camera.
- When the connection drops, events are missed. The card shows Connection lost; reconnecting. Vigiora tries again after 15 seconds, then waits longer each time, up to 5 minutes. The camera does not send what happened while the stream was down.
- A wrong password costs time. If the camera refuses the login, Vigiora waits 30 minutes before trying again, because Dahua cameras lock an account after a few failed logins. Correct the password in the camera settings.
- Faces are not named. The
facelabel only says a face was seen. - Plates and faces are personal data. Anyone who can see the camera's alerts can see them. See the personal data notes.
Alarm inputs can bring in a signal from another system, such as an intrusion panel. A fire panel signal is shown for information only: the fire alarm system stays in charge.
Early access: what was tested#
This feature is marked Early access in the app. It was built from the published Amcrest (Dahua) HTTP interface documentation and tested against a simulated camera. It has not yet been tested on a real Dahua camera, so we cannot list any model that is confirmed to work. Firmware differs between models, so some cameras may report events in ways we have not seen.
If you try it, please tell us your camera's model and firmware version, and what worked, through the contact page. That is how this feature leaves early access.
Full details are in the docs: Dahua camera events.
Dahua is a trademark of its owner. Vigiora is not affiliated with or endorsed by Dahua.