Dahua IP PTZ HTTP Command for wipe

aledcsl

n3wb
Joined
Dec 8, 2021
Messages
6
Reaction score
1
Location
wales
Hi all,

First post on here so be gentle!

I am trying to send a wipe command to a DH-SD6AL230F-HNI-IR....
I have found (on this forum) a HTTP API document:


Using this I've managed to send a few different commands to various Dahua Kit and they all work flawlessly! Except for the wipe!

This is the string im using:


The only thing i can find in the documentation that could possibly refer to the wiper is 'AuxOn/Off' which does return an 'OK' in browser when i send the string, but alas, no wipe....

What i cant find is any detail on what the arguments should be (arg1,2,3,4 in the string above) which is an integeral part of the command!

Any help would be greatly appreciated! whether its to do with wipe or HTTP commands in general!
 

aledcsl

n3wb
Joined
Dec 8, 2021
Messages
6
Reaction score
1
Location
wales
Hi Tony,

Thanks for the PDF, no luck I'm afraid, i get this response:

Error
ErrorID=2, Detail=Invalid Request!

I've tried subbing in a few terms from that string but still no luck!
 

Mark_M

Getting comfortable
Joined
Jul 2, 2019
Messages
975
Reaction score
1,385
Location
Land down down under
From API document I have with me:
8.2 Wiper
8.2.1 Move continuously
Make the wiper move continuously until you call the stopMove function to stop it.
Request URLhttp://<server>/cgi-bin/rainBrush.cgi?action=moveContinuously
MethodGET
Request Params(key = value format in URL)
NameTypeR/ODescriptionExample
ChannelintOVideo channel number, starting from 1; default value is 11
intervalintRInterval for motion of the wiper; unit: second5
Request example:
http://192.168.1.108/cgi-bin/rainBrush.cgi?action=moveContinuously&channel=1&interval=5
Response Params (OK in body)
Example: OK

8.2.2 Stop move
Request URL: http://<server>/cgi-bin/rainBrush.cgi?action=stopMove
Parameters: Channel number (int)
Example: http://192.168.1.108/cgi-bin/rainBrush.cgi?action=stopMove&channel=1
Response: OK

8.2.3 Move Once
http://<server>/cgi-bin/rainBrush.cgi?action=moveOnce
Parameters: Channel number (int)
Example: http://192.168.1.108/cgi-bin/rainBrush.cgi?action=moveOnce&channel=1
Response: OK



Hope this helps :).
 
Top