Beta Version - OpenWonderLabs/homebridge-switchbot GitHub Wiki

If you're feeling brave, I also have a beta version, often with new features or code changes that needs testing. There are different methods of updating, based on the platform that you are running Homebridge on.

There is no need to uninstall your current version of the plugin for any of these platforms.

The current versions of the plugin are:

Latest

npm version Node Build

Beta

npm version Node-CI Beta

Homebridge (UI)

You can use the 'Install Previous Version' feature to install a beta version.

Feature Icon

This icon can be used to select a version of the plugin to install. The latest beta version is usually at the top of the list.

Homebridge (Docker)

If Homebridge is installed using Docker use the following commands.

To install the beta version:

docker exec <container-name> npm install @switchbot/homebridge-switchbot@beta

To revert back to the latest stable version:

docker exec <container-name> npm install @switchbot/homebridge-switchbot@latest

Homebridge (CLI)

These commands will only work if you are using a platform which installs plugins globally.

To install the beta, run the following command in your Homebridge terminal.

sudo npm install --unsafe-perm -g @switchbot/homebridge-switchbot@beta

To revert back to the stable version, run the following command in your Homebridge terminal.

sudo npm install --unsafe-perm -g @switchbot/homebridge-switchbot@latest

You will need to restart Homebridge each time you change the version of the plugin.

Feedback

If you experience an issue with the beta package then do create an issue on GitHub and mention that you are using the beta 😄.