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 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-intercom

v1.2.0

Published

Manage your old intercom via Homebridge. It consists of two accessories: a doorbell (for checking and notifyng if the intercom rings) and a lock mechanism (for opening the intercom door).

Downloads

76

Readme

Homebridge Intercom Plugin

npm npm

Overview

Homebridge Intercom is a plugin for Homebridge that enables integration with old intercoms. This allows you to control and monitor your intercom system directly from your Home app.

Features

  • Notifications: Receive notifications when someone rings your intercom.
  • Door control: Unlock the door connected to your intercom.
  • Automations: Create automatizations whne the intercom rings, via an Occupancy Sensor exposed in the Home app.

Installation Instructions

If you have installed Homebridge UI, then you can install the plugin from the Homebridge Plugins screen by searching for homebridge-intercom. If not, then you can install it by running this command:

sudo npm install -g homebridge-intercom

Usage

Configuration

In order to configure the intercom you will need to fill the following fields:

Intercom general fields:

  • Name: string (required)
    • The name that will appear in your homebridge log.
  • Manufacturer: string (optional)
    • What will show under Manufacturer in accessory settings.
  • Model: string (optional)
    • What will show under Model in accessory settings.
  • Serial Number: string (optional)
    • What will show under Serial Number in accessory settings.
  • Timeout: number (optional)
    • The number of seconds between the unlocking and locking notifications. Defaults to 10 seconds.
  • Intercom type: string (required)
    • The intercom communication with Homebridge is done directly with the intercom or indirectly. When done indirectly, an interface will be used, such as Raspberry Pi or Shelly.
      As of now, these are the supported ways of communication:

      • Shelly Uni (indirectly)

      Note: Please open an issue if you would like support added for your intercom.

Intercom specific fields:

  1. Shelly Uni:
    • Status Url: string (required)
      • URL which retrives the status of the Shelly Uni
    • Talk Url: string (required)
      • URL which triggers Talk button on the Shelly Uni.
    • Open Url: string (required)
      • URL which triggers Open button on the Shelly Uni.
    • Buttons timeout: number (optional)
      • The number of seconds between pressing the Talk button and Open button. Defaults to 1 second.

Description

Once configured, your intercom system will be accessible through the Home app.

You will have one accessory (the Intercom) which will encompass 3 accessories:

  • 1 Doorbell;
  • 1 Locking Mechanism;
  • 1 Occupancy Sensor (this will be useful in automations to detect when the Intercom is ringing).

When someone will ring the intercom, the Doorbell will sent a notifications to all your Apple devices. Then to open the door, you will have to use the unlock switch, which is present in the Intercom accessory.

If you want you can automatize the opening of the door by using the Occupancy Sensor. This sensor will get triggered everytime the Intercom rings. You will still get the ringing notification, as well as unlocking/locking the door notifications.

License

This project is licensed under the Apache-2.0 license - see the LICENSE file for details.