Official Zigbee2MQTT Home Assistant add-on
See the code[!CAUTION] If you're using a Raspberry Pi, ensure you have at least a Raspberry Pi 4, as running it on a Raspberry Pi 3 may cause instability due to its limited resources.
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt and click Add → Close or click the Add repository button below, click Add → Close (You might need to enter the internal IP address of your Home Assistant instance first).
dev branch of Zigbee2MQTT such that you can install the edge version if there are features or fixes in the Zigbee2MQTT dev branch that are not yet released.502: Bad Gateway wait a bit more and refresh the page.USB adapter discovery error (No valid USB adapter found). Specify valid 'adapter' and 'port' in your configuration., we need to fill in the serial section. Format can be found here, but skip the initial serial: indent. e.g.: adapter: zstack
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00
If you don't know the port and you have just one USB device connected to your machine try /dev/ttyACM0 or /dev/ttyUSB0 or /dev/ttyAMA0. Else use the Home Assistant CLI and execute ha hardware info to find out.For more information see the documentation.
data folder (possibly leaving out the logs/ folder)tty device, to create the data folderdata folder contents into /mnt/data/supervisor/homeassistant/zigbee2mqtt, e.g. via scp -O -P 22222 -i PATHTOUSEDSSHKEY ./data/* root@hass:/mnt/data/supervisor/homeassistant/zigbee2mqtt//usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml file:
mqtt (if not needed), advanced/log_syslog, frontend)The format is based on Keep a Changelog.
All notable changes to this project will be documented in the CHANGELOG.md file.
Version for releases is based on Zigbee2MQTT format: X.Y.Z.
Any changes on the app that do not require a new version of Zigbee2MQTT will use the format: X.Y.Z-A where X.Y.Z is fixed on the Zigbee2MQTT release version and A is related to the app.
Edge version will not maintain a CHANGELOG and doesn't have a version.
If you find any issues with the app, please check the issue tracker for similar issues before creating one. If your issue is regarding specific devices or, more generally, an issue that arises after Zigbee2MQTT has successfully started, it should likely be reported in the Zigbee2MQTT issue tracker.
Feel free to create a PR for fixes and enhancements.
If you're submitting a PR and wish to test it locally:

zigbee2mqtt container interactively.docker exec -it $(docker ps | grep zigbee2mqtt | cut -d" " -f 1) /bin/sh
vi node_modules/zigbee-herdsman-converters/converters/toZigbee.js
zigbee2mqtt containerdocker restart $(docker ps | grep zigbee2mqtt | cut -d" " -f 1)
2,808 followers · starred Aug 2024
56 followers · starred May 2022
310 followers · starred Sep 2021
2,999 followers · starred Feb 2024
Official Zigbee2MQTT Home Assistant add-on
See the code[!CAUTION] If you're using a Raspberry Pi, ensure you have at least a Raspberry Pi 4, as running it on a Raspberry Pi 3 may cause instability due to its limited resources.
https://github.com/zigbee2mqtt/hassio-zigbee2mqtt and click Add → Close or click the Add repository button below, click Add → Close (You might need to enter the internal IP address of your Home Assistant instance first).
dev branch of Zigbee2MQTT such that you can install the edge version if there are features or fixes in the Zigbee2MQTT dev branch that are not yet released.502: Bad Gateway wait a bit more and refresh the page.USB adapter discovery error (No valid USB adapter found). Specify valid 'adapter' and 'port' in your configuration., we need to fill in the serial section. Format can be found here, but skip the initial serial: indent. e.g.: adapter: zstack
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00
If you don't know the port and you have just one USB device connected to your machine try /dev/ttyACM0 or /dev/ttyUSB0 or /dev/ttyAMA0. Else use the Home Assistant CLI and execute ha hardware info to find out.For more information see the documentation.
data folder (possibly leaving out the logs/ folder)tty device, to create the data folderdata folder contents into /mnt/data/supervisor/homeassistant/zigbee2mqtt, e.g. via scp -O -P 22222 -i PATHTOUSEDSSHKEY ./data/* root@hass:/mnt/data/supervisor/homeassistant/zigbee2mqtt//usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml file:
mqtt (if not needed), advanced/log_syslog, frontend)The format is based on Keep a Changelog.
All notable changes to this project will be documented in the CHANGELOG.md file.
Version for releases is based on Zigbee2MQTT format: X.Y.Z.
Any changes on the app that do not require a new version of Zigbee2MQTT will use the format: X.Y.Z-A where X.Y.Z is fixed on the Zigbee2MQTT release version and A is related to the app.
Edge version will not maintain a CHANGELOG and doesn't have a version.
If you find any issues with the app, please check the issue tracker for similar issues before creating one. If your issue is regarding specific devices or, more generally, an issue that arises after Zigbee2MQTT has successfully started, it should likely be reported in the Zigbee2MQTT issue tracker.
Feel free to create a PR for fixes and enhancements.
If you're submitting a PR and wish to test it locally:

zigbee2mqtt container interactively.docker exec -it $(docker ps | grep zigbee2mqtt | cut -d" " -f 1) /bin/sh
vi node_modules/zigbee-herdsman-converters/converters/toZigbee.js
zigbee2mqtt containerdocker restart $(docker ps | grep zigbee2mqtt | cut -d" " -f 1)
2,808 followers · starred Aug 2024
56 followers · starred May 2022
310 followers · starred Sep 2021
2,999 followers · starred Feb 2024