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-shelly-doorbell

v0.4.0

Published

A plugin to add doorbells powered by Shelly.

Readme

Homebridge Shelly Doorbell Plugin

This Homebridge plugin, together with a Shelly 1, can turn any old-fashioned two-wire doorbell into a HomeKit-compatible digital doorbell.

alt text

That means you can get a push notification when someone rings your doorbell and it doesn't matter if you are at home or on the road. You can also turn your doorbell on and off via HomeKit. This enables you to integrate the doorbell into numerous automations, e.g. to turn off the doorbell automatically in the evening. The integrated motion sensor makes it possible to trigger automations when the bell is pressed.

Requirements

  • Shelly 1 (12 EUR)
  • 12V DC Driver (12 EUR)
  • Some wires and clamps
  • Running Homebridge with this plugin installed
  • If you are not qualified and licensed to do electrical work, you will need an electrician to help you.

Supported old fashion doorbell with two wires

If your existing doorbell is installed and switched like this, you can make it "smart" with this plugin and a Shelly 1:

alt text

Note: Shelly 1 supports a lot of voltages with both AC and DC on the relay, so even if your mechanical gong works with different voltages, there is a high chance that your environment is compatible with this plugin.

Hardware (Shelly 1) installation

The special thing about this setup is that the Shelly 1 is powered by 12V DC so we can connect it to the doorbell.

alt text

Shelly 1 pre-configuration

The plugin sets the "Button Type" of the Shelly 1 to "Activation Switch". Thereby every short press of the doorbell activates the relay for a certain time so that the gong sounds completely. Under Timer -> AUTO OFF you should set a value in seconds, how long the gong should ring until the relay switches off again. For us, the value "0.3" has turned out to be a reasonable duration.

To trigger a digital gong you have to check "Enabled" on the Shelly under "I/O URL actions" -> "BUTTON SWITCHED ON URL" and set the url to the address of the Homebridge with the port of the plugin:

http://<homebridge-ip>:<shelly-doorbell-http-port>/ 
http://192.168.0.99:9053/

Warning: Please also turn off "Settings" -> "FACTORY RESET" -> "Enable factory reset from switch" so that no one can reset your shelly via the doorbell.

Plugin configuration

{
    "name": "Shelly 1-Doorbells",
    "doorbells": [
        {
            "shelly1IP": "192.168.0.100",
            "digitalDoorbellWebhookPort": 9053
        }
    ],
    "platform": "ShellyDoorbell"
}

| Setting | Example | Description | | --- | --- | --- | | name | Doorbell | Name of the doorbell | | shelly1IP* | 192.168.0.100 | IP of Shelly 1 | | shelly1Username | admin | Username of Shelly 1 if login is restricted | | shelly1Password | password | Password of Shelly 1 if login is restricted | | digitalDoorbellWebhookPort* | 9053 | HTTP Port for the digital doorbell trigger server | | digitalDoorbellName | Digital gong | Name for the digital doorbell | | mechanicalDoorbellName | Mechanical gong | What is connected to the relay (slots I and O) of your Shelly? |

* Mandatory field.

Doorbell controls

Please reboot homebridge after setup is completed. Now you should see the doorbell in your default room. On the left side you can enable or disable the "digital gong" (Push Notifications, HomePod ringing, Automations,...). On the right side you can enable and disable your "mechanical gong". Both names can be changed via the configuration.

alt text

Note: Both switches work independently from each other.

Enjoy your smart doorbell 🚪🛎👍