dahua
dahua copied to clipboard
Service call to play audio tone
I had just received the IPC-HDW3649H-AS-PV-ANZ today and deployed your integration and things seem good, the Light Alarm (red blue) works and the siren (although I had to restart Home Assistant for this switch to show) so kudos on all that!
As I continue to play around with the device and it's webpage, I've succesfully uploaded custom "Alarm Tones" and played them via the web interface. My request would to have a service call where I could play these tones (depending on name, id or whatever) directly from Home Assistant.
I figured I could implement this by reviewing your code and cross reference with the network tab on the browser but would appreciate if this was native to your integration.
FWIW: The siren seems to use the alarm.wav file