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-bticino-classe300x

v1.1.1

Published

Homebridge plugin to open the door of a BTicino Classe 100X/300X intercom via SSH

Readme

homebridge-bticino-classe300x

A Homebridge plugin to open the door of a BTicino Classe 100X / 300X intercom directly from Apple HomeKit, via SSH.

This plugin exposes:

  • A garage door in HomeKit that automatically closes after a configurable delay (default 5 seconds), simulating a momentary door button press
  • An optional contact sensor watchdog that monitors SSH connectivity to the intercom and triggers an alert in HomeKit if the intercom becomes unreachable

Important: This plugin requires the custom firmware developed by @fquinto to be installed on your intercom. The firmware enables SSH access and exposes the OpenWebNet socket used to send door commands.


Requirements

  • Homebridge >= 1.3.0
  • Node.js >= 14.0.0
  • BTicino Classe 100X or 300X with custom firmware installed: fquinto/bticinoClasse300x
  • SSH access enabled on the intercom (enabled by the custom firmware)

Installation

npm install -g homebridge-bticino-classe300x

Or install via the Homebridge UI by searching for homebridge-bticino-classe300x.


Configuration

Add the following to your Homebridge config.json under accessories:

{
  "accessories": [
    {
      "accessory": "BticinoDoorOpener",
      "name": "Front Door",
      "host": "192.168.1.37",
      "username": "root2",
      "password": "pwned123",
      "sshPort": 22,
      "resetDelay": 5,
      "watchdog": true,
      "watchdogInterval": 10
    }
  ]
}

Configuration Parameters

| Parameter | Required | Default | Description | |-------------------|----------|---------|---------------------------------------------------------------------| | accessory | ✅ Yes | - | Must be BticinoDoorOpener | | name | ✅ Yes | - | Name shown in HomeKit | | host | ✅ Yes | - | IP address of the intercom | | username | No | root2 | SSH username (set during firmware preparation) | | password | No | pwned123 | SSH password (set during firmware preparation) | | sshPort | No | 22 | SSH port | | resetDelay | No | 5 | Seconds before the door resets to CLOSED after being triggered | | watchdog | No | true | Set to false to disable the watchdog contact sensor | | watchdogInterval| No | 10 | How often (in minutes) the watchdog checks SSH connectivity |


How It Works

Door Opening

When you tap the garage door in HomeKit:

  1. The plugin connects to the intercom via SSH
  2. It sends the OpenWebNet door open command via nc (netcat):
    echo '*8*19*20##' | nc -w 2 0 30006
    sleep 1
    echo '*8*20*20##' | nc -w 2 0 30006
  3. HomeKit shows the door as OPEN
  4. After resetDelay seconds, the door automatically resets to CLOSED

If the SSH connection fails, the door immediately resets to CLOSED and an error is logged in Homebridge.

Watchdog

When enabled, the plugin attempts an SSH connection to the intercom every watchdogInterval minutes:

  • If SSH succeeds → contact sensor stays closed (normal)
  • If SSH fails → contact sensor goes open → HomeKit triggers an alert ("Intercom Not Working")

This is especially useful because the dropbear SSH daemon on the custom firmware can occasionally be killed by internal BTicino processes. You can use this sensor to trigger a HomeKit automation (e.g. a notification on your phone).


Troubleshooting

SSH connection refused / timeout

  • Make sure the intercom is reachable on the network (ping <host>)
  • Verify dropbear (SSH daemon) is running on the intercom
  • If SSH stops working after a few days, install the watchdog script on the intercom itself — see the fquinto repository issues

Door does not open

  • Verify the OpenWebNet command works manually:
    ssh root2@<intercom_ip> "echo '*8*19*20##' | nc -w 2 0 30006; sleep 1; echo '*8*20*20##' | nc -w 2 0 30006"

Credits

  • Custom firmware for BTicino Classe 100X/300X: @fquinto/bticinoClasse300x
  • OpenWebNet door commands documented in the fquinto repository

License

MIT