Motion Detection
Motion tells Apple Home when to record a clip and send notifications. Each camera gets its motion from one source, chosen in its Motion card.
Three Motion Sources
Camera Events
The camera detects motion itself and tells Camera Bridge, over ONVIF or its own interface (Hikvision, Reolink, Amcrest and Dahua, DoorBird and others).
- Usually the most accurate: the camera knows its own picture
- Its settings (sensitivity, areas) are in the camera's own app or web page
- Offered only for cameras that report motion
Built-in Motion Detection
Camera Bridge compares pictures from the camera's sub stream.
- Works with any camera, including RTSP cameras, which send no events
- The box decodes the picture on its Intel graphics, so it takes little of the processor
- Has a Sensitivity setting
Webhook
Another system, such as Home Assistant or Frigate, tells Camera Bridge about motion. See Set Up the Webhook below.
Change the Motion Source
- Open the camera's page
- In the Motion card, choose the Motion source
- For built-in motion detection, set the Sensitivity between Low and High. Higher finds smaller movements, and also more false alarms
- Motion stays on for (seconds): how long after the last movement the camera still counts as having motion
Changes save by themselves.
Test It
Trigger motion in the Motion card sends a motion event to the Home app as if the camera saw motion. With recording on, Home records a clip, and people who get this camera's notifications are notified.
The Last event tile and the Recent events card on the camera's page show what came in.
Detections and Sensors
Cameras that report more than motion (people, vehicles, animals, packages) can add sensors to Home. Turn them on under Sensors in the Motion card. They appear on the Sensors bridge accessory, which you add to Home once (Settings › Apple Home ports › Add the sensors bridge to Apple Home). Use them in automations. Sensors never start recordings: motion does.
Notifications
Notifications are set in the Home app, in each camera's settings. HomeKit Secure Video can notify you only for people, animals, vehicles or packages. See Live View and Events.
Set Up the Webhook
The webhook lets another system report motion, doorbell rings and detections for a camera.
- Open Settings › Webhook and turn on Listen for webhook requests
- Copy the Token. Send it as
Authorization: Bearer <token> - Each camera's page lists its webhook addresses in its Webhook card, for
motion,motion/stop,doorbell,personandvehicle. Send a POST request to them
New token makes a new token. Systems that use the old one stop working until you give them the new one.
Compare Built-in Detection With the Camera's Own
Settings › Log and tests › Motion comparison test runs built-in motion detection next to each camera's own events and compares them. It never changes what reaches Home. The result is in the diagnostics file.
Too Many or Too Few Alerts
Too many false alerts?
- Lower the Sensitivity (built-in detection), or the camera's own sensitivity (camera events)
- Set up Activity Zones in the Home app to leave out busy areas
- Aim the camera away from bright lights, and keep its lens clean
Missed motion?
- Raise the sensitivity
- Make sure motion detection is on in the camera's own settings (camera events)
- On the camera's page, the Camera events tile should say Connected
Common False Triggers
- Light changes: shadows, headlights, the sun moving
- Weather: rain or snow, drops on the lens
- Things that move: trees, flags, curtains
- Insects: near the lens at night, when the infrared light draws them
Troubleshooting
Motion not working?
- Check the Motion source in the camera's Motion card
- Use Trigger motion to check that Home receives events
- See Diagnostics
Not getting Home notifications?
- Check the camera's notification settings in the Home app
- See Network