npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-dahua-gate-release

v2.2.0

Published

Homebridge platform plugin to release an electronic gate/door controlled by a Dahua VTO intercom using Digest Auth.

Readme

verified-by-homebridge npm npm downloads Node.js Homebridge License GitHub last commit

Homebridge Dahua Gate Release

A Homebridge plugin that creates a virtual button to unlock an strike plate lock mechanism connected to a Dahua VTO Intercom. Other models not tested but may work. This could be used for gate or door release. When unlocked (or when you ask Siri to “Open the gate”), the plugin sends a Dahua CGI command to open it. The plugin adds a virtual switch to HomeKit. Turning it on (or asking Siri) sends openDoor CGI command to a Dahua VTO2111D intercom.

Homebridge install

  1. Search for the plugin 'Homebridge Dahua Gate Releaase' and select to install.

Prerequisites

  • To use this plugin, you will need to already have:
    • Dahua VTO intercom with CGI Enabled within its Local Settings and unlock duration set.
    • Node: latest version of v22 or v24. (26 not tested)
    • Homebridge: v1.6-v2.0.1

Configuration

Once installed, go to the plugin config and configure the appropriate details as below. Restart the plugin Enable to Child Bridge Scan the QR in the Home app by adding a new accessory. Button should now appear within the Apple Home app or you can control via Siri.

Addition information

The gate/door button will default to showing a 'Locked' state and switch to 'Unlocked' temporarily for the number of unlock seconds you define in the plugin before reverting the button back to a virtual locked state. Align the unlock duration in set in the Intercom to the unlock duration within the plugin. You can also disable relocking of the virtual butotn if necessary by entering '0' (zero) unlock duration.

Automation

If you're attempting to automate an unlock or lock of the door/gate, Apple's treatment of security devices like Gates, Garage doors and Security Systems can be tricky to automate based on geolocation services or remote access. Thus, you'll need to use another virtual/dummy accessory, using another Homebridge plugins such as 'Homebridge Virtual Accessories'.

Designed for the Dahua VTO2111 intercom, but likely to work with many other Dahua / Rebranded VTO Intercom models with CGI Enabled.


✨ Features

  • Unlock your gate using Siri, Apple Home, or Automations
  • Uses Digest Auth for secure communication
  • Automatic re-lock of the virtual button after a configurable delay
  • Retry logic with configurable attempts + delay
  • Polling to detect intercom availability
  • Full support for Child Bridge mode

📦 Installation

  1. Open Homebridge UI
  2. Go to Plugins
  3. Search for “Homebridge Dahua Gate Release”
  4. Install the plugin
  5. Configure to your intercom
  6. Restart Homebridge

⚙️ Configuration

After installation:

  1. Open the plugin settings
  2. Enter your Dahua intercom details (set unlock duration to be the same duration within the intercom)
  3. Enable Child Bridge (recommended)
  4. Save & restart Homebridge
  5. Scan the QR code in the Home app to add the accessory

Example configuration

{
    "fallbackRetries": 2,
    "fallbackDelay": 5000,
    "autoLockTime": 20,
    "autoLockUnit": "seconds",
    "pollInterval": 60000,
    "verboseLogging": true,
    "ip": "192.168.1.110",
    "username": "admin",
    "password": "admin",
    "name": "DahuaGateRelease",
    "_bridge": {
        "name": "Homebridge Dahua Gate Release",
        "username": "00:AA:00:AA:00:AA",
        "port": 30645
    },
    "accessoryName": "Dahua Gate",
    "platform": "DahuaGateRelease"
}

Disclaimer

  • I have created this plugin in my own time free for you to use.
  • I have no affiliation with Dahua or any company rebanding Dahua devices.
  • Use this plugin at your own risk.
  • You are licensed to use this plugin free of charge but within the limits of the MIT license distributed with this plugin.