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-plugins/homebridge-updater

v3.1.6

Published

A Homebridge plugin for checking for updates to Homebridge and plugins

Downloads

1,407

Readme

homebridge-updater

npm npm verified-by-homebridge

A Homebridge plugin that reports update availability as sensors and can optionally run automatic updates.

Features

  • Works with both HomeKit Accessory Protocol (HAP) and Matter at runtime
  • Exposes an update availability sensor
  • Exposes an optional failure sensor for automatic update/restart failures
  • Checks for updates to Node.js (LTS), Homebridge, Homebridge UI, plugins, and Docker images
  • Supports optional auto-updates for Node.js, Homebridge, Homebridge UI, and plugins
  • Intentionally does not auto-update Docker containers (check-only)

Installation

  1. Install Homebridge using the official instructions.
  2. Install this plugin using: sudo npm install -g @homebridge-plugins/homebridge-updater.
  3. Update your configuration file. See sample config.json snippet below.

Configuration

Configuration sample:

"platforms": [
    {
        "platform": "HomebridgeUpdater",
        "name": "Plugin Update",
        "sensorType": "contact",
        "failureSensorType": "motion",
        "checkNodeUpdates": true,
        "checkNpmUpdates": true,
        "checkHomebridgeUpdates": true,
        "checkHomebridgeUIUpdates": true,
        "checkPluginUpdates": true,
        "checkDockerUpdates": false,
        "initialCheckDelay": 10,
        "autoUpdateNode": false,
        "autoUpdateNpm": false,
        "autoUpdateHomebridge": false,
        "autoUpdateHomebridgeUI": false,
        "autoUpdatePlugins": false,
        "allowDirectNpmUpdates": false,
        "autoRestartAfterUpdates": false,
        "respectDisabledPlugins": true,
        "enableMatter": true
    }
]

Fields

All sensor type options are:

  • motion
  • contact
  • occupancy
  • humidity
  • light
  • air
  • leak
  • smoke
  • dioxide
  • monoxide

failureSensorType also supports none to disable the failure sensor.

| Field | Description | Default | | --- | --- | --- | | platform | Must always be HomebridgeUpdater | Required | | name | Accessory name shown in Home app | Plugin Update | | sensorType | Sensor type for the main update sensor | motion | | failureSensorType | Sensor type for auto-update failure status, or none to disable | motion | | checkNodeUpdates | Check for newer Node.js LTS versions | false | | checkNpmUpdates | Check for newer npm versions when npm is installed | false | | checkHomebridgeUpdates | Check for Homebridge server updates | true | | checkHomebridgeUIUpdates | Check for Homebridge Config UI updates | true | | checkPluginUpdates | Check for installed plugin updates | true | | checkDockerUpdates | Check for newer Docker image versions when running in Docker | false | | initialCheckDelay | Delay in seconds before the first check after startup | 10 | | autoUpdateNode | Automatically run Node.js updates using hb-service update-node when supported | false | | autoUpdateNpm | Automatically update npm when a newer version is available | false | | autoUpdateHomebridge | Automatically update Homebridge | false | | autoUpdateHomebridgeUI | Automatically update Homebridge Config UI | false | | autoUpdatePlugins | Automatically update plugins | false | | allowDirectNpmUpdates | Allow direct npm update commands when UI API is unavailable | false | | autoRestartAfterUpdates | Restart Homebridge after successful auto-updates | false | | respectDisabledPlugins | Respect hidden update notifications configured in Homebridge UI | true | | enableMatter | Enable Matter support when available in Homebridge | true |

How It Works

  • The plugin checks selected update sources on a schedule.
  • If any enabled source has updates, the main sensor is set to active.
  • If automatic updates are enabled and an update/restart fails, the failure sensor is set to active.
  • If no auto-update options are enabled, the failure sensor is automatically not exposed.

Automatic Updates

When automatic updates are enabled, the plugin will:

  1. Attempt to create a backup before updates when Homebridge UI is available.
  2. Perform configured updates (Node.js, Homebridge, Homebridge UI, plugins).
  3. Optionally restart Homebridge if autoRestartAfterUpdates is enabled.
  4. Surface failures through the failure sensor.

Automatic updates are disabled by default. Enable them only if your environment has appropriate permissions and you are comfortable with unattended updates.

If Homebridge UI is not configured, automatic updates require allowDirectNpmUpdates: true.

If npm is not installed in your environment, npm checks and npm auto-update are skipped safely.

Docker Notes

Docker update checks are notification-only. The plugin does not attempt in-container self-updates by design, to avoid interrupting or corrupting the running container.