Zigbee configuration details for B2200

Hey, is it possible to share details about zigbee connection configuration for the b2200?

Is it connected over UART or SPI?
Do you have are recommendations about how to expose this chip to Home Assistant ?

Also, while trying to use zbtool from gl-zigbee-sdk in vanilla OpenWrt , I am getting

silicon_labs_init
Assertion failed: 0 (daemon/zbdriver/silicon_labs/Simplicity-Studio-v4/developer/sdks/gecko_sdk_suite/v2.7/platform/base/hal/micro/unix/host/spi-protocol-linux.c: directionGpioDevice: 420)
Aborted

while my uci configuration looks like that

zigbee.spi=interface
zigbee.spi.spi_device='/dev/spidev1.0'
zigbee.spi.spi_cs_io='45'
zigbee.spi.spi_int_io='2'
zigbee.spi.spi_reset_io='43'
zigbee.spi.spi_wake_io='48'
zigbee.uart=interface

Any assistance would be appreciated
Thanks

cc: @kelly

We use SPI and the spi IOs are show as the configuration file. But the IO num of the QSDK’s openwrt is different from the offcal openwrt. You can refer to this: https://github.com/gl-inet/gl-zigbee-sdk/blob/master/files/etc/uci-defaults/30-zigbee-hal-config#L47C4-L47C4

About the HA, we tried porting the zigbee2mqtt, but the JS requires a lot of resources to run, and we finally gave up on it.

If I remember correctly, the official openwrt version requires 412 per IO plus, e.g.: io45 is io457
You can try modifying the uci file directly and start zbtool again to see if it works properly.

Adjusting the IO pin numbers did the trick.
Thanks a lot!