Sonoff ZBBridge and Home Assistant Integration with TASMOTA
From KlavoWiki
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
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