Zigbee2MQTT

MQTT broker-2.png

 

zigbee-hub.jpg

In this article, I will be comparing two of the most popular open-source Zigbee gateways: Zigbee2MQTT and ZHA (Zigbee Home Automation). Just like Home Assistant, ZHA uses an open-source Python library, while Zigbee2MQTT is written in JavaScript/TypeScript. Both applications are used for the same purpose, but their setup and integration with Home Assistant differ greatly.

Various large brands and manufacturers are now making and/or selling Zigbee devices like light bulbs, switches and sensors.

Philips, Innr, Ikea, Gledopto, MiBoxer/Tuya

For example: IKEA Tradfri, Philips Hue, Xiaomi / Agara, Trust, Heiman, OSRAM, LEDVANCE, Lutron, Legrand Netatmo,Innr, Gledopto, MiBoxer, SALUS/Computime, Sengled, Schneider Wiser, Tuya, etc..

Zigbee2MQTT

Allows you to use your Zigbee devices without the vendor's 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.

 

Zigbee2MQTT Architecture

z2m-architecture-1.png

Installing Home Assistant  on Raspberry Pi(debian 11 os)

Installing MQTT on Raspberry Pi(debian 11 os)

Installing Zigbee2MQTT  on Zigbee adapter ( SONOFF Zigbee 3.0 USB Dongle Plus)

MQTT broker-1.png

MQTT broker: MQTT is another smart home protocol that pretty much all tools in this space understand.

Zigbee2MQTT Zigbee adapter : This (also open source) software connects your Zigbee network on the one hand (via the Zigbee USB stick) to your MQTT broker;

on the other hand thus bridging the divide between Zigbee and LAN/Wifi.

 

Zigbee2MQTT  on Zigbee adapter ( SONOFF Zigbee 3.0 USB Dongle Plus) need a so called MQTT broker that will store and forward messages from devices. 

 

 

Home Assistant will subscribe to this broker to receive updates from the devices and send messages to them via the broker.

 

 

source:https://github.com/koenkk/zigbee2mqtt

https://zigbee.blakadder.com/iobroker.html

 

hardware - Zigbee adapter

 

Run Zigbee2MQTT on a adapter which with have a chip starting with CC2652 or CC1352

 

One or more Zigbee Devices which will be paired with Zigbee2MQTT.

 

 

SONOFF Zigbee Gateway

SONOFF Zigbee 3.0 USB Dongle Plus Gateway      - CC2652P

SONOFF Zigbee 3.0 USB Dongle Plus V2 Gateway -  model "ZBDongle-E" EFR32MG21

 

Dongle-M

Dongle Plus MG24

SONOFF iHost Smart Home Hub

 

detail:https://dongle.sonoff.tech/guide/zbdongle-p/introduction-2

http://localhost:4999/boards/topic/5300/real-worlddiy-sonoff-zigbee-gateway

 

 

Look for a USB or ethernet device to prevent issues. Zigbee mesh will not require a central location for your Controller

SONOFF Zigbee 3.0 USB Dongle Plus Gateway

SONOFF Zigbee 3.0 USB Dongle Plus Gateway-1.jpg

Base on TI CC2652P + CP2102N

200 children

 

where to buy?

https://www.amazon.com/SONOFF-Gateway-Universal-Assistant-Wireless/dp/B09KXTCMSC/ref=psdc_172504_t1_B01GJ826F8

Price:$35.99

 

ZBDongle-P-Vs-ZBDongle-E.jpg

source:https://itead.cc/product/sonoff-zigbee-3-0-usb-dongle-plus/ref/3/

 

zigbee Devices by Gateways

Zigbee Home Automation
Tasmota
Zigbee2MQTT
deCONZ
Zigbee for Domoticz
ioBroker.zigbee
 
Where to buy?
 
 
https://sonoff.tech/products/sonoff-zigbee-thread-usb-dongle-dongle-plus-mg24
 
 

Where to buy?(china)

CC2652p

taobao

 

connect zbt-1 sky connect dongle

taobao

 

 

 

 

https://zhuanlan.zhihu.com/p/625961502?

https://github.com/koenkk/zigbee2mqtt

Comments


Comments are closed