esphome / esphome/feature-requests

[REQUEST] ESPHome firmware as a Zigbee to MQTT bridge/gateway on hardware like ITead Sonoff Zigbee Bridge (Sonoff ZBBridge)

Open
#681 6 comments 47 reactions 0 assignees View on GitHub
Type: UART
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Please consider making ESPHome firmware as a Zigbee Gateway to MQTT-bridge on hardware like example ITead Sonoff Zigbee Bridge (Sonoff ZBBridge), i.e. features to use ESPHome with Zigbee Coordinator radio and a native Zigbee Gateway implementation to allow connect Zigbee devices and then bridging them to expose those devices via MQTT.

As a proof-of-concept the Zigbee2Tasmota (a.k.a. Z2T, Tasmota-to-Zigbee) project can already do this, see::

* https://tasmota.github.io/docs/Zigbee/

The original inspiration for this request is that Itead has just launched "Sonoff ZBBridge" as an very inexpensive Zigbee Bridge/gateway which combines ESP32 SoC with a Zigbee Coordinator chip, and then came ZB-GW03 eWeLink Ethernet Zigbee Gateway which was now hacked with ESPHome and Tasmota so can be used via MQTT or as a remote Zigbee Coordinator LAN adapter with Home Assistant’s ZHA integration or Zigbee2MQTT or be used as a full all-in-one Zigbee Gateway to MQTT bridge implementation using the above mentioned Zigbee2Tasmota (a.k.a. Z2T, Tasmota-to-Zigbee) project:

* https://community.home-assistant.io/t/zb-gw03-ewelink-ethernet-zigbee-gateway-now-hacked-with-esphome-and-tasmota-so-can-be-used-via-mqtt-or-as-a-remote-zigbee-coordinator-lan-adapter-with-home-assistants-zha-integration-or-zigbee2mqtt/341223

**Please describe your use case for this integration and alternatives you've tried:**

The use case is to build a stand-alone Zigbee-gateway to MQTT-bridge using ESPHome on a ESP32 with a Zigbee radio, and to achieve that you would need to run the whole Zigbee stack and the Zigbee gateway application implementation natively on the ESP32 as well as a MQTT client to allow you to connect and bridge Zigbee devices to MQTT.

**Additional context**

Update: FYI, that is now also new ESP32-H2 + ESP32-C3 combo development board kit and ESP Thread Boarder Router SDK that can be used as reference hardware. It has as been certified as a Thread Border Router but can also be used as an as Zigbee gateway/hub or bridge (and they also got an optional Ethernet Sub-Board for it):

https://www.cnx-software.com/2023/06/20/espressif-esp-thread-border-router-board-combines-esp32-h2-esp32-c3-wireless-chips/

https://github.com/espressif/esp-thread-br

https://docs.espressif.com/projects/esp-thread-br/en/latest/esp32/

https://www.aliexpress.us/item/1005005688193617.html

PS: An earlier two-board ESP Thread Border Router solution was previously available as an example project for reference:

https://github.com/espressif/esp-idf/tree/master/examples/openthread/ot_br

https://openthread.io/guides/border-router/espressif-esp32

![image](https://github.com/esphome/feature-requests/assets/6320001/c2bac923-ae40-49a5-bfa3-7440d09b14de)

and optional Optional Ethernet Sub Board

![image](https://github.com/esphome/feature-requests/assets/6320001/ffc2eb63-8b50-4a24-8c42-675a29791232)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.