Skip to content

Configuration — Dahua HTTP API CCTV

Everything you can add with this adapter: where it goes in the tree, what you fill in, and what you can tell it to do.

Dahua NVR or camera

Dahua network video recorder or ANPR camera — HTTP API connection root. A standalone camera needs one Dahua Channel with address 1 added under it, otherwise nothing can be granted and plate reads have no channel to land on.

Add it under nothing — this is the top of the tree
Identified by nothing — there is only one
Role —

What you fill in

Setting Required Default Accepted values What it does
IP Address yes — host name or IP address NVR host or IP address
Port optional 80 1–65535 HTTP API port
RTSP port optional 554 1–65535 RTSP streaming port
Username yes — text HTTP API Digest authentication username
Password optional — text HTTP API Digest authentication password (optional) (stored as a secret)

What you can command it to do

Command What happens
Synchronize Access Synchronizes current access settings to the device
Full Access Synchronization Clears stored synchronization state and performs a full re-upload of all access data

Dahua Channel

NVR camera channel — video, PTZ, events

Add it under Dahua NVR or camera (up to 64)
Identified by nothing — there is only one
Role an access point people pass through

What you fill in

Setting Required Default Accepted values What it does
Address yes — a number Dahua HTTP API channel number (1-based request form)

What you can command it to do

Command What happens
Live View Start live video stream
Playback Start video playback from recording
Pause Pause playback
Resume Resume paused playback
Seek Seek to a specific time in recording
PTZ Move Continuous PTZ move — adapter moves camera until stop is received
PTZ Stop Stop all PTZ movement
Go to Preset Move camera to preset position
Store Preset Save current position as preset
Snapshot Capture a still image from the camera

Dahua Output

NVR alarm relay output port

Add it under Dahua NVR or camera (up to 16)
Identified by nothing — there is only one
Role —

What you fill in

Setting Required Default Accepted values What it does
Address yes — 1–16 Alarm output port number (1-based)

What you can command it to do

Command What happens
Activate Activate output relay or control point
Deactivate Deactivate output relay or control point