Fewer false alarms in a storage yard: shadows, rain and headlights
How a self-storage yard with a night guard could tune Vigiora's motion detection, alert cooldowns and object recognition so that alerts mean something, and ask an AI assistant what happened overnight.
· Lukuaika 6 min · Näytä Markdownina

Greyfield Storage rents lock-up units and open parking bays on a fenced yard at the edge of an industrial estate. Its owner, Mateo Varga, has eleven cameras: on the gate, along the fence, between the rows of units and one pan-tilt-zoom (PTZ) camera on a pole in the middle. At night, one guard, Ruth, sits in the gatehouse.
The old system alerted on anything that moved. A cloud crossing the moon, rain sweeping past a floodlight, the headlights of every lorry on the road outside: each one was an alert, and on a stormy night there were dozens. Ruth had started to ignore the alarm sound, which is exactly what an alarm must never train you to do.
This is how Mateo set up Vigiora so that an alert means something again.
Step one: motion that ignores the weather#
Vigiora's Motion Detection runs on the server itself and is free on every camera. It doesn't react to every changed pixel:
- It ignores changes in lighting, such as a floodlight switching on or the camera's auto-exposure adjusting.
- It learns which parts of the picture are always busy, such as a tree on the fence line, and needs a bigger change there before it reacts.
- When almost the whole picture changes at once, for example when a camera switches to night mode, it doesn't count that as motion.
On the fence cameras, where trees and rain caused most of the trouble, Mateo raised the Motion threshold from the default 25 to 40, as the docs suggest for trees, rain and shadows. On the gate camera, where a person walking in matters most, he left it lower and kept the Check interval at 2 seconds.
On its own, motion detection shows no alert. It is the trigger for the AI.
Step two: let the AI describe, then decide#
The free plan includes AI on 2 cameras. Mateo started with the gate and the camera covering the main row of units, then added AI on more cameras with a paid plan once he saw how it worked ($2 per extra AI camera per month).

With AI for this camera (Core AI) on, every burst of motion sends a short clip to the AI, and Guardian writes what it sees: "heavy rain, the yard is empty, a car's headlights pass along the road outside the fence". Then it checks Mateo's alert rules against that description. A rule written in plain words is not fooled by the light the way a pixel counter is:
- "Alert if a person is inside the fence between 20:00 and 06:00."
- "Alert if a vehicle stops at the gate for more than a minute after 20:00."
Two facts helped Ruth trust the result. Each camera is described at most once every 5 minutes, however much it rains. And each rule has a cooldown: low waits 30 minutes before it can fire again, normal 10 minutes, high never waits, and Custom cooldown (s) sets your own number of seconds. Mateo set the person rule to high and the vehicle rule to normal, so one lorry idling at the gate gives one alert, not ten.
Step three: a second opinion from an object detector#
Guardian's descriptions are good, but an AI can still mistake a dark shape for a person. Vigiora can ask an object detector too.
Object recognition is a connected service that runs on a machine with an NVIDIA GPU and finds the things you list in plain words, such as person, white van, open unit door. It is a preview, available on request. Mateo asked for it because his yard is exactly where shadows look like people.
- Each object it sees becomes one detection with a snapshot, not one per frame. It reports the same thing again only after Repeat after (120 seconds by default), and a parked trailer that looks like something else is reported once, then remembered as a still object.
- Since Vigiora Server 1.6.10, Guardian gets what the detector reported in the same moments as the clip and checks it against the video. It never reports what the video contradicts.
- From Vigiora Server 1.6.11, a rule about people has the option Only alert when the object detector also sees a person, on by default. If the detector watched the clip and saw nobody, the description is kept but no alert is sent.
In this story, that combination is what turned the stormy nights quiet: rain, headlights and moving shadows still get described, but they no longer wake anyone up.
The PTZ camera's home view#
The pole camera can pan, tilt and zoom. In its live view, a joystick moves it, and Presets jumps to saved positions. Mateo saved one called Yard overview and one for each row of units.

When an alert comes in, Ruth turns the PTZ camera to the right row with one click, looks, and then picks Yard overview in Go to… to put it back. Putting the camera back on the overview is part of her routine.
A note on licence plates#
Mateo would like to log every vehicle plate at the gate. Vigiora has licence-plate recognition, but it is in early access, runs on a machine with an NVIDIA GPU and isn't billed. For now he uses what the docs suggest for vehicles: an alert rule that describes the vehicle in words, and Guardian chat questions such as "Which vehicles came through the gate after 22:00?"
Morning questions to an AI assistant#
Mateo isn't on site at night. In the morning he asks his AI assistant. Every Vigiora server has a built-in MCP server, so Claude Code, claude.ai, ChatGPT and other assistants can use the cameras, alerts and recordings as tools. He connected Claude Code with an API key that can only read: cameras:read, alerts:read, recordings:read and guardian:read.
His usual question is "Any person in the yard last night?" The assistant searches Guardian's history and the alerts, lists the times and cameras, and can fetch a still frame from the recordings at any of those moments, so Mateo sees the evidence and not just a yes or no.

Reading never needs approval. If the assistant ever wants to do something riskier, such as moving the PTZ camera, Human in the loop (on by default) makes it ask first, and Mateo's read-only key can't change anything anyway.
How they set it up#
Install and add the cameras
Install Vigiora Server and run the setup wizard. New cameras are found later by automatic discovery.
Tune motion detection
Turn on Motion Detection and use the tuning tips for trees, rain and shadows.
Choose the AI cameras
Switch on Core AI on the cameras that matter most. See How AI works and Plans and pricing.
Write rules with cooldowns
Write alert rules in plain words and pick a severity or a custom cooldown (rule options).
Optional: object recognition
Ask for the object recognition preview and list what it should find.
Save PTZ presets
Detect the PTZ camera and save presets: PTZ cameras and Live view.
Connect an AI assistant
Create a read-only API key and connect your assistant to the MCP server. Keep human in the loop on.
Want quieter nights on your own cameras? Install Vigiora Server for free: unlimited cameras, with AI on 2 of them.