# Zigbee2MQTT with CC2652BLE SimpleLink dongle - It works!

**URL:** <https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677>\
**Category:** Configuration\
**Tags:** zigbee2mqtt\
**Created:** [November 12, 2021, 8:03pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677 "2021-11-12T20:03:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 12, 2021, 8:03pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/1 "2021-11-12T20:03:35Z")

</div>

Hello everyone,

I bought a CC2652BLE Simplelink Adapter and Aqara door and window sensors (MCCGQ14LM). The integration with Gladys seems good:

 ![2021_11_12_gladys_zigbee2mqtt_service_ok](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/8f65907b9adb20677850fa1f526b18ca8c86fc27.jpeg)

But I can’t pair the sensors. I have allowed the association, I keep the sensor button pressed and the LED blinks, I click on Scan and nothing appears. Here are the logs:

 ![2021_11_12_gladys_zigbee2mqtt_logs](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/70f7f81ca87389b6029d3f8615b9fd745b7b318b.jpeg)

Any idea about the problem and a solution? Is it a CH340 driver issue?

Thanks in advance,  
Gaëtan

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [November 12, 2021, 10:00pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/2 "2021-11-12T22:00:18Z")

</div>

According to the logs, zigbee2mqtt cannot connect to your dongle

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 13, 2021, 8:49am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/3 "2021-11-13T08:49:15Z")

</div>

Yes, that’s what I thought. I had connected it to ttyACM0 in the interface.  
I changed it last night to ttyUSB0 but it didn’t make any difference.  
I just unplugged it, saved the config with ----- as the adapter so that Glagys recognizes that the dongle is no longer there (if you don’t save, it still indicates that the adapter is present even after refreshing the USB device list).  
I plug it back in and choose ttyUSB0, I activate Zigbee2mqtt  
I have the red cross between MQTT and ZIGBEE2MQTT, even after a few minutes…  
I go to Zigbee Discovery, I start a scan and I go back to Configuration so that the cross becomes a green tick (it’s the only way I’ve found to make the tick green)  
I have the same logs.

I have a question: should I use the Gladys v4.6.0 installation or is this a test image?  
I did the manipulations with Gladys v4.6.0

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [November 13, 2021, 12:40pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/4 "2021-11-13T12:40:43Z")

</div>

Hello.

Can you give us the results of the following two commands?

`sudo cat /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml | grep port`

`docker inspect gladys-z2m-zigbee2mqtt | grep PathOnHost`

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 13, 2021, 5:05pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/5 "2021-11-13T17:05:24Z")

</div>

Hello @cicoub13

> [@cicoub13](#):
>
> sudo cat /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml | grep port

..@gladys:~ $ sudo cat /var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml | grep port  
port: /dev/ttyACM0  
port: 8080  
et  
..@gladys:~ $ docker inspect gladys-z2m-zigbee2mqtt | grep PathOnHost  
«&nbsp;PathOnHost&nbsp;»: «&nbsp;/dev/ttyACM0&nbsp;»,

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [November 13, 2021, 5:47pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/6 "2021-11-13T17:47:38Z")

</div>

Your USB dongle change in the interface was not taken into account (you should have ttyUSB0 in the second command). I will try to reproduce (and fix if there is an issue). In the meantime, you can:

- delete the gladys-z2m-zigbee2mqtt container
- properly select ttyUSB0 in the integration
- disable/enable the service in the Configuration page

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 13, 2021, 5:53pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/7 "2021-11-13T17:53:12Z")

</div>

Thank you @cicoub13,  
Should the USB dongle be placed in the interface on ACM0 or on ttyUSB?  
In the documentation, it’s ACM0 in the screenshot.

How do you delete a container?  
Is it:

```bash
docker ps -a

```

To know the container ID  
then

```bash
docker rm *container ID*

```

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [November 13, 2021, 6:34pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/8 "2021-11-13T18:34:45Z")

</div>

> [@gaetanb76](#):
>
> Where should the USB dongle be placed in the interface on ACM0 or on ttyUSB?

The one where your dongle is connected (ttyUSB0 if I followed correctly).

> [@gaetanb76](#):
>
> How do you delete a container?

Yes, you can do it that way.

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 13, 2021, 6:36pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/9 "2021-11-13T18:36:20Z")

</div>

I will first stop the container before deleting it.  
Should I also delete the gladys-z2m-mqtt container?  
I unplugged the dongle and plugged it back in.  
The only adapter found in Gladys is ttyAMA0…

> [@cicoub13](#):
>
> The one where your dongle is connected (ttyUSB0 if I followed correctly).

How do we know this in Gladys?

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [November 13, 2021, 7:39pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/10 "2021-11-13T19:39:38Z")

</div>

> [@gaetanb76](#):
>
> Do we also need to delete the gladys-z2m-mqtt container?

No, there’s no need.

> [@gaetanb76](#):
>
> How do we know this in Gladys?

You should have the name of your dongle next to it in the list.

 ![Capture d’écran 2021-11-13 à 20.38.25](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/9f526c0c7946228358cfd6836b2bb8f22b9fda8a.png)

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 13, 2021, 8:00pm UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/11 "2021-11-13T20:00:15Z")

</div>

> [@cicoub13](#):
>
> You should have the name of your dongle next to it in the list.

No, there is no name, and I only have AMA0 now, even after refreshing the USB adapter list.  
I changed the dongle port on the powered hub connected to the rpi, but that didn’t change anything.

> [@gaetanb76](#):
>
> A CH340 driver issue?

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [November 14, 2021, 8:39am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/12 "2021-11-14T08:39:18Z")

</div>

I created a new topic to simplify tracking and searching

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 14, 2021, 8:41am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/13 "2021-11-14T08:41:44Z")

</div>

Thanks @VonOx 😃,  
I did indeed feel like I was «&nbsp;polluting&nbsp;» the topic with my issue 👍

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [November 14, 2021, 8:47am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/14 "2021-11-14T08:47:15Z")

</div>

Silly question but did you flash the firmware on the dongle?

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 14, 2021, 8:48am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/15 "2021-11-14T08:48:27Z")

</div>

No…  
No documentation provided.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [November 14, 2021, 8:55am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/16 "2021-11-14T08:55:13Z")

</div>

Tools to flash [Supported Adapters | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/#notes)

You can try this firmware [https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack\_3.x.0/bin/CC2652RB\_coordinator\_20210708.zip](https://github.com/Koenkk/Z-Stack-firmware/raw/master/coordinator/Z-Stack_3.x.0/bin/CC2652RB_coordinator_20210708.zip) but you should know that what you bought is not in the list of supported dongles

> **[Recommended - Supported Adapters | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/#recommended)**
>
> All officially supported adapters are listed on this page. Note that before an adapter can be used with Zigbee2MQTT it has to be flashed with a coordinator firmware (some adapters come preflashed). | Zigbee to MQTT bridge, get rid of your proprietary...

If you have a link to the site where you bought it, it would help me know what the base firmware is

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 14, 2021, 8:59am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/17 "2021-11-14T08:59:49Z")

</div>

> [@gaetanb76](#):
>
> CC2652BLE

I was looking at the same page on GitHub.  
I had a feeling:

- Multiprotocol 2.4GHz RF development board (OpenThread, Zigbee, BLE, 6LoWPAN and proprietary) based on the TI chip
- Easy to use with the Koenkk brand

Many reviews say it works with zigbee2mqtt

> **[CC2652P CC2652 BLE Simplelink 2,4G Zigbee2MQTT Thread Home Assistant...](https://de.aliexpress.com/item/1005002823262979.html?spm=a2g0s.9042311.0.0.22176c372oJDVn&gatewayAdapt=fra2deu)**
>
> Smarter Shopping, Better Living! Aliexpress.com

I just opened it to see which chip is used:

 ![20211114_100719-r](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/7f82f6e0e8c11e2ab96a1e011fcf585b2772aa3e.jpeg)  
I think it’s a CC2652R, as you can see

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [November 14, 2021, 9:13am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/18 "2021-11-14T09:13:39Z")

</div>

You need to flash it with the firmware (it’s roughly translated)

![image](https://gladys-assistant-community.b-cdn.net/images/transparent.png)

This is indeed the firmware link I gave you earlier.

**Edit, I said nothing (it was written so big that I didn’t see it)**

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/e/e57d43bc563b1f45dfed272609235c5a5d35691f.png)

You can still try to reflash the firmware.

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 14, 2021, 9:19am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/19 "2021-11-14T09:19:32Z")

</div>

For flashing?

> **[Flash Firmware using Flash Prog 2 - Electrolama](https://support.electrolama.com/radio-docs/flash-ti-flash-prog/)**

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [November 14, 2021, 10:19am UTC](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677/20 "2021-11-14T10:19:57Z")

</div>

Here’s what I get after flashing:

 ![2021_11_14_zigbee2mqtt_parametres](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/4b3da53dbededa3eda49692680fb1b0e35b88251.jpeg)  
ttyUSB0 appears when I plug in the dongle

 ![2021_11_14_zigbee2mqtt_config_hs](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2b7cbab2d1317bbeb45d93bda4e875965f59ad43.jpeg)  
There is no more zigbee2mqtt

[Next page](https://community.gladysassistant.com/t/zigbee2mqtt-avec-dongle-cc2652ble-simplelink-ca-fonctionne/6677.md?page=2)
