Dahua NVR API Command Help

Andyh747

Getting the hang of it
Joined
Aug 3, 2018
Messages
80
Reaction score
34
Location
UK
Hi All,
I've been working on customising commands to control my Dahua NVR from http commands. Ultimately I will add these into a remote interface for control of the DVR.
I've attached the API document I have for NVR/DVRs. This gives commands for most options but I'm struggling to get a command to display a specific Tour screen on the NVR.
I have my NVR connected to an HDMI Matrix to allow viewing of the cameras in any room of the property. I want to be able to switch between screens easily using these commands. I can switch to individual cameras and I can even switch to split screens which display the cameras in order of channel number. However I have setup the Tour option to display two screens of 9 cameras with a delay between. I'm trying to find a command to switch directly to either of these Tour screens.
Page 74 of the attached guide shows how to enable Tour which works fine. I can also freeze the tour on each screen. However If I switch to a specific camera I would like a command to go back to one of the set Tour screens.

Here's my current Tour Configuration:
table.MonitorTour[0].CombinationTour.Split1[0].Combination[0]=0
table.MonitorTour[0].CombinationTour.Split1[0].Enable=true
table.MonitorTour[0].CombinationTour.Split1[1].Combination[0]=1
table.MonitorTour[0].CombinationTour.Split1[1].Enable=true
table.MonitorTour[0].CombinationTour.Split1[2].Combination[0]=2
table.MonitorTour[0].CombinationTour.Split1[2].Enable=true
table.MonitorTour[0].Enable=false
table.MonitorTour[0].Interval=5
table.MonitorTour[1].CombinationTour.Split1[0].Combination[0]=0
table.MonitorTour[1].CombinationTour.Split1[0].Enable=0
table.MonitorTour[1].CombinationTour.Split1[1].Combination[0]=1
table.MonitorTour[1].CombinationTour.Split1[1].Enable=0
table.MonitorTour[1].CombinationTour.Split1[2].Combination[0]=2
table.MonitorTour[1].CombinationTour.Split1[2].Enable=0
table.MonitorTour[1].CombinationTour.Split1[3].Combination[0]=3
table.MonitorTour[1].CombinationTour.Split1[3].Enable=0
table.MonitorTour[1].CombinationTour.Split1[4].Combination[0]=4
table.MonitorTour[1].CombinationTour.Split1[4].Enable=0
table.MonitorTour[1].CombinationTour.Split1[5].Combination[0]=5
table.MonitorTour[1].CombinationTour.Split1[5].Enable=0
table.MonitorTour[1].CombinationTour.Split1[6].Combination[0]=6
table.MonitorTour[1].CombinationTour.Split1[6].Enable=0
table.MonitorTour[1].CombinationTour.Split1[7].Combination[0]=7
table.MonitorTour[1].CombinationTour.Split1[7].Enable=0
table.MonitorTour[1].CombinationTour.Split1[8].Combination[0]=8
table.MonitorTour[1].CombinationTour.Split1[8].Enable=0
table.MonitorTour[1].CombinationTour.Split1[9].Combination[0]=9
table.MonitorTour[1].CombinationTour.Split1[9].Enable=0
table.MonitorTour[1].CombinationTour.Split1[10].Combination[0]=10
table.MonitorTour[1].CombinationTour.Split1[10].Enable=0
table.MonitorTour[1].CombinationTour.Split1[11].Combination[0]=11
table.MonitorTour[1].CombinationTour.Split1[11].Enable=0
table.MonitorTour[1].CombinationTour.Split1[12].Combination[0]=12
table.MonitorTour[1].CombinationTour.Split1[12].Enable=0
table.MonitorTour[1].CombinationTour.Split1[13].Combination[0]=13
table.MonitorTour[1].CombinationTour.Split1[13].Enable=0
table.MonitorTour[1].CombinationTour.Split1[14].Combination[0]=14
table.MonitorTour[1].CombinationTour.Split1[14].Enable=0
table.MonitorTour[1].CombinationTour.Split1[15].Combination[0]=15
table.MonitorTour[1].CombinationTour.Split1[15].Enable=0
table.MonitorTour[1].CombinationTour.Split9[0].Combination[0]=6
table.MonitorTour[1].CombinationTour.Split9[0].Combination[1]=16
table.MonitorTour[1].CombinationTour.Split9[0].Combination[2]=0
table.MonitorTour[1].CombinationTour.Split9[0].Combination[3]=3
table.MonitorTour[1].CombinationTour.Split9[0].Combination[4]=7
table.MonitorTour[1].CombinationTour.Split9[0].Combination[5]=2
table.MonitorTour[1].CombinationTour.Split9[0].Combination[6]=15
table.MonitorTour[1].CombinationTour.Split9[0].Combination[7]=14
table.MonitorTour[1].CombinationTour.Split9[0].Combination[8]=5
table.MonitorTour[1].CombinationTour.Split9[0].Enable=1
table.MonitorTour[1].CombinationTour.Split9[1].Combination[0]=4
table.MonitorTour[1].CombinationTour.Split9[1].Combination[1]=8
table.MonitorTour[1].CombinationTour.Split9[1].Combination[2]=9
table.MonitorTour[1].CombinationTour.Split9[1].Combination[3]=10
table.MonitorTour[1].CombinationTour.Split9[1].Combination[4]=11
table.MonitorTour[1].CombinationTour.Split9[1].Combination[5]=12
table.MonitorTour[1].CombinationTour.Split9[1].Combination[6]=13
table.MonitorTour[1].CombinationTour.Split9[1].Combination[7]=16
table.MonitorTour[1].CombinationTour.Split9[1].Combination[8]=14
table.MonitorTour[1].CombinationTour.Split9[1].Enable=1
table.MonitorTour[1].Enable=true
table.MonitorTour[1].Interval=5

I want to be able to display CombinationTour.Split9[0] and CombinationTour.Split9[1] using an http request.
Can anyone help?
 

Attachments

Joined
Jun 4, 2015
Messages
6
Reaction score
0
Did you ever figure this out? I am struggling with the same issue.

I can easily set the view to be just one camera or split4, split8, split9, etc. However, I can't set which cameras are in that group. They default by order. I was hoping to use the tour and or a manual configuration to manually make a tour feature and can't get it to work.
 

Andyh747

Getting the hang of it
Joined
Aug 3, 2018
Messages
80
Reaction score
34
Location
UK
Did you ever figure this out? I am struggling with the same issue.

I can easily set the view to be just one camera or split4, split8, split9, etc. However, I can't set which cameras are in that group. They default by order. I was hoping to use the tour and or a manual configuration to manually make a tour feature and can't get it to work.
There’s no way to go directly to a specific tour screen. However not sure that’s what you’re after.
You can choose which channels are in the tour screens in the settings on the DVR. You have to list the order you want and then enable tour.
 
Top