Field Note · Dahua Camera
Motion detection that fires constantly is usually not sensitive — it is badly framed. This guide explains how the detector actually decides, why the threshold setting is counter-intuitive, and how to tune a site without turning off the alerts that matter.
TL;DR
- Motion detection compares the frame to itself over time. Anything that changes pixels can trigger it — shadows, headlights, insects, rain.
- Sensitivity is how easily small changes register. Threshold is how much of the area must change. Lower threshold means more alerts, which trips up most people.
- The region is the most powerful control, and it is the one most often left as the whole frame.
- Anti-dither collapses a burst of triggers into one event so you get one notification instead of forty.
- If smart motion detection is also enabled, normal motion only records and snapshots — email and PTZ linkages will not fire.
1. Which problem do you actually have
"Motion detection is broken" covers four different situations with opposite fixes. Diagnose before adjusting.
| Symptom | Likely cause |
|---|---|
| Alerts constantly, day and night | Region includes moving background (road, trees, sky) |
| Alerts mostly at night | IR illumination, insects, headlights, rain |
| Alerts on shadows or clouds | Sensitivity too high, threshold too low |
| Never alerts when someone walks in | Detector disabled, region excludes the path, schedule closed |
| Records but no email | Smart motion enabled alongside, or linkage missing |
| One notification per second during an event | Anti-dither not set |
1.1 Why noisy detection is worse than no detection
It is tempting to treat false alarms as a minor annoyance. In practice they are one of the most damaging failures a surveillance system can have, because they destroy the human process the system depends on.
People stop reading the alerts. A guard who receives sixty notifications a night stops opening them within a week. Once that habit forms, the one real alert is buried in noise, and the system has taught its operator to ignore it.
Responses become discretionary. If every alert is probably a tree, the response becomes "check later". A genuine intrusion then waits for someone's judgement about whether this one looks different, which is exactly when judgement is least reliable.
The feature gets disabled. The common end state is a customer who has turned notifications off entirely and is now relying on nobody watching anything. The system still records, but the entire point of the alerting layer is gone.
It hides configuration problems. When every camera is noisy, it is impossible to tell which one is misconfigured. A site with one noisy camera gets investigated; a site where all of them are noisy gets accepted as normal.
This is why the tuning effort is worth taking seriously rather than accepting "a few false alarms". A detector that fires twenty times a night is not slightly worse than one that fires twice; it is functionally a different, much less useful system.
2. How the detector actually decides
The manual describes motion detection as a comparison: an alarm is triggered when a moving object appears and its moving speed reaches the configured sensitivity. That wording hints at the mechanism — the camera is looking at change between frames, not recognising objects.
This is why the feature behaves the way it does. A passing cloud changes the exposure of the whole frame; a swinging sign changes pixels in a small region repeatedly; a spider walking across the lens at night creates a large apparent movement because it is close to the optics. None of these are "motion" in the human sense, and all of them are motion to the detector.
Understanding this changes the tuning approach. You are not teaching the camera what a person is; you are adjusting how much pixel change counts as an event, and where in the image change is allowed to count.
2.1 Why pixel comparison is still the right tool
It is fashionable to dismiss basic motion detection in favour of AI rules, and for many sites the AI path is better. But pixel comparison has properties that are genuinely useful, and understanding them explains the tuning behaviour.
It is cheap. Motion detection runs on the camera's own processor with negligible load, which means it works on entry-level models and does not compete with recording or streaming. Sites with a mixed fleet often keep motion detection on older units precisely because it is the only detection available.
It is predictable. There is no model to misclassify, no confidence threshold to tune, and no version-to-version behaviour change. A camera tuned for a corridor stays tuned for that corridor. AI rules can shift subtly between firmware builds; pixel comparison does not.
It catches everything, including things AI does not. If a pallet falls, a door blows open, or a fence panel moves, pixel comparison responds. Object detection trained on people and vehicles may ignore it entirely, which is correct for an intrusion rule and wrong for a general "tell me if something happens" requirement.
The weakness is equally clear: it cannot distinguish a person from a shadow, and it cannot report what it saw. That is exactly why the tuning advice in this guide concentrates on geometry rather than on cleverness — the feature is simple, and the way to get value from it is to give it a simple job.
3. The region is the most powerful control
By default the whole image is the effective area. That default is responsible for more false alarms than any other setting.
Draw around the thing you care about, not the whole scene. A camera overlooking a car park usually needs detection on the walkway and the bays, not on the road beyond the fence. Excluding the road removes most vehicle traffic alerts without touching sensitivity.
Exclude what moves by nature. Tree canopies, flags, water, and anything that catches light at night. If a region includes a tree, the camera will report wind as intrusion.
Exclude the sky. Clouds change the whole frame's brightness, and a sky region will trigger on weather rather than activity.
Use the colour groups deliberately. Four regions can carry different parameters. A common pattern is one region over the approach path with high sensitivity, and a second over a delivery area with lower sensitivity because forklifts move constantly there. Treating the whole scene with one setting forces a compromise that favours one area and misfires in the other.
Redraw after any lens or position change. A region is a set of coordinates in the image. Change the field of view and every region moves relative to the scene — which is why a camera that was perfectly tuned becomes noisy after someone "just adjusted it slightly".
4. Sensitivity and threshold, explained without jargon
These two settings are adjacent on screen, sound similar, and pull in opposite directions. Getting them backwards is the most common tuning error.
| Setting | What it controls | Raise it → |
|---|---|---|
| Sensitivity | How small a change registers | More alerts, more noise |
| Threshold | How much of the area must change | Fewer alerts, needs a bigger subject |
The manual puts the threshold relationship clearly: the smaller the threshold, the easier the alarm is triggered. Read that twice, because the instinct is to raise the threshold to reduce noise — which happens to be correct — but to lower it when events are being missed, which feels wrong.
A practical tuning order. Set sensitivity moderately high so that real events reliably register, then use the threshold to suppress marginal changes. Doing it the other way, dropping sensitivity to stop noise, produces a camera that is quiet because it is blind.
The waveform is the feedback loop. The area dialog shows a live trace: red where motion detection is triggered, green where it is not. Watch it while a person walks through, and while nothing is happening. A trace that sits permanently in the red is telling you the region or the threshold is wrong, not that the scene is busy.
4.1 A worked tuning example
A rear yard camera covers a gate, a walkway and a strip of road visible over a low wall. The customer receives dozens of alerts an hour, mostly from vehicles.
Step one: geometry. Draw a region over the gate and walkway only, stopping at the wall. Leave the road outside the region entirely. Watch the waveform with nobody present: it should be green. If it flickers red, something in the region is moving — often a plant or a reflection.
Step two: threshold. With the region settled, ask someone to walk from the gate to the door. The waveform should spike clearly. If it barely moves, lower the threshold; if the trace is red even when empty, raise it. One variable, one observation.
Step three: sensitivity. Now consider the edge case that matters: a person entering at night, at the far corner, wearing dark clothing. Adjust sensitivity until that registers, without making the empty scene trigger.
Step four: anti-dither. A walk from gate to door takes about fifteen seconds. Set anti-dither so that the whole pass produces one event rather than ten, then verify by repeating the walk.
Result. The camera now reports people at the gate and ignores road traffic, which is what the customer actually asked for. Nothing about the detector changed; the geometry and the two thresholds did. This is the pattern to reuse on every camera: decide the job, draw it, then tune two numbers.
5. Anti-dither: fewer notifications, same evidence
During a genuine event, the detector triggers repeatedly — a person walking across a region produces a burst of triggers. Without damping, that becomes dozens of notifications.
Anti-dither is the answer. The manual describes it simply: only one alarm event is recorded during the anti-dither period. Set it to a few seconds and a single person crossing the scene produces one event rather than twenty.
What it does not do. It does not merge separate events that are far apart in time, and it does not reduce false alarms; it reduces their frequency of notification. If the camera is triggering on a tree, anti-dither turns constant alerts into a steady drip of alerts. Fix the region first, then use anti-dither for tidiness.
Choosing a value. Long enough to cover a person walking through the region, short enough that two distinct events are not merged. A few seconds suits most scenes; a large loading area may need longer because movement through it takes longer.
6. Arm schedules: the alerts nobody expected
Motion detection has arming periods. Outside those periods the detector does not fire, regardless of how well it is tuned.
This produces two opposite complaints. "It never alerts" when the schedule excludes the hours in question, and "it alerted at 2am when it should not" when the schedule was left at full time but the customer assumed otherwise.
The manual's flow sets arming periods together with the linkage action, and allows adding a new schedule if the existing one does not fit. On commercial sites the natural pattern is one schedule for opening hours and another for closed hours, with different sensitivity if the scene changes — a shop floor at night, lit by nothing but IR, behaves very differently from the same floor at midday.
6.1 Schedules across seasons and lighting
An arming schedule that suits summer can misfire in winter, because the scene the detector sees changes completely.
Illumination changes the content of the region. In summer, a region may contain a lit car park with clear contrast. In winter the same region is dark, lit only by IR, with different noise characteristics. Sensitivity that was calm becomes twitchy because the signal-to-noise ratio has fallen.
Foliage changes the noise floor. A deciduous tree in the region is a mild nuisance in summer and a significant one in autumn when leaves fall and branches move without foliage damping them.
Seasonal occupancy changes what is normal. A school site is busy at 08:00 in term time and empty in August. The same sensitivity that is appropriate during term produces nothing but noise during holidays.
The practical answer is two schedules per year rather than one per installation: a warm-season profile and a cold-season profile, each with its own region adjustments. That sounds like extra work until the first winter, when the alternative is a customer who has disabled notifications because they became meaningless.
7. The smart motion interaction that silently disables your email
This is the most important paragraph in this guide for anyone who has configured a linkage that refuses to fire.
The manual describes what happens when motion detection and smart motion detection are both enabled. When normal motion detection triggers, the camera records and takes snapshots — but other configured linkages such as sending emails or moving a PTZ do not take effect. When smart motion detection triggers, all configured linkages take effect.
So a site that enables both, and tests by waving a hand, will see recordings and no email. The configuration is not broken; the trigger that fired was the simple detector, which by design only records.
Two consequences follow. First, when a customer says "it records but never emails", check whether smart motion is enabled alongside normal motion before touching the email configuration at all. Second, decide which detector is intended to be authoritative. If the site needs notifications on every movement, use one detector consistently rather than enabling both and hoping.
7.1 Choosing which detector a site should use
With two detectors available and a confusing interaction between them, the practical question is which one a site should rely on. The answer depends on what the alerts are for.
Choose normal motion when the requirement is general awareness and the scene is controlled. A fenced yard at night, a corridor, a stockroom: the region can be drawn tightly, background movement can be excluded, and the detector will do its job with minimal tuning. It also remains useful for changes that are not people, such as a door blowing open.
Choose smart motion when the requirement is specifically about people or vehicles, and when the scene is busy enough that pixel comparison would be unusable. A pavement, a forecourt, a busy loading area. Object classification removes the majority of noise that settings cannot.
Do not choose both on the same camera unless you accept the linkage behaviour described earlier. If both are enabled, simple motion records and snapshots, while smart motion fires the full set of linkages. That is a coherent design only if someone intended it, and it is almost never what a site intended by accident.
A useful default for mixed fleets: normal motion on interior cameras with controlled scenes, smart motion on exterior cameras with public movement. It keeps the tuning effort where it is needed and avoids paying for complexity on cameras that do not require it.
8. Night-time false alarms and what causes them
Most "it only misbehaves after dark" reports share a small set of causes, and they are physical rather than logical.
Insects near the lens. A moth close to an IR illuminator appears as a large moving object. It is the single most common night-time false alarm and no amount of sensitivity tuning fixes it, because the detector is correctly reporting a large change.
IR reflection. If the camera is mounted close to a wall, soffit or gutter, IR light bounces back and illuminates the edge of the frame. Rain or dust in that zone produces constant triggers.
Headlights sweeping the scene. A vehicle outside the region boundary whose headlights illuminate the region changes pixels inside it. The vehicle is not in the region, but the light is.
Rain, snow and fog. Each introduces moving texture. A camera that is fine in summer becomes noisy in winter, which customers describe as "it got worse by itself".
Spiders building webs across the lens. Common on exposed mounts. A web catches IR and moves in the slightest breeze.
The practical response is rarely a settings change. Reposition the camera away from the reflective surface, trim the region away from the illuminated zone, clean the housing, or add a separate detector for the hours that matter. Settings can reduce the symptom; the cause is physical.
8.1 Reducing night false alarms without going blind
Night tuning is a balance: every measure that removes an insect trigger also removes some genuine detection. Four measures, in order of preference.
Separate the illuminated zone from the region. IR illuminators light the near field most strongly. Trimming the region so it excludes the brightest near-camera band removes a large share of insect and reflection triggers while leaving the useful depth of field intact.
Move the camera away from reflective surfaces. A camera mounted under a soffit or beside a wall reflects IR back into the lens. Relocating it, or tilting it away from the surface, is more effective than any setting.
Use a second schedule with reduced sensitivity at night. Accept that the night scene is noisier and tune for it separately, rather than compromising the daytime profile to accommodate the dark.
Add physical deterrence against insects. Cleaning the housing, removing nearby standing water and using a mount that keeps the lens further from vegetation all help. It is unglamorous work that removes a recurring complaint permanently.
What does not work is disabling detection at night and calling the problem solved. That converts a noisy camera into a camera that misses exactly the events most sites care about, and it tends to be discovered only after an incident.
9. A tuning method that converges in three passes
Random adjustment produces a camera that is either noisy or blind, and the process usually ends with the feature disabled. A structured method converges quickly.
Pass one: geometry. Ignore sensitivity entirely. Draw the region around the area where a detection is genuinely meaningful. Watch the waveform for a few minutes with nobody present. If it is constantly red, the geometry is still wrong — look for what is moving in the region.
Pass two: threshold. With the region settled, set the threshold so that a person walking through produces a clear trigger while background movement does not. Use the waveform rather than guessing, and test with the actual lighting conditions the site will experience.
Pass three: sensitivity and timing. Adjust sensitivity to catch the smallest subject that matters — a person at the far edge, a vehicle in bad weather — then set anti-dither so that one pass produces one event.
Three passes, one variable each. The alternative, changing everything at once, produces a configuration that works by accident and cannot be reproduced on the next camera.
9.1 When to stop tuning and move to AI rules
Motion detection is a blunt instrument. There is a point where tuning effort exceeds the value of the feature, and the honest answer is to change detection method.
Move to AI rules when the requirement is object-specific. "Tell me when a person crosses the line" is an intrusion rule, not a motion requirement. A tripwire or intrusion area classifies the object and eliminates almost all the noise discussed in this guide.
Move when the scene is busy by nature. A public pavement, a loading yard with constant forklift traffic, a tree-lined avenue: these will always produce motion noise. Object filtering is the correct tool.
Move when false alarms have a cost. A site where every alert triggers a guard response cannot tolerate a noisy detector, because the response team stops trusting it. In those environments, precision matters more than coverage.
Keep motion detection when the requirement is general awareness. "Tell me if anything moves in this yard overnight" is exactly what the feature does well. AI rules may ignore a falling pallet or a swinging gate that the customer genuinely wants to know about.
The two can coexist on different cameras. What does not work is enabling both on the same camera and expecting one behaviour, because the interaction described earlier changes which linkages fire.
10. Ten causes, in check order
1. Region covers the whole frame. The default, and the most common cause of noise.
2. Region includes a road, tree, flag or water. Continuous natural movement.
3. Threshold too low. Marginal changes trigger. Raise it.
4. Sensitivity too high. Small changes register, including sensor noise at night.
5. Anti-dither not set. A burst of notifications per event.
6. Arm schedule excludes the reported time. Detector silent when the customer expects alerts.
7. Smart motion enabled alongside normal motion. Only record and snapshot fire; email and PTZ do not.
8. Linkage missing on the event. Detection works, nothing happens.
9. Night-time physical cause. Insects, IR reflection, headlights, weather.
10. Camera moved after tuning. Every region now covers different content.
10.1 When the customer asks for zero false alarms
This request is common, reasonable and impossible in absolute terms. How you answer it determines whether the site ends up well configured or permanently disabled.
Explain the trade honestly. Every measure that suppresses a false alarm also suppresses something real, because both are the same signal. A detector tuned to ignore a swaying branch will also ignore a person moving at the same speed in the same place.
Offer the realistic target. "No alerts you have to investigate and then dismiss" is achievable on most sites. "No alerts that are not real events" is achievable only with object classification and a controlled scene, and even then not absolutely.
Move the requirement to the right tool. If the customer wants alerts only for people after hours, that is an intrusion rule with a schedule, not a motion detector. Motion detection is the wrong instrument for a specific-object requirement, and no amount of tuning turns it into one.
Agree a measurable outcome. For example: fewer than two alerts per night on a site that currently produces sixty. That gives both sides something to test against, and it prevents the conversation from becoming a matter of opinion about whether the system "works".
Sites configured this way tend to keep their alerting enabled, which is the outcome that actually matters. The alternative — an unattainable promise followed by a disabled feature — leaves the customer with a system that records and never tells anyone anything.
11. Commissioning checklist
| # | Check | Pass |
|---|---|---|
| 1 | Region drawn around meaningful area only | Road/trees/sky excluded |
| 2 | Waveform green when nobody is present | No constant triggering |
| 3 | Walk test triggers reliably | Person at far edge detected |
| 4 | Anti-dither set | One notification per pass |
| 5 | Arm schedule matches operating hours | Detector active when required |
| 6 | Only one detector authoritative | Smart motion or normal, not both |
| 7 | Linkage configured and tested | Notification arrives |
| 8 | Night test performed | No IR reflection or insect triggers |
11.1 Documenting the tuning so it survives
A tuned camera is an asset. An undocumented one is a future service call, because the next technician has no idea why the region has an unusual shape.
Record the intent. One line per camera: "detects people at the gate and walkway; road excluded because of traffic". That sentence explains every setting below it and prevents someone from helpfully widening the region.
Record the numbers. Sensitivity, threshold, anti-dither and the schedule. Numbers are reproducible across cameras; "about right" is not.
Photograph the region. A screenshot of the region overlay costs nothing and resolves arguments about whether the detector was ever configured as claimed.
Record the night test result. Whether the site was tested after dark, and what was found, is the single most useful line in the document. Most false-alarm complaints are night-specific, and knowing the camera was actually checked at night tells the next person where to look.
Hand that page over with the credentials. It takes five minutes per camera and removes an entire class of repeat visits — the same five minutes that would otherwise be spent rediscovering the same tuning decisions on the next call.
12. FAQ
Should I lower the threshold to reduce false alarms? No. Lower threshold means easier triggering. Raise it to reduce noise.
Why does it only trigger at night? Usually IR illumination: insects, reflection or weather. Check the region against the illuminated area.
Why do I get forty emails for one person? Anti-dither is not set. One event becomes many triggers.
Why does it record but never email? Smart motion may be enabled alongside normal motion, which limits simple-motion linkages to recording and snapshots.
Can I have different settings for different areas? Yes. Four colour groups allow separate parameters per region.
Why did it stop working after an adjustment? The region coordinates moved with the field of view. Redraw and retest.
Is motion detection the same as AI detection? No. Motion compares pixels; AI rules classify objects. For fewer, better events, AI rules are usually the right tool.
Can I disable alerts at night only? Use the arm schedule, or a second schedule with different regions if the scene changes.
Does the detector work in complete darkness? It works on changes in the image, so it needs the camera to be producing an image. With IR illumination it will detect, but the same IR introduces insect and reflection triggers. The detector is not failing at night; the scene is simply harder to tune.
13. Glossary
Region — the area of the image where motion is evaluated.
Sensitivity — how small a change is enough to register.
Threshold — how much of the area must change before an alarm.
Anti-dither — the window in which repeated triggers count as one event.
Arm schedule — the periods during which detection is active.
Waveform — the live trace showing triggered (red) and idle (green) states.
Smart motion — object-aware detection that can distinguish people and vehicles from general movement.
Finally, remember that a tuned detector is a decision, not a default. The region you draw encodes what the site considers worth knowing about, and that judgement deserves a sentence in the handover pack.
Why does the waveform matter more than the numbers? Because the numbers interact. Two cameras with identical sensitivity and threshold can behave very differently in different scenes, so the trace is the only feedback that reflects the actual image rather than the configuration. Tune until the trace looks right, and write down what you ended up with.
14. Sources
- Dahua Network Camera Web 5.0 Operation Manual V1.3.1 — §6.5.3.1 Motion Detection, §6.5.3.2 Video Tampering, §6.5.3.3 Scene Changing
- Dahua Technology — documentation portal
Related: if the alerts fire but nothing arrives, the notification path is the problem — see the email alerts guide. If the camera records but the recorder shows nothing, use the NVR recording checklist. Hardware is in the network camera and accessories ranges.
Alerts too noisy, or too quiet?
Tell us the scene, the hours that matter and whether smart motion is enabled. CCTV-MALL supports Dahua cameras and recorders for integrators and installers across the United States.
Check stock or request a quote
Enter a Dahua part number to see live availability, or send it straight to our team for a price and lead time.
