Tasmota on Sonoff Zigbee Bridge - Unable to flash zigbee module

I am following the instructions here to flash my Sonoff Zigbee Bridge with Tasmota: Sonoff Zigbee Bridge ZBBridge Zigbee compatibility

Everything goes fine until I get to the part where I flash the zigbee module. I perform the firmware upgrade procedure using the required .ota file (in this case version 6.7.9, though I have tried multiple) but the upgrade gets stuck at “Upload Transfer” and goes no further than this. In the console output I see:

18:22:26.102 UPL: Transfer 192240 bytes
18:22:26.102 UPL: Successful 192240 bytes
18:22:26.114 HTP: Upload transfer

But it gets stuck there and goes no further. I have rebooted and redownloaded the files many times and used different client machines but nothing seems to work. Does anyone know what I am doing wrong?

1 Like

Same story here.
I tried up upgrading from the console two ways:
OtaUrl https://github.com/arendst/Tasmota/raw/b253b344c257a72957d2d23fc99962bfbe5a1e25/tools/fw_SonoffZigbeeBridge_ezsp/ncp-uart-sw_6.7.8_115200.ota
Upgrade 1

and I get “RSL: UPGRADE = {“Upgrade”:“Failed HTTP error: connection failed”}”

also uploded the file to the local storage and tried
OtaUrl file=/ncp-uart-sw_6.7.8_115200.ota
Upgrade 1

I think I cracked it.
Downgrade tasmota to 9.1.0 Tasmota ESP8266 Binaries
upgrade with ncp-uart-sw_6.7.6_115200.ota

I actually found the solution to this in the end. I had to flash an earlier version of Tasmota first, and then it would let me flash the Zigbee module (I used an earlier version of ota file for that as well, just to be safe), then I was able to upgrade both to latest. It seems to break things if you install the latest version of Tasmota over stock Sonoff firmware for some reason.

Can you tell what exact version of Tasmota you used to flash zigbee module? I used manually compiled 9.5.0 by this manual for my ZB-GW03-v1.4 (failed to compile 9.1.0 due to missing libraries, it seems to some old versions of SDK not available anymore in PlatformIO repository) and then flashed zigbee successfully. Then updated to latest unofficial tasmota-zbbridge.

Hi Didim99,
followed the solution from GrimDanFango, I restored first the original Zb Bridge FW with Tasmotizer ( I saved it before). Then again with Tasmotizer burned the 11th version of tasmota-zbbridge.bin.
Connected to WiFi of device, configured the local WIFI. On the WEB interface of device, finally the Zigbee hw was able to flash with “Upgrade by file upload” the efr32mg21_zigbee_router_signed-6.7.10.gbl.ota file to device.

I solved it by following the advice here, downgrade then upgrade. You can do it all from the web interface.

Before starting be sure to open the Tasmota Web Console in a separate browser tab so that you can follow the process from the logs.

  1. Downgrade Tasmota to v11.1.0: In the web interface, click on Firmware Upgrade. Provided that the device is connected to a Wi-Fi network, you can simply use first option Use web server. Put this OTA URL:
http://ota.tasmota.com/tasmota/release-11.1.0/tasmota-zbbridge.bin.gz
  1. After the upgrade completes, download the 6.7.6 zigbee firmware. Go into Firmware Upgrade in Tasmota menu again, but this time use the second Use file upload box to upgrade with the downloaded file. Verify that you see the “XMD: Successfull” message in the logs. If you didn’t see it, you didn’t upgrade it.

  2. Repeat step 1, but this time using the latest firmware URL, to upgrade Tasmota to latest version (15.1.0 at the time of writing):

http://ota.tasmota.com/tasmota/tasmota-zbbridge.bin.gz
  1. Repeat step 2, but this time with the 6.7.8 zigbee firmware. Verify the XMD: Successful message.

These techniques did not work for me. I was lucky in that one of my ESP-12F did flash and I was able to configure it. I don’t know what worked. Some combination of flashing the minimal Tasmota, then the standard Tasmota, erase memory and the flashing the ZBBridge.

But after that, I couldn’t get the second one to flash (grrrrrr)

What I did was installed the ESPTool (python3.14 first) and did a read-flash of the working one and write-flash of the second one…

esptool -p PORT -b 460800 read-flash 0 ALL flash_contents.bin
esptool -p PORT -b 460800 write-flash 0 flash_contents.bin

Seems to be working. I have yet to configure the devices and send data (see link)

Not sending data :frowning:
I have configured the module with
generic (18)
TX GPIO1 TCP Tx
RX GPIO3 TCP Rx
At the console, issued the commands:

TCPBaudRate 115200
TCPStart 8888

(I also tried TCPSTart 8888 with the IP address of the other device)

To the tx, rx and GND pins of the ESP-12F are connected a Serial-to-USB which was connected to my computer.

I started two PuTTY windows, one for each Serial-to-USB device.

When I type in either PuTTY window, nothing is received in the other window. This is the expected response when the two Serial-to-USB devices are connected RX-TX TX-RX

Are my expectations incorrect? How does one make this bridge go?

You’re lucky because I still have access to my old ZBBridge.
Don’t use generic - use SonoffZHABridge

I had followed this (extremely outdated) guide when I set it up and everything went smoothly. Hopefully it’ll work for you How to use the Sonoff Zigbee Bridge with Home Assistant - Tasmota | digiblurDIY

And DON’T update Tasmota, you need that old version. I use one of those bridges for a little test network.