---
title: "Camera events in TapHome: ONVIF motion, line crossing and tamper as sensors for smart rules"
description: "Use ONVIF camera events such as motion, line crossing and tamper detection as sensors in TapHome smart rules. Today: Dahua template or Packet Parser."
url: "https://taphome.com/en/ideas/onvif-camera-events/"
language: en
lastmod: 2026-11-23
generator: hugo
---

# Camera events in TapHome: ONVIF motion, line crossing and tamper as sensors for smart rules

TapHome shows the video of ONVIF cameras but cannot use what the camera detects. This idea would turn ONVIF events such as motion, line crossing and tampering into sensors for smart rules, scenes and notifications.

- Status: Gathering interest — We collect use cases and votes before we decide.
- Type: Integration
- 1 interested
- Topics: [Integrations and protocols](https://taphome.com/en/ideas/topics/integrations-protocols/)
- Last updated: 2026-11-23


## Why and how you would use it

TapHome already works with IP cameras. The IP Camera & Door bell interface finds ONVIF cameras on the network, shows their video streams and snapshots and switches their built-in relays. What it does not do is listen to the camera. Modern cameras detect motion, a person crossing a line or someone covering the lens, and they report it as an ONVIF event. Today TapHome cannot use those events in a smart rule.

An example from practice: an installer wants the driveway light to switch on when the camera above the garage sees someone after sunset. The camera knows it the moment it happens. Today the installer either reads the camera's own HTTP interface from a Packet Parser script, which keeps a connection busy and sometimes reacts too late to switch the light, or fits a separate motion sensor next to a camera that already sees everything.

| Today | With this idea |
|---|---|
| Video and snapshots | Video plus events |
| A script for each brand | One ONVIF setting |
| An extra motion sensor | The camera is the sensor |

## What will be possible

We are evaluating this idea. Nothing is scheduled yet.

- **Events from the camera you already added.** A camera in the IP Camera & Door bell interface would list the ONVIF events it reports, and you would choose which ones to use.
- **Events as sensors.** Each chosen event would become a device with two states, for example motion and no motion, ready for smart rules, scenes and notifications.
- **Typical events.** Motion, and where the camera reports them over ONVIF also line crossing, intrusion into an area, person detection and tampering.
- **The same sign-in as the video.** The user name, password and authentication type you set for the camera would cover the events too.

## What will not be possible

- **Detections the camera does not report over ONVIF.** TapHome would use what the camera sends. Detection areas and sensitivity stay in the camera's own web interface.
- **Video analysis in TapHome.** The Core would not analyse the video itself.
- **Brand-specific event channels in a first version.** Event streams outside ONVIF, such as a manufacturer's own alarm stream, would not be part of it.

## How to solve it today

- **Dahua cameras.** The [Dahua Camera Motion Sensor](https://taphome.com/en/compatibility/dahua-camera-motion-sensor/) template turns the camera's motion state into a sensor. It uses plain HTTP without sign-in, so read the notes on the page about newer firmware.
- **Other cameras.** A [Packet Parser](https://taphome.com/en/docs/integration/packet-parser/manual/) module can read the camera's HTTP interface from a script. When the camera uses a self-signed certificate, turn on Ignore SSL certificate errors in the module settings.
- **Cameras with an alarm output.** Wire the camera's alarm contact to a TapHome input, for example on the [2 UI](https://hardware.taphome.com/en/2-ui/) module, and use it as a reed contact in smart rules.

## Learn more

- [Setting up IP cameras and doorbells](https://taphome.com/en/docs/integration/sip-doorbell/configuration/)
- [Matter appliances, media players and cameras in TapHome](https://taphome.com/en/ideas/matter-appliances-cameras/)
- [Client certificate for HTTPS devices in Packet Parser](https://taphome.com/en/ideas/packet-parser-client-certificate/)

Which camera event would you use first in a smart rule? Vote for this idea and follow it for updates.

**Vote · Follow:** Anyone can vote. Sign in with your TapHome account to follow ideas, answer polls, comment and suggest your own.

- [Camera events in TapHome: ONVIF motion, line crossing and tamper as sensors for smart rules](https://taphome.com/en/ideas/onvif-camera-events/)
- [Suggest an idea](https://taphome.com/en/ideas/#suggest)

