Zigbee2mqtt and sonoff bridge

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Zigbee2mqtt and sonoff bridge

Post by ssk17051980 »

Hello
I have a domoticz version 2022 . 2 automation installed on a raspberry 4, 8 gb. I tried to install a SNZB-02 sensor using a Sonoff bridge on which I put the tasmota. the zigbee sensors are seen in the router's tasmota menu, but I can't see them in domoticz. I use the zigbee2mqtt plugin. I am attaching some print screens.


i see that the service of zigbee2mqtt is not start.

i use this tutorial:

cd domoticz/plugins/zigbee2mqtt
git pull
Attachments
Untitled.jpg
Untitled.jpg (136.52 KiB) Viewed 2045 times
3.jpg
3.jpg (128.47 KiB) Viewed 2045 times
2.jpg
2.jpg (148.65 KiB) Viewed 2045 times
User avatar
waltervl
Posts: 6678
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by waltervl »

This is the either a Sonoff tasmota issue or a zigbee2mqtt issue.
So first start there. Where did you read that this bridge is supported by zigbee2mqtt?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by ssk17051980 »

to be honest, I assumed it was compatible. maybe a colleague can tell me if this combination was successful. domoticz, sonoff bridge, SNZB-02.
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by hoeby »

Did you setup the correct mqtt topic name in the tasmota?
The default topic name which tasmota uses, doesn't work. The tasmota will send messages, but domoticz doesn't do anything with it, because of this topic name.

And what kind of sonoff bridge do you have, sonoff has a few different designs. And not all designs are supported by zigbee2mqtt
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by hoeby »

Als read the information in this thread, maybe it answers your questions.

viewtopic.php?t=33841&start=26
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by ssk17051980 »

hoeby wrote: Tuesday 17 January 2023 6:51 Did you setup the correct mqtt topic name in the tasmota?
The default topic name which tasmota uses, doesn't work. The tasmota will send messages, but domoticz doesn't do anything with it, because of this topic name.

And what kind of sonoff bridge do you have, sonoff has a few different designs. And not all designs are supported by zigbee2mqtt
i use Sonoff zigbee bridge pro.
corect mqqt topic.
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by hoeby »

If i am right, the sonoff bridge pro is not supported by zigbee2mqtt.

If you want to use it, you have to add rules in your tasmota console, that it sends the correct format mqtt message.
But you are limited on rules, they can't be added unlimited.
Or go for the nodered option, which i use with my sonoff bridge (not pro) (see other thread link)

Like Walter said in the other thread.
If you want to use a supported solution, take a usb-dongle which is supported.
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by ssk17051980 »

Thanks for the solution.
theoretically, only 5 SNZB-02 temperature sensors will be connected to this zibgee. If the bridge can support 5 rules, it would be perfect. Do you have any idea what usb-dongle works for sure? my NODE-RED level is below sea level :D
User avatar
waltervl
Posts: 6678
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by waltervl »

Check the zigbee2mqtt documentation for supported coordinators https://www.zigbee2mqtt.io/guide/adapters/#recommended
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
ssk17051980
Posts: 112
Joined: Thursday 08 December 2022 22:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: ROMANIA
Contact:

Re: Zigbee2mqtt and sonoff bridge

Post by ssk17051980 »

thx to all.

i just ordered SONOFF Zigbee 3.0 USB Dongle Plus ZBDongle-P.

i try to make work the sonoff zigbee bridge whit some rulles but i did'n make'it
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest