Assembling a DIY gateway for Zigbee devices

Introduction


While large manufacturers of Zigbee end devices in the struggle for user wallets imitate support for third-party equipment, groups of enthusiasts are studying protocol standards and inventing β€œalternative” omnivorous software and hardware solutions for working with Zigbee devices.


image


The largest impetus for the development of DIY gateways was given by the zigbee2mqtt project . At the time of writing, the project supports 785 devices from 140 manufacturers.


image


AqaraHub( , , , 5 ), ioBroker ( ), Home-assistant ( zigpy, , ). , , .


, zigbee2mqtt , "" . :


  1. raspberry ;
  2. USB , , . - "" , , ;
  3. Node.JS. zigbee2mqtt , ;
  4. .

image


, Aliexpress DIY Zigbee . , , . SLS Zigbee Gateway, . 100 , .


. lua ( MQTT, url POST GET, ). MQTT. , zigbee2mqtt.


MajorDoMo . Home-assistant . discovery home-assistant. HTTP API. BLE.


, , DIY . ZESP. , Zesp ESP32 , .


Tasmota ESP8266 2530.



ESP32-WROVER-B Espressif, WiFi BLE, . Arduino IDE PlatformIO, .


image


Zigbee Texas Instruments 2538 2592. @Jager_f Xiaomi, 800 .


image


. USB, UART. UART .


2538 J-Link modkam.ru.


Raspberry UART.


image


ESP32 2538 2592 :


image


modkam.ru


image


"" () @vofkindt


image


SLS Zigbee ESP32 2530. TI 2538, . .


image


image


, , telegram



zigbee ESP32, zgwABCD, ABCD β€” MAC- ESP32. Wi-Fi.


, , ip . 80 , , http://192.168.1.93.


image


, SLS Zigbee Gateway, GPIO ( Settings -> HW Setup) GPIO. :


image


, Zigbee Zigbee DeviceState: 9 [OK]



zigbee . Zigbee -> Join, mqtt http ( ). , .


image


Zigbee -> Devices


image


Zigbee -> Map


image



mqtt http. mqtt zigbee2mqtt. mqtt Settings -> Link Setup -> MQTT SETUP


image


(Majordomo, home-assistant)


image


image



SLS Zigbee Gateway :


  1. SimpleBind
  2. Lua
  3. Binding Zigbee


Xiaomi . ( zigbee 3) Binding , .. , . SLS β€” SimpleBind. Zigbee, SLS .


( KS-SM001 Ksentry Electronics) WXKG02LM Xiaomi.


image


, , . SimpleBind .


Ikea, Philips, Nue, Gledopto, Trust . . . IKEA ICTC-G-1 zigbee. Binding. () , . . Binding Ikea, Trust, Philips Aqara ZNLDP12LM. - ( ) zigbee.


image
image
image


Bind -.



  1. , ;
  2. Google Home, .;
  3. BLE ESP32;
  4. MODBUS, DALI, DMX, DI-DO, 1-wire, I2C, ;
  5. Zigbee Ethernet ;
  6. .



Group in Telegram


Telegram News Channel


List of supported devices


Review by Alex Kvazis


Where can I buy


Discussion on the forum Majordomo


All Articles