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": [
{
"name": "PluginUpdate",
"sensorType": "contact",
"checkHomebridgeUpdates": false,
"checkHomebridgeUIUpdates": false,
"checkPluginUpdates": true,
"checkDockerUpdates": true,
"forceNcu": false,
"platform": "PluginUpdate"
}
]
- "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
) - "checkHomebridgeUpdates": Check if an update is available for the Homebridge server
- "checkHomebridgeUIUpdates: Check if an update is available for the Homebridge UI
- "checkPluginUpdates": Check if updates are available for any installed plugins
- "checkDockerUpdates": If running in Docker, check if newer Docker versions are available. If not running in Docker, does nothing
- "forceNcu": Force use of npm-check-updates instead of homebridge-config-ui-x. (Default:
false
)
Homebridge, Homebridge UI, plugin, and Docker 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.