I recently purchased the Dahua ASI6214S-PW doorbell access controller (face, fingerprint, password, etc). It has the full system with SIP server, wiring to exit button, unlock strike, etc all in the one device. It is a series they provide, so there are quite a few model numbers ASI8214S-W, ASI8213S-W, ASI7214S-W, ASI7213S-W, ASI3204E-DW, etc. Pretty much it looks like quite a lot starting with ASI…
I could not get it calling the DMSS app or integrated with Home Assistant. I thought for anyone that comes across these issues may be interested:
Integrating Dahua ASI6214S-PW with DMSS and Home Assistant
Overview
This guide outlines the steps to set up the Dahua ASI6214S-PW face recognition access controller to make calls to mobile devices using the DMSS app and to unlock doors via Home Assistant using Digest Authentication.
Step 1: Configure DMSS for Calls
- Download and Install DMSS: Install the DMSS app on your mobile device from the App Store or Google Play.
- Add the Device: Use the device’s IP address to add the Dahua ASI6214S-PW to the DMSS app. Ensure you log in with the appropriate credentials and enable notifications.
- Set Custom Call Room: In the Dahua device settings, navigate to Personalization → Call Type, and set it to Custom Call Room with a dummy room number (e.g., 888). This configuration allows the device to call your mobile via the DMSS app.
Step 2: Integrate with Home Assistant
- Create Shell Command for Unlocking:
- Add the following shell command in your
configuration.yaml
file:
shell_command:
unlock_door: 'curl --digest -u "username:password" "http://<device_ip>/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=<user_id>"'
- Replace
username
,password
,<device_ip>
and ‘<user_id>’ with your actual credentials and device IP address.
- Testing the Command:
- Go to Developer Tools > Actions in Home Assistant.
- Select
shell_command.unlock_door
and click Run Action to test the command.
- Create Automations (optional):
- Set up automations or scripts to trigger the unlock command based on certain events (e.g., motion detection).
Conclusion
By following these steps, you can successfully integrate the Dahua ASI6214S-PW (or similar) for mobile calls using DMSS and manage door unlocking through Home Assistant with Digest Authentication.