You can interact with this intercom in two ways. First with Rest API, this API is not public, you have to request it from Dahua and sign an NDA. I have signed the NDA so I can¡¯t send it to you.
You can request it here :
You can find an old one on the web but I don¡¯t think it contains the intercom related part.
I use this API on the processor side to subscribe to the event called when someone rings.
?
The second way is to use the SDK which is public and that you can find here :
?
This SDK provides you the same library used by Dahua to make their App. With that you can access fully to the intercom (it¡¯s the same for NVR) and reproduce all the available functionalities available in Dahua native app.
As I couldn¡¯t do all I needed using Crestron Home or Crestron One with Ch5 project I started to develop my own app. It¡¯s a Crestron Home like app, and I integrated the Dahua SDK on it so I can view the camera from the intercom, listen and talk to the visitor. I also use the same SDK for NVR so I can access to the camera record, display, search and play them directly on it. You can find more details on my website if you¡¯re curious.
?
Send me a email and I can give you a piece of code to handle the ring event if you want.