Hi
Has anyone managed to get the Sonoff Zigbee Bridge working with Domoticz at all (or via NodeRED, etc)?
I've got one and re-flashed it with the tasmota-zbbridge firmware and that's all working, but I really don't fancy trying to code everything in NodeRED to read and update the devices.
I've looked at the Domoticz plugin for sonoff tasmota and that doesn't look like it will do the job as it seems to assume that the sonoff device just has one or two switches, whereas the bridge presents many devices, which also means the tasmota built-in domoticz integrations won't work either.
Thoughts?
Sonoff Zigbee Bridge?
Moderator: leecollings
-
- Posts: 49
- Joined: Tuesday 17 January 2017 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: Sonoff Zigbee Bridge?
Did anyone managed to get it working without reflashing it?
-
- Posts: 4
- Joined: Sunday 08 November 2020 19:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff Zigbee Bridge?
Good afternoon:
Have you somehow managed it without NODORed?
With a Snifer MQTT I see the plot:
tele/zigbeeBrigge/SENSOR = {"ZbReceived":{"0x09CC":{"Device":"0x09CC","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
tele/zigbeeBridge/SENSOR = {"ZbReceived":{"0x6DB4":{"Device":"0x6DB4","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
I've seen in another thread that you can create a rule in Tasmota console, but it doesn't do anything ...
Rule1 ON ZbReceived#0x6DB4#Occupancy=1 DO publish domoticz/in {"idx":23, "nvalue":1} ENDON
Rule1 1
Rule2 ON ZbReceived#0x09CC#Occupancy=1 DO publish domoticz/in {"idx":24, "nvalue":1} ENDON
Rulle2 1
Thanks in advance
Have you somehow managed it without NODORed?
With a Snifer MQTT I see the plot:
tele/zigbeeBrigge/SENSOR = {"ZbReceived":{"0x09CC":{"Device":"0x09CC","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
tele/zigbeeBridge/SENSOR = {"ZbReceived":{"0x6DB4":{"Device":"0x6DB4","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
I've seen in another thread that you can create a rule in Tasmota console, but it doesn't do anything ...
Rule1 ON ZbReceived#0x6DB4#Occupancy=1 DO publish domoticz/in {"idx":23, "nvalue":1} ENDON
Rule1 1
Rule2 ON ZbReceived#0x09CC#Occupancy=1 DO publish domoticz/in {"idx":24, "nvalue":1} ENDON
Rulle2 1
Thanks in advance
-
- Posts: 4
- Joined: Sunday 08 November 2020 19:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff Zigbee Bridge?
JRRDomoticz wrote: ↑Sunday 08 November 2020 19:19 Good afternoon:
Have you somehow managed it without NODORed?
With a Snifer MQTT I see the plot:
tele/zigbeeBrigge/SENSOR = {"ZbReceived":{"0x09CC":{"Device":"0x09CC","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
tele/zigbeeBridge/SENSOR = {"ZbReceived":{"0x6DB4":{"Device":"0x6DB4","Temperature":22.75,"Humidity":81.97,"Endpoint":1,"LinkQuality":47}}}
I've seen in another thread that you can create a rule in Tasmota console, but it doesn't do anything ...
Rule1 ON ZbReceived#0x6DB4#Occupancy=1 DO publish domoticz/in {"idx":23, "nvalue":1} ENDON
Rule1 1
Rule2 ON ZbReceived#0x09CC#Occupancy=1 DO publish domoticz/in {"idx":24, "nvalue":1} ENDON
Rulle2 1
Thanks in advance
Solved:
Tasmota(Zigbee Bridge) To Domoticz
ZbName (SetOption83 0)
Rule1 ON ZbReceived#0x6DB4#Temperature DO var1 %value% ENDON ON ZbReceived#0x6DB4#Humidity DO publish domoticz/in {"idx":24,"svalue":"%var1%;%value%;1"} ENDON
Rule2 ON ZbReceived#0x09CC#Temperature DO var2 %value% ENDON ON ZbReceived#0x09CC#Humidity DO publish domoticz/in {"idx":23,"svalue":"%var2%;%value%;1"} ENDON
-
- Posts: 2
- Joined: Friday 05 February 2021 10:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff Zigbee Bridge?
Hi,
I have tried the same with no luck.
That is my ZIGbee Xiaomi Aquara temp sensor:
zigbee2mqtt/SENSOR = {"ZbReceived":{"0x021A":{"Device":"0x021A","Name":"Temp_Salon","Temperature":21.99,"Humidity":43.48,"Pressure":1003,"PressureScale":-1,"PressureScaledValue":10032,"SeaPressure":1003,"Endpoint":1,"LinkQuality":181}}}
10:00:48 ZIG: ZbZCLRawReceived: {"0x021A":{"0403/0000":1003,"0403/0014":-1,"0403/0010":10032,"Endpoint":1,"LinkQuality":181}}
On Sonoff ZbBridge cmd ->
Rule1 ON ZbReceived#0x021A#Temperature DO var1 %value% ENDON ON ZbReceived#0x021A#Humidity DO publish domoticz/in {"idx":63,"svalue":"%var1%;%value%;1"} ENDON
*idx 63 is my Domoticz temp&hum sensor.
When i check mosquitto_sub -h localhost -v -t domoticz/in I don't have any message from zigbee bridge and I don't have any message in tasmota console for zbrige neither.
But if I run the mosquitto_sub -h localhost -v -t zigbee2mqtt/SENSOR on Raspberry I can see the message without any problem.
So the problem is as if RULE 1 doesnt convert the message from 0x021A device to domoticz/in.
I have tried the same with no luck.
That is my ZIGbee Xiaomi Aquara temp sensor:
zigbee2mqtt/SENSOR = {"ZbReceived":{"0x021A":{"Device":"0x021A","Name":"Temp_Salon","Temperature":21.99,"Humidity":43.48,"Pressure":1003,"PressureScale":-1,"PressureScaledValue":10032,"SeaPressure":1003,"Endpoint":1,"LinkQuality":181}}}
10:00:48 ZIG: ZbZCLRawReceived: {"0x021A":{"0403/0000":1003,"0403/0014":-1,"0403/0010":10032,"Endpoint":1,"LinkQuality":181}}
On Sonoff ZbBridge cmd ->
Rule1 ON ZbReceived#0x021A#Temperature DO var1 %value% ENDON ON ZbReceived#0x021A#Humidity DO publish domoticz/in {"idx":63,"svalue":"%var1%;%value%;1"} ENDON
*idx 63 is my Domoticz temp&hum sensor.
When i check mosquitto_sub -h localhost -v -t domoticz/in I don't have any message from zigbee bridge and I don't have any message in tasmota console for zbrige neither.
But if I run the mosquitto_sub -h localhost -v -t zigbee2mqtt/SENSOR on Raspberry I can see the message without any problem.
So the problem is as if RULE 1 doesnt convert the message from 0x021A device to domoticz/in.
-
- Posts: 2
- Joined: Friday 05 February 2021 10:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff Zigbee Bridge?
Problem solved! I did not see that Rule1 = OFF so at the end of line I have added "Rule1 1"
Rule1 ON ZbReceived#0x021A#Temperature DO var1 %value% ENDON ON ZbReceived#0x021A#Humidity DO publish domoticz/in {"idx":63,"svalue":"%var1%;%value%;1"} ENDON Rule1 1
Rule1 ON ZbReceived#0x021A#Temperature DO var1 %value% ENDON ON ZbReceived#0x021A#Humidity DO publish domoticz/in {"idx":63,"svalue":"%var1%;%value%;1"} ENDON Rule1 1
-
- Posts: 1
- Joined: Friday 05 February 2021 11:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff Zigbee Bridge?
Ok, i solved problem for myself:
If got Mijia Light Sensor ZigBee 3.0 + SONOFF ZBBridge (Tasmota)
Console gives me:
If got Mijia Light Sensor ZigBee 3.0 + SONOFF ZBBridge (Tasmota)
Console gives me:
I write this rule:11:35:25.492 MQT: tele/ZbBridge/SENSOR = {"ZbReceived":{"0xC5F2":{"Device":"0xC5F2","Name":"Illumination_sensor","Illuminance":29996,"Endpoint":1,"LinkQuality":123}}}
Console answers:Rule1 ON ZbReceived#0xC5F2#Illuminance DO publish domoticz/in {"idx":69,"nvalue":0,"svalue":"%value%"} ENDON
Rule1 1
Domoticz log shows:RUL: ZBRECEIVED#0XC5F2#ILLUMINANCE performs "publish domoticz/in {"idx":69,"nvalue":0,"svalue":"29996"}"
MQT: domoticz/in = {"idx":69,"nvalue":0,"svalue":"29996"}
Later i'll try this for Temperature/Humidity sensorMQTT: Topic: domoticz/in, Message: {"idx":69,"nvalue":0,"svalue":"29996"}
-
- Posts: 17
- Joined: Saturday 04 May 2019 11:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V 2020.2
- Location: the Netherlands
- Contact:
Re: Sonoff Zigbee Bridge?
HarleyK thanks for this info I finally got my Miija Light Sensor working.
-
- Posts: 112
- Joined: Thursday 08 December 2022 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: ROMANIA
- Contact:
Re: Sonoff Zigbee Bridge?
my console show this:
tele/ZbBridge/SENSOR = {"ZbReceived":{"0x7EFB":{"Device":"0x7EFB","Temperature":23.66,"Endpoint":1,"LinkQuality":40}}}
tele/ZbBridge/SENSOR = {"ZbReceived":{"0x7EFB":{"Device":"0x7EFB","Humidity":95.82,"Endpoint":1,"LinkQuality":40}}}
it's about a SNZB-02 SONOFF TEMP/HUM senzor.
i'm not able to make the rule.
cand somebody help me?
i use this :
Rule1 ON ZbReceived#0x7EFB#Occupancy=1 DO publish domoticz/in {"idx":98, "nvalue":1} ENDON
Rule1 1
but no succes.
tele/ZbBridge/SENSOR = {"ZbReceived":{"0x7EFB":{"Device":"0x7EFB","Temperature":23.66,"Endpoint":1,"LinkQuality":40}}}
tele/ZbBridge/SENSOR = {"ZbReceived":{"0x7EFB":{"Device":"0x7EFB","Humidity":95.82,"Endpoint":1,"LinkQuality":40}}}
it's about a SNZB-02 SONOFF TEMP/HUM senzor.
i'm not able to make the rule.
cand somebody help me?
i use this :
Rule1 ON ZbReceived#0x7EFB#Occupancy=1 DO publish domoticz/in {"idx":98, "nvalue":1} ENDON
Rule1 1
but no succes.
Who is online
Users browsing this forum: No registered users and 1 guest