Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
Go to file
2020-06-29 16:16:16 +02:00
.github Update ISSUE_TEMPLATE.md 2020-04-11 16:43:54 +02:00
.vscode Update Invalid rename message format expected to be proper json (#3397) 2020-04-20 19:38:55 +02:00
data Dont add advanced configuration by default. 2018-05-24 20:19:04 +02:00
docker Add possibility to override execution command at runtime (#3722) 2020-06-13 13:20:41 +02:00
images Add more logo variants. https://github.com/Koenkk/zigbee2mqtt/issues/2171 2019-10-20 21:56:11 +02:00
lib Implement external converters (#3810) 2020-06-29 16:16:16 +02:00
scripts npm ci. https://github.com/Koenkk/zigbee2mqtt/issues/2918 2020-02-13 21:31:14 +01:00
test Implement external converters (#3810) 2020-06-29 16:16:16 +02:00
.dockerignore Bump alpine to 3.10 and other docker improvements. 2019-09-29 21:55:40 +02:00
.eslintignore Zigbee-herdsman (#1945) 2019-09-09 19:48:09 +02:00
.eslintrc.json Lint. 2019-06-23 16:10:44 +02:00
.gitignore Load extensions from data directory. https://github.com/Koenkk/zigbee2mqtt/issues/3297 2020-04-19 20:08:24 +02:00
.npmignore Add necessary changes for NPM publishing (#3021) 2020-02-28 21:59:01 +01:00
.npmrc Add .npmrc 2018-07-03 18:57:36 +02:00
azure-pipelines.yaml Update azure-pipelines.yaml 2020-05-08 17:05:20 +02:00
index.js Zigbee-herdsman (#1945) 2019-09-09 19:48:09 +02:00
LICENSE Initial commit 2017-09-27 16:38:22 +03:00
npm-shrinkwrap.json Update herdsman and converters 2020-06-28 18:31:21 +02:00
package.json Update herdsman and converters 2020-06-28 18:31:21 +02:00
README.md Add a brief internal architecture description. (#3639) 2020-05-30 16:03:57 +02:00
update.sh npm ci. https://github.com/Koenkk/zigbee2mqtt/issues/2918 2020-02-13 21:31:14 +01:00



Zigbee2mqtt 🌉 🐝

Allows you to use your Zigbee devices without the vendors bridge or gateway.

It bridges events and allows you to control your Zigbee devices via MQTT. In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using.

Getting started

The documentation provides you all the information needed to get up and running! Make sure you don't skip sections if this is your first visit, as there might be important details in there for you.

If you aren't familiar with Zigbee terminology make sure you read this to help you out.

Integrations

Zigbee2mqtt integrates well with (almost) every home automation solution because it uses MQTT. However the following integrations are worth mentioning:

Home Assistant

Domoticz


Architecture

Architecture

Internal Architecture

Zigbee2mqtt is made up of three modules, each developed in its own Github project. Starting from the hardware (adapter) and moving up; zigbee-herdsman connects to your Zigbee adapter an makes an API available to the higher levels of the stack. For e.g. Texas Instruments hardware, zigbee-herdsman uses the TI zStack monitoring and test API to communicate with the adapter. Zigbee-herdsman handles the core Zigbee communication. The module zigbee-herdsman-converters handles the mapping from individual device models to the Zigbee clusters they support. Zigbee clusters are the layers of the Zigbee protocol on top of the base protocol that define things like how lights, sensors and switches talk to each other over the Zigbee network. Finally, the zigbee2mqtt module drives zigbee-herdsman and maps the zigbee messages to MQTT messages. Zigbee2mqtt also keeps track of the state of the system. It uses a database.db file to store this state; a text file with a JSON database of connected devices and their capabilities.

Supported devices

See Supported devices to check whether your device is supported. There is quite an extensive list, including devices from vendors like Xiaomi, Ikea, Philips, OSRAM and more.

If it's not listed in Supported devices, support can be added (fairly) easy, see How to support new devices.

Support & help

If you need assistance you can check opened issues. Feel free to help with Pull Requests when you were able to fix things or add new devices or just share the love on social media.