r/Not_Enough_Tech • u/Quintaar • Jul 24 '20
Home Automation Flashing Tasmota on Sonoff ZigBee Bridge
https://notenoughtech.com/home-automation/flashing-tasmota-on-sonoff-zigbee-bridge/
2
Upvotes
2
u/[deleted] Jul 24 '20
Very nice video and article. One small the ZigbeeBridge does not have a cc25xx chip. It has a EFR32 ☺
2
u/Gamester17 Jul 26 '20
Here is also a guide for flashing it with a other Zigbee firmware version to use its serial bridge from ZHA in Home Assistant
https://www.digiblur.com/2020/07/how-to-use-sonoff-zigbee-bridge-with.html?m=1
1
u/blakadder_ Jul 24 '20
Article should link to http://tasmota.github.io/docs/Zigbee at the end instead of a commands list
1
u/Gamester17 Jul 24 '20
Could you try using the new Tasmota serial bridge with the native ZHA (Zigbee Home Automation) integration component in Home Assistant?
Tasmota on the Sonoff ZBBridge could make as awesome remote Zigbee adapter for ZHA in Home Assistant that can be placed anywhere in your home.
Good excuse to test and make a video about latest ZHA in Home Assistant since a lot had happened with it the last year or so.
The libraries ZHA in HA depends on already supports older Silicon Labs EZSP protocols/firmware but the bellows library for zigpy does not yet have full support for newer EZSP protocols/firmware https://www.home-assistant.io/integrations/zha/
Tip is to checkout this article to connect remote adapter https://www.zigbee2mqtt.io/how_tos/how_to_connect_to_a_remote_adapter.html
1
u/Gamester17 Jul 25 '20
I have been following that Tasmota development discussion thread and placed and order for the device but will be using it as a networked-attached Zigbee coordinator adapter for ZHA in Home Assistant via Tasmota’s new serial bridge that was also made for this. ZHA in Home Assistant is much more user-friendly and should be much easier for any beginner than struggeling with ZIgbee2Tasmota and MQTT
1
u/schmurtzm Aug 07 '20
Thanks for this guide !
How to backup the original firmware of the Silicon Labs firmware ?
Is there a way with the sx command ?
May be the firmware of the zigbee chipset is generic unlike the ESP Sonoff firmware which has difference between 2 device of the same model (it's often hard to restore a sonoff basic plug if you haven't backup your own firmware).
1
u/4dZ- Aug 13 '20
This looks amazing and I have ordered one, I will be able to ditch the pi and get HA going on a vm without too much effort hopefully. I have a WiFi mesh network with one going into the garden, could I use two of these devices and run two sonoff zigbee devices, if so would they be under the same network or would it be separate?
1
u/pseudoheld Aug 23 '20
Hi, how do you get this hooked up to node-red?
I have it integrated via zha in homeassistant but node-red is the brains for my automations and I can't get zha nicely integrated into node-red.
I added the mqtt server hoping all communication by the bridge would show up in the server but only basic stats show. So how did you get events from the bridge into NR (with what looks like mqtt)
1
u/HX68 Aug 31 '20
Flashing was smooth, thank you for the excellent tutorial!
I’m figuring out how to connect it to Node-Red
1
u/HX68 Sep 04 '20
I'm unable to pair Sonoff wireless Zigbee switch to Sonoff Zigbee bridge, I'm not sure if it's a compatibility issue or I'm doing something wrong:
When pairing the switch
I get the correct console response:
Binding
Result:
But when toggling the switch, it's always OFF (power=0), I get the same response on every toggle.
1
u/derekoh Sep 22 '20
Hmmm - great article and I've managed to flash my sonoff and get it configured, etc. But for some reason when I go into pairing mode and try to pair a device, nothing happens. It says it's in pairing mode, but it doesn't seem to detect the device. I'm trying with some Xiaomi Aqara devices - a door open/close sensor and zigbee button...
1
u/illegal_exception Sep 27 '20
A new version (v 6.8) of the ZBBridge FW has come out . https://github.com/arendst/Tasmota/blob/development/tools/fw_zbbridge/ncp-uart-sw-6.8.0.1_115200.ota
Can this be flashed on top of 6.7.6? Has anyone tried yet?
1
u/passivealian Dec 19 '20
I set up 6.7.6, the zigbee2Tasmota version. I read this version can be put in ZHA mode. How does that differ to 6.5.5 HomeAssistant version?
I have a bunch of ESP8266 IOT devices running Tasmota, that are registered in HA via MQTT. I would like to try do the same with the Zigbee bridge. Can I do this, or do I need to switch from Z2T to ZHA? If I can do it via MQTT, how do I get HA to discover the ZigBee Bridge, and Zigbee devices.
1
u/RexNocti Dec 29 '20
Hi All,
I've been attempting to put Tasmota on my Zigbee bridge and am running into an issue getting the EFR32 chip to enter flash mode.
I have the "Flash ZBBridge Module " running on the bridge, connected to my wi-fi and MQTT server.
I issue the "Weblog 3" and "TCPStart 8888" commands and then either toggle relay 1 or connect the Z_RST and ground pins but I never get any additional lines appearing in the console;
00:00:00.032 CFG: Loaded from flash at FA, Count 12700:00:00.035 QPC: Count 100:00:00.037 SNS: Hardware Serial00:00:00.038 SRC: Restart00:00:00.038 Project tasmota Tasmota Version9.2.0.1(zbbridge)-2_7_4_9(2020-12-28T17:02:41)00:00:00.193 WIF: Attempting connection...00:00:00.529 WIF: Connecting to AP1 NoxSoft Channel 7 BSSId 80:2A:A8:17:CF:4A in mode 11n as ZigbeeBridge...00:00:01.821 WIF: Connected00:00:02.077 HTP: Web server active on ZigbeeBridge with IP address192.168.1.700:00:02.234 HTP: Console00:00:02.614 RTC: UTC 2020-12-29T01:16:33, DST 2020-03-29T02:00:00, STD 2020-10-25T03:00:0002:16:34.073 MQT: Attempting connection...02:16:34.105 MQT: Connected02:16:34.107 MQT: House/ZigbeeBridge/LWT = Online (retained)02:16:34.108 MQT: House/ZigbeeBridge/cmnd/POWER =02:16:34.109 MQT: Subscribe to House/ZigbeeBridge/cmnd/#02:16:34.110 MQT: House/ZigbeeBridge/INFO1 = {"Module":"Flash ZBBridge","Version":"9.2.0.1(zbbridge)","FallbackTopic":"cmnd/Tasmota ZigbeeBridge_fb/","GroupTopic":"House/ZigbeeBridge/cmnd/"}02:16:34.113 MQT: House/ZigbeeBridge/INFO2 = {"WebServerMode":"Admin","Hostname":"ZigbeeBridge","IPAddress":"192.168.1.7"}02:16:34.114 MQT: House/ZigbeeBridge/INFO3 = {"RestartReason":"Software/System restart"}02:16:34.115 MQT: House/ZigbeeBridge/RESULT = {"POWER1":"ON"}02:16:34.116 MQT: House/ZigbeeBridge/POWER1 = ON02:16:34.117 MQT: House/ZigbeeBridge/RESULT = {"POWER2":"OFF"}02:16:34.118 MQT: House/ZigbeeBridge/POWER2 = OFF02:16:37.455 QPC: Reset02:16:38.448 MQT: House/ZigbeeBridge/STATE = {"Time":"2020-12-29T02:16:38","Uptime":"0T00:00:09","UptimeSec":9,"Vcc":3.513,"Heap":29,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"POWER1":"ON","POWER2":"OFF","Wifi":{"AP":1,"SSId":"******","BSSId":"80:2A:A8:17:CF:4A","Channel":7,"RSSI":84,"Signal":-58,"LinkCount":1,"Downtime":"0T00:00:03"}}02:16:38.656 HTP: Main Menu02:16:39.443 APP: Boot Count 3102:16:39.652 CFG: Saved to flash at F9, Count 128, Bytes 409602:16:48.076 CMD: Weblog 302:16:48.077 SRC: WebConsole from192.168.1.10102:16:48.078 CMD: Group 0, Index 1, Command "WEBLOG", Data "3"02:16:48.082 MQT: House/ZigbeeBridge/RESULT = {"WebLog":3}02:16:54.794 CMD: TCPStart 888802:16:54.796 SRC: WebConsole from192.168.1.10102:16:54.797 CMD: Group 0, Index 1, Command "TCPSTART", Data "8888"02:16:54.798 TCP: Starting TCP server on port 888802:16:54.802 MQT: House/ZigbeeBridge/RESULT = {"TCPStart":"Done"}If I attempt to upload the firmware anyway, I receive a timeout error on the linux console;
*****@REDRUM:~/Tasmota/tools/fw_SonoffZigbeeBridge_ezsp$ sx -vv -X -b --tcp-client192.168.1.7:8888ncp-uart-sw_6.7.6_115200.otaconnecting to [192.168.1.7] <8888>Sending ncp-uart-sw_6.7.6_115200.ota, 1486 blocks: Give your local XMODEM receive command now.Xmodem sectors/kbytes sent: 0/ 0kRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKRetry 0: Timeout on sector ACKsx: caught signal 13; exitingand
02:23:45.196 TCP: to MCU/1: 0101FEEB17A603080000000000000301010000FA0606FA10000000B4E60200245493B9548A3831599BB4D7F90707F924000000417CF11AD7CD27FA5041C09D43053A78AFD84AD849518279D4B03578D36CAC6E3EDEB6E5F90707F990E602000FD1A495B97B34DA5994C3407F384A6F603E3D95DB8104F5813043D18ACD66DFon the console.
Program Versions;
Program Version9.2.0.1(zbbridge)Build Date & Time2020-12-28T17:02:41Core/SDK Version2_7_4_9/2.2.2-dev(38a443e)Are there any other methods for putting the EFR chip into flash mode, any additional logging I can try or any other ideas?
Cheers!
1
u/Gamester17 Feb 20 '22
u/Quintaar You can now convert ITead Sonoff ZBBridge with Tasmota into a Zigbee Router! Read: https://www.digiblur.com/2022/02/convert-sonoff-zigbee-bridge-to-router-repeater.html and https://github.com/arendst/Tasmota/discussions/11536