# Sonoff ZBridge Pro
# Hardware & Manuals
#### **Packaging**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/top.jpg)[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/bottom.jpg)
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/left.jpg)
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/right.jpg)
#### **Content**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/overview.jpg)
1x Quickstart Guide ([quick\_start\_guide\_zigbee\_bridge\_pro.pdf](https://bookstack.greinet.com/attachments/357))
1x Reset Pin
1x MicroUSB Cable
1x Sonoff ZigBee Bridge Pro
#### **Manuals**
- [product\_spezification\_zigbee\_bridge\_pro.pdf](https://bookstack.greinet.com/attachments/360)
- [user\_manual\_zigbee\_bridge\_pro.pdf](https://bookstack.greinet.com/attachments/361)
# Flash Tasmota
#### **Step 1: Open ZbBrige Pro**
[c](https://bookstack.greinet.com/uploads/images/gallery/2023-07/zbridge-bottom.jpg)
Remove the rubber feets by using e.g. a scalpel at the bottom and unscrew the 4 small phillips screws beneath.
#### **Step 2: Prepare board**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/zbridge-board-top.png)
Solder 5 pins to the GND, GPIO0, RX,TX and 3V pinholes.
#### **Step 3: Connect USB-to-TTL adapter**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/zbridge-ttl-adapter-connect.png)
Connect using the following layout:
**ZbBridge** | **USB-to-TTL adapter** |
3V3 | 3V3
|
TX | RX |
RX | RX |
GPIO0 | GND |
GND | GND |
#### **Step 4: Flash Tasmota**
**Option 1: Webinterface**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/tasmota-web-install.png)
Go to the [Tasmota install website](https://tasmota.github.io/install/) and select the options T**asmota32 Sonoff-ZigbeeBridgePro** and **All**, press connect and flash the firmware.
**Option 2: Manual install via Tasmotizer (not verified)**
[](https://bookstack.greinet.com/uploads/images/gallery/2023-07/tasmotizer.png)
Download the newest version of the Tasmota firmware for Zigbee Bridge Pro and flash using the Tasmotizer application ([tasmotizer-1.2.exe](https://bookstack.greinet.com/attachments/359)).
(Used version at date of creation: [tasmota32-zbbrdgpro.bin](https://bookstack.greinet.com/attachments/358))
#### **Step 5: Flash ZigBee Coordinator**
Plug in the device and head over to the Tasmota web interface. Then continue to **Consoles** > **Berry Scripting console** and input the following to very the flash files for the ZigBee Coordinator chip:
```JavaScript
import sonoff_zb_pro_flasher as cc
cc.load("SonoffZBPro_coord_20220219.hex")
cc.check()
```
After getting a positive verification response contine to flash with the following command:
```JavaScript
cc.flash()
```
Now the Tasmota will become unresponsive for approximately 5 minutes, after that yet again a positive response should appear in the console (you might need to reload the website). Then restart the Tasmota device and head into the normal console, there should be messages regarding the ZigBee device now.
#### **Step 6: Configure template**
As a last step go to **Configuration** > **Auto configuration** and select and apply the **Sonoff ZBPro** configuration.
##### **Credits**
I followed [Julian Decker's installation guid](https://atlane.de/sonoff-zigbee-bridge-pro-tasmota-flashing-und-homeassistant-integration/)e closely for the most parts, so have a look there if you need more detailed information.
# Using Tasmota
#### **Pair and name devices**
Using the Tasmota web interface, press **Zigbee Permit Join** to allow new devices to be paired. Now you can pair your new device and it will show up in the list with a name like **0x8C19**. To more easily identify the devices later on, copy the name and head to the Tasmota console. Their use the following command to set a friendly name for the device.
```HTML
ZbName 0x8C19,osram_bulb
```
#### **Group devices**
You can assign a group ID (default: 0) for each device to control multiple devices simulaneously.
```
ZbSend {"device":"osram_bulb","Send":{"AddGroup":100}}
```
#### **Send values to devices**
With the console you can also control your devices by sending values manually.
```
zbsend {"device":"0x96A2","send":{"power":true}}
```
Or control a whole group of devices.
```
zbsend {"group":"100","send":{"power":true}}
```
Device ID | Name | Group | Label |
0x6CAD | aqara-rocker-switch-1-ZB | 0 | Aqara\_Rocker\_Switch\_Zigbee |
0x9685 | osram\_smartplus\_bulb\_1\_ZB | 100 | 1 |
0x452B | osram\_smartplus\_bulb\_2\_ZB | 100 | 2 |
0x3679 | osram\_smartplus\_bulb\_3\_ZB | 100 | 3 |
0xC5E5 | osram\_smartplus\_bulb\_4\_ZB | 100 | 4 |
```C++
Rule1
on ZbReceived#?#Name do var1 %value% endon
on ZbReceived#?#Power do Publish stat/zbridge_pro/%var1%/power "%value%" endon
on ZbReceived#?#Dimmer do Publish stat/zbridge_pro/%var1%/dimmer "%value%" endon
Rule3
on ZbReceived#?#Name do var1 %value% endon
on ZbReceived#?#Click do publish stat/zbridge_pro/%var1%/click %value% endon
```
# Current Setup
**Device list**
Device ID | Name | Group | Label |
0x6CAD | aqara-rocker-switch-1-ZB | 0 | Aqara\_Rocker\_Switch\_Zigbee |
**Tasmota Rules**
```C++
Rule1
on ZbReceived#?#Name do var1 %value% endon
on ZbReceived#?#Power do Publish stat/zbridge_pro/%var1%/power "%value%" endon
on ZbReceived#?#Dimmer do Publish stat/zbridge_pro/%var1%/dimmer "%value%" endon
Rule3
on ZbReceived#?#Name do var1 %value% endon
on ZbReceived#?#Click do publish stat/zbridge_pro/%var1%/click %value% endon
```