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

Dahua Network Video Recorder — HTTP API connection root

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)

Dahua Channel

NVR camera channel — video, PTZ, events

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

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 Stream 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 (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