Page 1 of 1
Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 14:44
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
Re: Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 15:11
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.
Re: Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 15:28
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
Re: Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 17:37
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.
Re: Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 17:53
by jack100
Yes, it's better.
I will buy the Sonoff zigbee 3.0 usb dongle plus zbdongle-P.
A good choice?
Thank!
Jack
Re: Does mqtt auto discovery support this Sonoff sensor
Posted: Friday 23 February 2024 18:42
by waltervl
yes that dongle works just fine with zigbee2mqtt (and other integrations)!