Dahua API active deterrence Audio

sheuchert

n3wb
Jan 4, 2022
1
0
Poland
Hi I have question.
It is possible to play audio from file in camera by API ?
1641293632445.png
I need play alarm1.pcm by API POST. Dahua API can do this?
 
Yes. Something like the following command issued in linux will trigger the file you've selected.

curl --digest -g "http://username:password@camera_ip_address/cgi-bin/coaxialControlIO.cgi?action=control&channel=2&info[0].Type=2&info[0].IO=1"
 
  • Like
Reactions: JDreaming
For me its working, but it will play the soud thats selected in the tab audio alarm.
Would it also be possible to play another alarm sound from the list using api?