Replies: 12 comments 69 replies
-
Btw, I wrote these sections for Home Assistant's ZHA integration documentation to emphasize the importance of Zigbee routers: Using router devicesZigbee uses mesh networking at the core of its architecture design and adding devices capable of acting as Zigbee router (sometimes also known as Zigbee signal repeaters or extenders) is very important because they increasing the total number of Zigbee devices that your Zigbee coordinator can control in its network as well as having an integral role in extending the overall range and coverage of your Zigbee network mesh. The fact is that without having at least a couple of good Zigbee router devices available you will normally not have a stable Zigbee network. The total number of Zigbee devices that you have on a Zigbee network depends on a few things, but you should know that Zigbee coordinator hardware and firmware usually only start to play a larger role once you have around 40 devices or more in your Zigbee mesh network. More important is how many directly connected devices ("direct children") versus how many routers are and can be connected to your Zigbee coordinator. Each type and model of Zigbee coordinator also gave a different limit for how many child devices can connect directly to it. Even if that limit is low on your Zigbee coordinator if your Zigbee coordinator hardware is powerful and its firmware capable of it then you can still have a total of hundreds or even thousands of Zigbee devices as long as they are indirectly connected through a mesh network with Zigbee router devices instead. The least powerful Zigbee coordinator hardware supported by Zigpy is CC2530/2531 and its default firmware only supports 15 devices connected directly to the coordinator. However, by having a backbone of good always-on Zigbee routers in your Zigbee network, the mesh network size can be extended exponentially. You can assume that most, if not all mains-powered/AC-powered devices, e.g., wall-plugs and always powered-on lightbulbs in your Zigbee network can serve as a Zigbee router and can typically each act as a router for around 5 additional end devices, while some dedicated Zigbee router devices can each act as a router for as many as 50 devices. You can for example use a DIY CC2530/CC2531 with router firmware which have a limit of 21 devices, while a DIY CC2652P/CC2652R with router firmware which have a limit of 50 devices, or the IKEA TRÅDFRI Signal Repeater which can route about 10-20 devices. An example using a CC2531 with default coordinator firmware + two CC2531 routers; Your Zigbee network device limit will be:
As an comparison example, using a CC2652 with default coordinator firmware + two CC652 routers; Your Zigbee network device limit will be:
Improving Zigbee network rangeLow signal quality can lead to transmission errors and related issues. This section has a list of fundamental tips on how to improve signal quality. Improving signal quality also maximizes range and resolves most problems related to transmission errors. Please try to follow at least some of these recommendations before posting on the community forums or reporting issues to developers and submitting debug logs.
|
Beta Was this translation helpful? Give feedback.
-
Did someone create a Zigbee router firmware build for the EFR32MG21? If so, I'd expect it to be possible to flash from Tasmota, but the current NCP firmware made available for Z2T was not created within the Tasmota project. |
Beta Was this translation helpful? Give feedback.
-
This has been discussed several times already. While ZNP gives a simple way to change from coordinator to router, EZSP needs more work. It should be doable with the current EZSP version in ZBBrdige, but I won't spend time on it. The simple reason is that you can easily find Zigbee routers in almost any Zigbee plug or bulb - they are even cheaper than ZBBridge. |
Beta Was this translation helpful? Give feedback.
-
xsp1989 announced the good news is that router firmware will be released soon for Sonoff EFR32MG21 USB dongle, and I believe that uses the same firmware as their Sonoff ZBBridge Zigbee bridge? ITead has by the way now released Silabs EmberZNet 6.10 (v6.10.3) firmware for their EFR32MG21 dongle and could be that this firmware can maybe work on ZBBridge too? https://github.com/xsp1989/zigbeeFirmware/tree/master/firmware/Zigbee3.0_Dongle |
Beta Was this translation helpful? Give feedback.
-
FYI, Zigbee Router firmware for EFR32MG21 adapters/dongles has now been released by @xsp1989 on GitHub. From readme sounds as if as so far been tested with ITead Zigbee 3.0 USB Dongle and an SM-011 based USB adapter. Since the same "SM-011 V1.0" Zigbee radio modules by CoolKit Technologies is also used inside some Zigbee gateways/hubs like the popular ITead Sonoff ZBBridge Zigbee Bridge as well as ZB-GW03 eWeLink Ethernet Zigbee Gateway sold by EACHEN and SmartWise, so could perhaps be that the same Zigbee Router firmware could maybe also be used on the SM-011 Zigbee module in all or some of those products as well? |
Beta Was this translation helpful? Give feedback.
-
@xsp1989 That is awesome! Thank you! Any suggestions for how Tasmota could trigger the joining/pairing mode? Via EZSP or? Do you think Tasmota could send basic serial commands to this Zigbee Router firmware to initiate paring/joining and restart/reset? For reference this request to @xsp1989 for a signed Zigbee Router firmware built for ITead's Sonoff ZBBridge as also discussed in xsp1989's zigbeeFirmware repository on GitHub here -> xsp1989/zigbeeFirmware#2 and also indirectly discussed here -> xsp1989/zigbeeFirmware#16 PS: Have not tried this myself as I got rid of my ITead Sonoff ZBBridge because being WiFi-based it did not work any good as a remote Zigbee Coordinator, but might reconsider buying one if it worked as a Zigbee Router device that can be paired/joined and restarted/reset remotely via Tasmota and/or ESPHome. So that Tasmota/ESPHome is basically only used to initiate virtual join/pair button and restart/reset the device similar to a remote power-cycle it hangs. |
Beta Was this translation helpful? Give feedback.
-
@Hedda https://www.digiblur.com/2022/02/convert-sonoff-zigbee-bridge-to-router-repeater.html |
Beta Was this translation helpful? Give feedback.
-
The same Zigbee Router firmware has now also been tested on ZB-GW03 eWeLink Ethernet Zigbee Gateway which is based on ESP32 and the same "SM-011 V1.0" EFR32MG21 module by CoolKit that ITead uses in their Sonoff ZBBridge Zigbee Bridge: https://github.com/syssi/esphome-zb-gw03/blob/main/docs/router.md ZB-GW03 eWeLink Ethernet Zigbee Gateway ZB-GW03 v1.0 / V1.2 have an RJ-45 Ethernet port and is sold rebranded under many names, including EACHEN and SmartWise brands: |
Beta Was this translation helpful? Give feedback.
-
I am sorry that #9199 has been closed and blocked. Meanwhile I saw also the solution here: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm a bit lost. If the original zbbridge is now flashed as a router, it will not be picked by ZHA as an IP based device via Tasmota. The only way you will see it is as a Zigbee router in the list of zigbee devices |
Beta Was this translation helpful? Give feedback.
-
hi. I'm very new to ZigBee and have a usb stick with EFR32MG21A020F768IM32 ZigBee 3.0 USB Dongle printed on it. Is there a way to convert this to use as a router? |
Beta Was this translation helpful? Give feedback.
-
Have you looked for this feature in other issues and in the docs?
Yes.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
No.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Please consider providing a "Zigbee Router" firmware for EFR32MG21 in Sonoff ZBBridge by ITead as an alternative firmware for it.
Sonoff ZBBridge Zigbee to WiFi bridge can already work as a "Zigbee Coordinator" and gateway/hub with the existing NCP firmware that the Tasmota project provides for the Zigbee radio MCU SoC inside it, but if the project could also provide a "Zigbee Router" firmware for it then users could buy additional Sonoff ZBBridge devices and flash with that alternative firmware in order to use them as Zigbee router devices (sometimes also known Zigbee signal repeaters or Zigbee range extenders).
Sonoff ZBBridge could make a perfect Zigbee Router device due to its low-cost, powerful Zigbee radio, and stand-alone design.
The idea would to be to run Tasmota on its ESP8266 MCU and Silabs EmberZNet Zigbee Router firmware on its EFR32MG21 MCU.
https://www.itead.cc/sonoff-zbbridge.html
https://www.cnx-software.com/2020/07/27/sonoff-zigbee-bridge-tasmota-firmware-home-assistant-zigbee2mqtt/
https://www.cnx-software.com/2020/04/16/sonoff-zbbridge-wifi-to-zigbee-gateway/
Describe alternatives you've considered
Some of the currently popular Zigbee Router alternatives include these:
CC2652P router by tube0013
https://community.home-assistant.io/t/zigbee-router-on-steroids/280896
https://github.com/tube0013/tube_gateways/tree/main/tube_cc_router
https://www.tubeszb.com/product/cc_router/4?cp=true&sa=false&sbp=false&q=false&category_id=3
CC2530 (with CC2591 or CC2592 Power Amplifier) DIY based router as recommended the Zigbee2MQTT community:
https://www.zigbee2mqtt.io/how_tos/how_to_create_a_cc2530_router.html
IKEA Trådfri Signal Repeater
https://www.ikea.com/us/en/p/tradfri-signal-repeater-30400407/
https://www.ikea.com/ca/en/p/tradfri-signal-repeater-30400407/
https://www.ikea.com/gb/en/p/tradfri-signal-repeater-80424255/
Additional context
Add any other context or screenshots about the feature request here.
(Please, remember to close the issue when the problem has been addressed)
Beta Was this translation helpful? Give feedback.
All reactions