Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 855 Bytes

how-to-switch-to-dev-branch.md

File metadata and controls

37 lines (28 loc) · 855 Bytes

How to switch to the dev branch

The Zigbee2mqtt dev branch contains the latest features, improvements and supported devices. In case you want to try this, you can checkout the dev branch.

NOTE: This branch is a development branch! It could be less stable than the release version!

Bare-metal

# Stop zigbee2mqtt and go to directory
sudo systemctl stop zigbee2mqtt
cd /opt/zigbee2mqtt

# Backup configuration
cp -R data data-backup

# Update
git checkout HEAD -- npm-shrinkwrap.json
git fetch
git checkout dev # Change 'dev' to 'master' to switch back to the release version
git pull
rm -rf node_modules
npm install

# Restore configuration
cp -R data-backup/* data
rm -rf data-backup

# Start zigbee2mqtt
sudo systemctl start zigbee2mqtt

Docker

Use Docker images postfixed with the -dev tag.

Hass.io

Use the edge version.