Does mqtt auto discovery support this Sonoff sensor

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

Moderator: leecollings

Post Reply
jack100
Posts: 18
Joined: Wednesday 08 March 2017 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Does mqtt auto discovery support this Sonoff sensor

Post by jack100 »

Hi all,

Does mqtt auto discovery in domoticz support the sonoff SNZB-02 temperatue/humidity sensor?
I paired this sensor at my tasmota sonoff ZbBridge. I see the values in the main menu of the sonoff zbbridge.
But in domoticz at mqtt auto discovery I see no device.

Sonoff ZbBridge
SNZB-02
🕗07m
☀️ 19.5°C 💧 58%

Zigbee: EZSP v6.7.8.0
Tasmota 12.3.1 by Theo Arends

Domoticz version.
Version: 2024.4
Build Hash: 731719420
Compile Date: 2024-01-30 09:16:34
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Oct 11 2023, 09:51:27) [GCC 8.3.0]

Grtz,
Jack
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Does mqtt auto discovery support this Sonoff sensor

Post by waltervl »

First invest time if this bridge flashed with Tasmota supports MQTT AD.
See wiki https://www.domoticz.com/wiki/MQTT_AD_Report_Problems for some examples of the protocol.

Better buy a Sonoff USB dongle or flash the bridge with zigbee2mqtt supported firmware (if exists).

Edit:: see also https://www.domoticz.com/forum/viewtopic.php?t=39775 with a failed attempt.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jack100
Posts: 18
Joined: Wednesday 08 March 2017 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Does mqtt auto discovery support this Sonoff sensor

Post by jack100 »

In the console of the sonof zbbridge I see this from the sonoff sensor.

21:42:18.518 MQT: tele/tasmota_E19131/SENSOR = {"ZbReceived":{"0x6C98":{"Device":"0x6C98","Name":" SNZB-02","Humidity":67.48,"Endpoint":1,"LinkQuality":123}}}
21:42:28.555 MQT: tele/tasmota_E19131/SENSOR = {"ZbReceived":{"0x6C98":{"Device":"0x6C98","Name":" SNZB-02","Temperature":19.94,"Endpoint":1,"LinkQuality":120}}}

How get I this values in domoticz.

Jack
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Does mqtt auto discovery support this Sonoff sensor

Post by waltervl »

The short answer is: Throw away that bridge and buy another Sonoff USB Zigbee Coordinator and use zigbee2MQTT to map your zigbee devices to Domoticz. https://www.domoticz.com/wiki/Zigbee2MQTT

The other answer is (with a lot of research by yourself as this will be a learning curve!)
1. try to setup Tasmota rules to send data to domoticz with Domoticz API > check tasmota documentation
2. use mqttmapper plugin to map tasmota MQTT messages to Domoticz. > install mqttmapper plugin and setup transformation rules.
3. Connect your zbridge to zigbee2MQTT > check Zigbee2MQTT documentation.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
jack100
Posts: 18
Joined: Wednesday 08 March 2017 21:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Does mqtt auto discovery support this Sonoff sensor

Post by jack100 »

Yes, it's better.

I will buy the Sonoff zigbee 3.0 usb dongle plus zbdongle-P.
A good choice?

Thank!
Jack
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Does mqtt auto discovery support this Sonoff sensor

Post by waltervl »

yes that dongle works just fine with zigbee2mqtt (and other integrations)!
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest