Sonoff ZBBridge and Home Assistant Integration with TASMOTA: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
(Created page with "'''NOTE''': I have not tested this as yet. Waitong on eqipment to arrive. = Flash TASMOTA = Flash TASMOTA firmware as with any standard Sonoff device. Use the latest [http...")
 
Line 8: Line 8:


= Flash Zigbee Chip =
= Flash Zigbee Chip =
The Sonoff ZBBridge has two chips.  One for the ESP8266 chip where we flashed TASMOTA to.  The other chip is for the Zigbee operation.  You use the same upload button.  I'm guessing TASMOTA knows the firmware we are upload is for the Zigbee chips as you can't specify which chip to upload to.  I'm guessing the TASMOTA firmware upload tool looks at the header of the files and knows where to send the firmware.
Upload the latest Zigbee firmware.  The latest version as of writing is [https://github.com/arendst/Tasmota/raw/development/tools/fw_SonoffZigbeeBridge_ezsp/ncp-uart-sw_6.7.8_115200.ota ncp-uart-sw_6.7.8_115200.ota]
Upload the latest Zigbee firmware.  The latest version as of writing is [https://github.com/arendst/Tasmota/raw/development/tools/fw_SonoffZigbeeBridge_ezsp/ncp-uart-sw_6.7.8_115200.ota ncp-uart-sw_6.7.8_115200.ota]



Revision as of 11:55, 7 March 2021

NOTE: I have not tested this as yet. Waitong on eqipment to arrive.


Flash TASMOTA

Flash TASMOTA firmware as with any standard Sonoff device. Use the latest zbbridge firmware

Once flashing has been done make sure to continue with all cable disconnect and only power but USB-C cable.

Flash Zigbee Chip

The Sonoff ZBBridge has two chips. One for the ESP8266 chip where we flashed TASMOTA to. The other chip is for the Zigbee operation. You use the same upload button. I'm guessing TASMOTA knows the firmware we are upload is for the Zigbee chips as you can't specify which chip to upload to. I'm guessing the TASMOTA firmware upload tool looks at the header of the files and knows where to send the firmware.

Upload the latest Zigbee firmware. The latest version as of writing is ncp-uart-sw_6.7.8_115200.ota

Configuration

Open two browsers and access the console on each. One for monitoring status and the other for issuing commands.

template {"NAME":"ZHA ZBBridge","GPIO":[56,208,0,209,59,58,0,0,0,0,0,0,17],"FLAG":0,"BASE":18}
rule1  ON System#Boot do TCPStart 8888 endon
rule1 1
module 0

On reboot look for the following in the console during boot.

Starting TCP server on port 8888
stat/tasmoa_E3231E/RESULT = {"TCPstart":"Done"}

Home Assistant

Add Integration : Zingbee Home Ausomation

HA Zigbee Config

Integration:

  • Enter Manually
  • Radio : EZSP
  • Serial device path : socket://[zbbridge_ip]:8888
  • speed : 115200