walthowd / husbzb-firmware

Nortek GoControl HUSBZB-1 / EM3581 Firmware update image
GNU General Public License v3.0
246 stars 40 forks source link

[COMPATIBILITY] Can anyone confirm comatibility with ITead’s new “Sonoff Zigbee 3.0 USB Dongle Plus V2” model “ZBDongle-E” based on Silicon Labs EFR32MG21 #44

Open Hedda opened 1 year ago

Hedda commented 1 year ago

Has anyone confirmed if this Zigbee coordinator firmware updater image from @walthowd is compatible with ITead’s new “Sonoff Zigbee 3.0 USB Dongle Plus V2” model “ZBDongle-E” based on Silicon Labs EFR32MG21

ITead just released a new "ZBDongle-E" adapter as an improved version of their old/previous barebone Silabs EFR32MG21 based Zigbee 3.0 USB adapter from ITead and this new variant is to be sold side-by-side as an alternative to ITead's TI CC2652P based "Sonoff Zigbee 3.0 USB Dongle Plus" (which is now renamed to "ZBDongle-P"), meaning they will continuously sell both variants.

https://itead.cc/product/zigbee-3-0-usb-dongle/

https://sonoff.tech/product-review/sonoff-zigbee-3-0-usb-dongle-plus-tutorials/

https://sonoff.tech/wp-content/uploads/2022/08/SONOFF-Zigbee-3.0-USB-dongle-plus-firmware-flashing-.pdf

image

This new “Sonoff Zigbee 3.0 USB Dongle Plus V2” adpater can be a little confusing to buyers as it looks the same as Sonoff Zigbee 3.0 USB Dongle Plus V2” and both this "ZBDongle-E" variant and the "ZBDongle-P" variant is market as being able to act either a Zigbee Coordinator (by default) or Zigbee Router device (if flashed with such firmware instead), and if flash OpenThread/Spinel Radio Co-Processor (RCP) firmware also Thread network protocol for the upcoming Matter/CHIP standard (Project Connected Home over IP). As Silicon Lab and Texas Instruments adapters offer different compatibility ITead will now sell both of these so users will now have more options as different DIY home automation software applications offer might not be fully compatible with one or the other (Home Assistant's ZHA integration is however fully compatible with both so based in just the specification they should in theory offer similar performance on paper).

Comparing "ZBDongle-P" vs. "ZBDongle-E" vs. barebone EFR32MG21 dongle

https://community-assets.home-assistant.io/original/4X/2/9/d/29dc429141353119ad34f33516ed61f5fc2b3af3.png verses
image verses
image

Feature/Model ZBDongle-P ZBDongle-E 9888010100045
Radio SoC/MCU chip Texas Instruments CC2652P Silicon Labs EFR32MG21 Silicon Labs EFR32MG21
Zigbee Stack (Serial Interface Protocol API/CLI) Z-Stack v3 (ZNP 3) EmberZNet (EZSP v8) EmberZNet (EZSP v8)
Optional Zigbee Router firmware Yes (9dBm firmware available from Koenkk) Yes (20dBm firmware available from ITead) Yes (20dBm firmware available from ITead)
USB to UART/Serial Converter Chip CP2102 or CP2102N CH9102F CH340
USB EEPROM Product Description ID SONOFF Zigbee 3.0 USB Dongle Plus SONOFF Zigbee 3.0 USB Dongle Plus V2 None (no USB chip EEPROM)
Home Assistant USB Auto Disovery Yes Not yet Not possible
Flow Control None by default (Hardware flow control optional with alternative firmware and flipped dip-switch) Software flow control Software flow control
RF Transmit Output Power 9dBm (firmware hardcoded), Max: 20dBm 20dBm (default) 20dBm (default)
Antenna External (rotatable and tiltable) External (rotatable and tiltable) Onboard circuit board antenna
Enclosure/case Aluminum all-metal shell casing Aluminum all-metal shell casing None
Length 63mm 52mm ?
Packaging Retail-box with manual Retail-box with manual Anti-static bag only

Both their Silicon Labs and Texas Instruments adapters are compatible out-of-the-box with Home Assistant's ZHA integration which supports Silabs EZSP (EmberZNet Serial Protocol) as well as TI Z-Stack Serial Interface and even more manufacturers Zigbee adapters, so different benefits are that the same Silicon Labs EFR32MG21 based adapter is also used by Home Assistant SkyConnect USB Stick (as well as ITead's Sonoff ZBBridge and ZB-GW03 eWeLink Ethernet Zigbee Gateway which with Zigbee Coordinator NCP firmware they are compatible with OpenHAB's ZigBee Binding, Zigbee Plugin for Domoticz, and Zigbee Plugin for Jeedom, while the Texas Instruments CC2652P based adapter is also fully compatible with Zigbee2MQTT (a.k.a. Z2M) and IoBroker while their zigbee-herdsman library currently only has experimental support for Silicon Labs based adapters.

Zigbee 3.0 USB Dongle Plus - ZBDongle-E variant

https://itead.cc/product/zigbee-3-0-usb-dongle/

It uses the same EFR32MG21A020F768IM32 SoC used on the first ITead Zigbee 3.0 USB Dongle based on EFR32 Mighty Gecko Series 2, as well as on CoolKit Technologies "SM-011 V1.0" module used in the ITead Sonoff ZBBridge Zigbee Bridge and in Tuya ZS3L and Tuya ZSLC5 SoC modules. It includes a 80 MHz ARM Cortex-M33 core, 768 Flash Storage, 64 RAM, in a QFN32 package, which radio has + 20 dBm maximum power output and receive sensitivity of -104 (250 kbps O-QPSK DSSS) dBm.

image

image

darkxst commented 1 year ago

I have tested. It doesn't recognise the Product ID '55D4' of the new ZBDongle-E, however after manually patching that Id it detects correctly the device and successfully flashes the image, at least with the iTead provided firmware images.

However once flashed with the iTead router firmware, neither this tool nor the Elelabs tool, can get the device back into bootloader mode. So far that only seems possible with the physical boot button.

Hedda commented 1 year ago

Yeah, this new "ZBDongle-E" adapter apparently uses a WCH CH9102F (CH9102/CH340 device drivers) for USB-to-UART chip which has VID (Vendor ID) "1A86"and PID (Product ID) 55D4 as well as new USB product description identifier "sonoff zigbee dongle plus v2"

https://github.com/home-assistant/core/pull/77523

So for reference, ITead's new EFR32MG21-based Sonoff "ZBDongle-E" adapter has VID "1A86" and PID ""55D4" + they written USB Product Description ID "sonoff zigbee dongle plus v2" to the CH9102F EEPROM as well in order to allow unique identification of that USB device to applications, as used in Home Assistant for their ZHA integration -> https://github.com/home-assistant/core/pull/77523

https://community.home-assistant.io/t/community-help-wanted-to-whitelist-all-compatible-zigbee-and-z-wave-usb-adapters-for-automatic-discovery-in-home-assistant-os/344412

https://community.home-assistant.io/t/itead-s-sonoff-zigbee-3-0-usb-dongle-plus-v2-model-zbdongle-e-based-on-silicon-labs-efr32mg21-20dbm-radio-mcu-now-sold-for-19-99/442695