Skip to main content

How to Convert the Sonoff Zigbee Bridge into a Router / Repeater

Do you have a Sonoff Zigbee Bridge sitting in the drawer after switching over to the CC2652 series coordinator?  Don't toss it out!  Let's use it as a router/repeater to extend your Zigbee network!  If you haven't already converted it to open source with Tasmota check out this article first.  Already have Tasmota on it?  Let's go!

Open a web browser to the Zigbee Bridge IP address once it is connected to your WiFi network. First, it's not a bad idea to upgrade the firmware on it to the latest stable build of Tasmota.  Verify your OTA URL is using the tasmota-zbridge.bin file as it is required to upload the Zigbee Router firmware.  Use the Firmware Upgrade button on the GUI of the device. 

After it reboots into the latest version; click Configuration then Configure Module.  Select Sonoff ZbBridge (75) and Click Save.  If you do not see this module you need to upgrade to the tasmota-zbbridge.bin file version of Tasmota.

Download the efr32mg21_zigbee_router_signed-6.7.10.gbl.ota from Github (thanks xsp1989).  DO NOT right click and save as Github sends HTML files instead at times. 

Once the device reboots from Module selection above, click Firmware Upgrade; under "Upgrade by file upload" click Choose File and select the ota file downloaded from Github.  Click Start upgrade.

Be patient, it can take a minute or two to finish before saying Successful.

Once the Tasmota GUI is up again, click Consoles then Console.  Do not worry if you see an error about Zbstate something aborted.  This is good!  The router firmware is working!  

Next we need to enable the ability for the GUI and reset button to be used as the device pairing procedure.  Paste the following command into the console all on one line:

backlog template {"NAME":"Sonoff ZigRouter","GPIO":[320,5088,0,5120,257,256,0,0,0,576,0,0,32,0],"FLAG":0,"BASE":18} ; delay1 ; module 0

The bridge should reboot and come back up on the console.  The device is ready to be paired with your Zigbee network.  Go ahead and place it in the desired location of the home and power it up.  Enable pairing on your Zigbee Network as you would normally pair a regular sensor, switch, etc.  NOTE: Zigbee2MQTT users as of this time will need to add a custom file to support this router before pairing (see last section of this guide)

To place the device into pairing mode, simply use a paper clip to briefly push the reset button next to the USB power plug. 

The green LED will light up.  Allow 5-6 seconds to pass and press the button again, this will turn off the green LED and the device will be in pairing mode.

ZHA Users should see something like this

Another method of pairing is to press the "Toggle 1" button on the Tasmota GUI and leave it set to ON for 5-6 seconds then turn it back off.  This is the same as the reset button paper clip push method above. Toggle 2 is the Zigbee chipset reboot button, toggling it will reset the Zigbee chipset, do not leave it set to ON.

That's it! You now have another router on your network!  Congrats!  Check out our latest Zigbee Tips Video if you are bored enough....  https://youtu.be/1dcAXkJxzcY

Zigbee2MQTT Users will need to download this silabs.js file from Github, add it to their Z2M config folder, and add the custom converter to the configuration either via the GUI or YAML file.  This will not be necessary after the device is added into Z2M builds.  

Thanks to xsp1989 for building the firmware and Hedda's friendly nudging!

⚡Products We Use/Recommend

Amazon US - https://amzn.to/2YZNDeO
Amazon UK - https://amzn.to/2TnG2R4
Amazon CA - https://amzn.to/2JWsNq5

⚡Be Social!⚡

YouTube - https://youtube.digiblur.com
Discord Chat - https://discord.digiblur.com
Patreon - https://patreon.digiblur.com
Facebook - https://facebook.digiblur.com
Instagram - https://instagram.digiblur.com
Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you!  As an Amazon Associate I earn from qualifying purchases.