---
title: "Dahua"
description: "Dahua is a Marketplace integration for Home Assistant. It has 4.7k installs sharing analytics, works locally and was last updated October 26, 2026."
canonical: "https://vulpo.app/integrations/marketplace/rroller-dahua"
url: "https://vulpo.app/integrations/marketplace/rroller-dahua.md"
last-updated: "2026-10-27"
version: "1.4"
---

# Dahua

> Dahua is a Marketplace integration for Home Assistant. It has 4.7k installs sharing analytics, works locally and was last updated October 26, 2026.

Dahua is an integration that connects Dahua cameras, doorbells, NVRs and DVRs to Home Assistant over the local network. It also works with some Lorex and Amcrest devices, and it is set up in the UI, where Home Assistant can find devices on the network by itself. It adds binary sensors for motion, tripwire, face detection and doorbell button presses, plus a doorbell event entity and buttons to reboot or open the door. Lights, switches and selects cover the infrared light, illuminator, security light, siren, motion detection, privacy mode and day/night mode. On cameras with plate recognition, the detected plate is a sensor, and a list of authorized plates can be set in the options. Recordings on the device's storage can be browsed in the Media browser, and a recorder's channels can be added as separate cameras.

Automatic summary of the README and code of rroller/dahua. Something wrong, or are you the maintainer and want your own text here? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/hacs_repository/?owner=rroller&repository=dahua&category=integration)

On Home Assistant 2026.11 or newer? [Open it in the Marketplace](https://my.home-assistant.io/redirect/marketplace_repository/?owner=rroller&repository=dahua&category=integration)

## Supports

- **Works locally**: Talks to your devices on your own network. No vendor cloud in between.
- **Found by itself**: Home Assistant spots it on the network and offers to add it.
- **From the Marketplace**: Installed through the Marketplace, formerly HACS.
- **Actively maintained**: Its author released or pushed a change in the last six months.

## Setting it up

Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.

### Add Dahua device

- **Username**: An account on the device itself, not a Dahua or Imou cloud login. It is usually admin, in lower case.
- **Password**: The device's own password. If one has never been set, it is the safety code printed on the device's label.
- **Address**: The device's IP address or hostname, for example 192.168.1.108.
- **Port**: The port the device serves its web interface on. Normally 80, or 443 for HTTPS.
- **RTSP port**: The port the device serves video on. Normally 554.
- **Use HTTPS**: Tick this if the device serves HTTPS on the port above. Left unticked, HTTPS is used only when the port is 443.
- **Channel**: Counted from 0, so a single camera is 0 and a recorder's channel 4 is 3 here. The recorder's other channels can be added on the next screen, where they are listed by the number the recorder shows.

### Add other channels

- **Or just these**

### Name this camera

- **Device Name**: Used for the device and as the prefix for every entity it creates.
- **Labels**: Put on every device this adds, including each channel of a recorder. Change it later under Configure, where unticking a label removes it again. A label you add to a camera yourself is left alone.

### Re-authenticate Dahua device

- **Username**
- **Password**

### Dahua device connection

- **Address**: The device's IP address or hostname, for example 192.168.1.108.
- **Port**: The port the device serves its web interface on. Normally 80, or 443 for HTTPS.
- **RTSP port**: The port the device serves video on. Normally 554.
- **Channel**: Counted from 0, so a single camera is 0 and a recorder's channel 4 is 3 here. The recorder's other channels can be added on the next screen, where they are listed by the number the recorder shows.
- **Use HTTPS**: Tick this if the device serves HTTPS on the port above. Left unticked, HTTPS is used only when the port is 443.

### After setup

- **Auto-detect channel index (disable if HTTP snapshot at channel=0 works but RTSP only streams on channel=1)**
- **Read configuration over one RPC2 session per device (fewer logins in the device's log; leave off if unsure)**
- **Poll ordinary motion state when the recorder does not push VideoMotion events (one request per recorder)**
- **Events to subscribe to**
- **Seconds between device polls (events are not affected)**
- **Enable NVR active deterrence controls**
- **Manually enable Siren entity**: Enable this if your camera has a working siren, but the integration did not create the Siren entity.
- **Manually enable Security Light entity**: Enable this if your camera has a working security light, but the integration did not create the Security Light entity.
- **Don't open the two-way audio channel when streaming (fixes a doorbell stuck in a call, or talkback in the Dahua/Amcrest app; disables talking from Home Assistant)**
- **Keep H.265 and stop warning that live view may not play (turn off to have the check come back)**: The check reports that a channel sends H.265 with no audio track, which many browsers will not play. It cannot see your browser. Enable this if live view works for you, and the warning is dismissed for this device.
- **Authorized license plates (comma-separated, e.g. ABC1234, XYZ5678)**
- **Authorized vehicle hold time (seconds to remain ON)**
- **Area (moves this device to it)**
- **Labels (applied to every camera on this device)**
- **Binary sensor enabled**

Texts from the code of [rroller/dahua](https://github.com/rroller/dahua).

## Entities

- **Binary sensors**: Alarm Local, Alarm Output, Audio Anomaly, Audio Mutation, Button Pressed, Call No Answered, Cross Line Alarm, Cross Region Detection, Crowd Detection, Door Status, Face Detection, Face Recognition, and 34 more
- **Buttons**: Reboot, Open Door, Cancel Call
- **Events**: Doorbell
- **Lights**: Infrared, Illuminator, Flood Light, Ring Light, Security Light, Warning Light
- **Numbers**: Brightness, Contrast, Saturation, Hue, Door station ring volume, Indoor ring volume, Talk volume, Alarm volume, Motion region 1 sensitivity, Motion region 1 threshold
- **Selects**: Security Light, Preset Position, Day/Night Mode, Smart Motion Sensitivity, Infrared Mode, Illumination mode
- **Sensors**: Processor usage, Memory used, Firmware Version, Serial Number, Profile, Configured Channels, License Plate
- **Switches**: Motion Detection, Disarming, Cloud Connection, AI Tour, Event Notifications, Smart Motion Detection, Alarm Output, Privacy Mode, Siren, Alarm, Do not disturb
- **Updates**: Firmware Update

## Troubleshooting

- **Diagnostics**: Downloads a diagnostics file to attach to a bug report.
- **Repair notices**: Notices it can show in Settings, Repairs:
  Referenced the Dahua entry you removed, Cannot finish moving onto the serial its device reports, Cannot move onto the serial its device reports

## From the README

> The Dahua Home Assistant integration allows you to integrate your Dahua cameras, doorbells, NVRs, DVRs in Home Assistant. It's also confirmed to work with some Lorex cameras and Amcrest devices.
>
> Supports motion events, alarm events (and others), enabling/disabling motion detection, switches for infrared, illuminator (white light), security lights (red/blue flashers), sirens, doorbell button press events, and more.

From the README of [rroller/dahua](https://github.com/rroller/dahua#readme), [MIT License](https://spdx.org/licenses/MIT.html). Shortened.

## At a glance

- Kind: Marketplace integration
- Category: [Security and safety](https://vulpo.app/integrations/category/security-and-safety.md), Cameras
- Brand: [Dahua](https://vulpo.app/integrations/dahua.md)
- Number: 4.7k installs sharing analytics; 572 GitHub stars
- Connection: Works locally
- Upkeep: Updated in the last 6 months
- Needs: Needs the Marketplace (HACS on 2026.10 and older)
- Latest version: 2.0.0, last updated October 26, 2026
- Domain: `dahua`
- Source: <https://github.com/rroller/dahua>
- Issues: <https://github.com/rroller/dahua/issues>

In Vulpo: Light card, Quick Toggle card, Camera card, Button card, Apple Watch, Control Center

## Other ways in for Dahua

| Name | Kind | Installs or stars | Connection | Upkeep |
| --- | --- | --- | --- | --- |
| [Dahua VTO](https://vulpo.app/integrations/marketplace/myhomeiot-dahuavto.md) | Marketplace integration | 558 installs sharing analytics | Works locally | No update in over 18 months |

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-27. Source: https://vulpo.app/integrations/marketplace/rroller-dahua

---

- HTML version of this page: https://vulpo.app/integrations/marketplace/rroller-dahua
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
