Dahua IP PTZ HTTP Command for wipe

aledcsl

n3wb
Dec 8, 2021
6
1
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!
 
No guarantees, just something I found below, a PDF file.
 

Attachments

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!
 
  • Like
Reactions: TonyR
These worked for me on a 6AL445XANR. Thanks.
Do you have the full manual/user guide that PDF page came from?
Try the attached PDF below, it has those wiper commands.
 

Attachments

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 :).
 
  • Like
Reactions: Mike A.
Ah Fck.
This thread is from 2021. I just spend all that time typing it out.... argh. :rofl:

Please @Mike, @alastairstevenson, @fenderman enable the feature in Xenforo to display a banner saying "This thread is very old" :).
1681792792990.png
Maybe one saying "this thread has been marked as answered and may not need a reply" too :).