ZAH with a CC2531 stick

Hello,

have problems getting the CC2531 working (I’m running HA 0.110.0 with python 3.8.0).

Connecting the stick:

May 22 07:03:12 gate kernel: [2216338.817442] usb 3-3: new full-speed USB device number 3 using xhci_hcd
May 22 07:03:13 gate kernel: [2216338.969350] usb 3-3: New USB device found, idVendor=0451, idProduct=16a8
May 22 07:03:13 gate kernel: [2216338.969353] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 22 07:03:13 gate kernel: [2216338.969355] usb 3-3: Product: TI CC2531 USB CDC
May 22 07:03:13 gate kernel: [2216338.969357] usb 3-3: Manufacturer: Texas Instruments
May 22 07:03:13 gate kernel: [2216338.969358] usb 3-3: SerialNumber: __0X00124B0014D9E18D
May 22 07:03:13 gate kernel: [2216338.970162] cdc_acm 3-3:1.0: ttyACM0: USB ACM device
May 22 07:03:13 gate snapd[2438]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug

It is detected at ttyACM0.
Vow I move to ‘Iterations’ selecting ZAH and the stick:

no it takes 2 minutes than I see:

I selecting the option containing CC2531, than I select ‘hardware’ and didn’t change the 11520 (don’t know what it is):
grafik

Clicking send this appear:
grafik

Did you have an idea what I missing?

It looks like you have a CC2531 with Texas Instruments firmware. You need to flash your CC2531 with the firmware from the Zigbee2MQTT project.

I’am not shore about the firmware, I bought it to use it with the Zigbee2mqtt project and it worked with it. Therefore I assume that it is flashed that firmware.
How I can detect which FW is flashed?

thx!

If it worked with zigbee2mqtt, what port did you use ?

sorry for the stupid question, you mean the USB port? I used also /dev/ttyACM0.
I had no other port (except the port of the mqtt broker configured).

The Zigbee2MQTT stuff I had running at a Raspberry PI, now I’, using the stick at an intel PC (ubuntu bionic server).

What gets returned when you run in a SSH shell the command

ls -al /dev/serial/by-id

08:28:44,root@gate~> ls -al /dev/serial/by-id
total 0
drwxr-xr-x 2 root root 120 Mai 22 08:29 .
drwxr-xr-x 4 root root  80 Apr 26 15:24 ..
lrwxrwxrwx 1 root root  13 Mai 21 08:35 usb-FTDI_FT230X_Basic_UART_DM01BKLJ-if00-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root  13 Mai 21 08:35 usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root  13 Mai 21 08:35 usb-FTDI_Reader1_A8003Z62-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root  13 Mai 22 08:29 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9E18D-if00 -> ../../ttyACM0

I don’t know, this should work :
grafik

Maybe remove the 115200 (that is the speed of the serial port)

just tried without the baud rate, clicking send it was filled automatically again to the same value an I get the same result.
I get this log message:

2020-05-22 08:38:54 ERROR (MainThread) [zigpy_cc.api] Error while parsing frame: <UnpiFrame type=CommandType.SRSP subsystem=Subsystem.SYS command_id=2 data=b'\x02\x00\x02\x06\x03' length=5 fcs=99>
2020-05-22 08:38:54 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback SerialTransport._read_ready()
    raise OverflowError
OverflowError

May you can post me the required parameters and the section name for the configuration.yaml to try it manually since they are not described here: https://www.home-assistant.io/integrations/zha/