A Homebridge plugin for checking for updates to Homebridge and plugins.
This will use homebridge-config-ui-x when available, but will fall back to using npm-check-updates if it is not.
- Install Homebridge using the official instructions.
- Install this plugin using:
sudo npm install -g homebridge-plugin-update-check
. - Update your configuration file. See sample config.json snippet below.
Configuration sample:
"platforms": [
{
"platform": "PluginUpdate",
"sensorType": "motion",
"checkHomebridge": true,
"checkHomebridgeUI": true,
"checkPlugins": true,
"forceNcu": false
}
]
- "platform": Must always be "PluginUpdate" (required)
- "sensorType": What type of sensor will be exposed to HomeKit. Can be
motion
,contact
,occupancy
,humidity
,light
,air
,leak
,smoke
,dioxide
, ormonoxide
(Default:motion
) - "checkHomebridge": Check if an update is available for the Homebridge server
- "checkHomebridgeUI: Check if an update is available for the Homebridge UI
- "checkPlugins": Check if updates are available for any installed plugins
- "forceNcu": Force use of npm-check-updates instead of homebridge-config-ui-x. (Default:
false
)
Homebridge, Homebridge UI, and plugin updates can be selected independently. This allows you for example, to ignore available Homebridge, Homebridge UI available updates if you are running Homebridge in a Docker container and wish to only update these components when a new Docker image is available.