Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@homebridge-plugins/homebridge-plugin-update-check

Package Overview
Dependencies
Maintainers
3
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebridge-plugins/homebridge-plugin-update-check

A Homebridge plugin for checking for updates to Homebridge and plugins

latest
Source
npmnpm
Version
3.0.7
Version published
Weekly downloads
228
-33.72%
Maintainers
3
Weekly downloads
 
Created
Source

homebridge-plugin-update-check

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

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

Configuration

Configuration sample:

"platforms": [
    {
        "platform": "PluginUpdate",
        "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.

FieldDescriptionDefault
platformMust always be PluginUpdateRequired
nameAccessory name shown in Home appPlugin Update
sensorTypeSensor type for the main update sensormotion
failureSensorTypeSensor type for auto-update failure status, or none to disablemotion
checkNodeUpdatesCheck for newer Node.js LTS versionsfalse
checkNpmUpdatesCheck for newer npm versions when npm is installedfalse
checkHomebridgeUpdatesCheck for Homebridge server updatestrue
checkHomebridgeUIUpdatesCheck for Homebridge Config UI updatestrue
checkPluginUpdatesCheck for installed plugin updatestrue
checkDockerUpdatesCheck for newer Docker image versions when running in Dockerfalse
initialCheckDelayDelay in seconds before the first check after startup10
autoUpdateNodeAutomatically run Node.js updates using hb-service update-node when supportedfalse
autoUpdateNpmAutomatically update npm when a newer version is availablefalse
autoUpdateHomebridgeAutomatically update Homebridgefalse
autoUpdateHomebridgeUIAutomatically update Homebridge Config UIfalse
autoUpdatePluginsAutomatically update pluginsfalse
allowDirectNpmUpdatesAllow direct npm update commands when UI API is unavailablefalse
autoRestartAfterUpdatesRestart Homebridge after successful auto-updatesfalse
respectDisabledPluginsRespect hidden update notifications configured in Homebridge UItrue
enableMatterEnable Matter support when available in Homebridgetrue

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:

  • Attempt to create a backup before updates when Homebridge UI is available.
  • Perform configured updates (Node.js, Homebridge, Homebridge UI, plugins).
  • Optionally restart Homebridge if autoRestartAfterUpdates is enabled.
  • 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.

Keywords

homebridge-plugin

FAQs

Package last updated on 04 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts