# MQTT Ne démarre pas dongle CC2652P stick

**URL:** <https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023>\
**Category:** Entraide Home Assistant\
**Tags:** zigbee2mqtt\
**Created:** [Septembre 21, 2024, 2:23 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023 "2024-09-21T14:23:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:23 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/1 "2024-09-21T14:23:06Z")

</div>

Bonjour,

## Mon problème

quand je veux lancer Z2M cela ne fonctionne pas

```auto
Starting Zigbee2MQTT without watchdog.
[2024-09-21 16:14:28] info: z2m: Logging to console, file (filename: log.log)
[2024-09-21 16:14:28] info: z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-21 16:14:28] info: z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-21 16:14:28] info: zh:ember: Using default stack config.
[2024-09-21 16:14:28] info: zh:ember: ======== Ember Adapter Starting ========
[2024-09-21 16:14:28] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-09-21 16:14:28] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-21 16:14:28] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-09-21 16:14:28] info: zh:ember:uart:ash: Serial port opened
[2024-09-21 16:14:28] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-21 16:14:31] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-21 16:14:31] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-21 16:14:33] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-21 16:14:33] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-21 16:14:36] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-21 16:14:36] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-21 16:14:38] info: zh:ember:uart:ash: ======== ASH Adapter reset ========
[2024-09-21 16:14:38] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-09-21 16:14:41] error: z2m: Error while starting zigbee-herdsman
[2024-09-21 16:14:41] error: z2m: Failed to start zigbee
[2024-09-21 16:14:41] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-21 16:14:41] error: z2m: Exiting...
[2024-09-21 16:14:41] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
    at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:701:19)
    at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
    at Zigbee.start (/app/lib/zigbee.ts:64:27)
    at Controller.start (/app/lib/controller.ts:140:27)

```

ma configuration

```auto
## System Information

version | core-2024.9.2
-- | --
installation_type | Home Assistant OS
dev | false
hassio | true
docker | true
user | root
virtualenv | false
python_version | 3.12.4
os_name | Linux
os_version | 6.6.46-haos
arch | x86_64
timezone | Europe/Paris
config_dir | /config

<details><summary>Home Assistant Cloud</summary>

logged_in | true
-- | --
subscription_expiration | 19 octobre 2024 à 02:00
relayer_connected | true
relayer_region | eu-central-1
remote_enabled | true
remote_connected | true
alexa_enabled | true
google_enabled | true
remote_server | eu-central-1-22.ui.nabu.casa
certificate_status | ready
instance_id | d56c5dbc7e61474b98aa031a367ee543
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok

</details>

<details><summary>Home Assistant Supervisor</summary>

host_os | Home Assistant OS 13.1
-- | --
update_channel | stable
supervisor_version | supervisor-2024.09.1
agent_version | 1.6.0
docker_version | 26.1.4
disk_total | 30.8 GB
disk_used | 6.7 GB
healthy | true
supported | true
host_connectivity | true
supervisor_connectivity | true
ntp_synchronized | true
virtualization | vmware
board | ova
supervisor_api | ok
version_api | ok
installed_addons | Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.1-1)

</details>

<details><summary>Dashboards</summary>

dashboards | 4
-- | --
resources | 0
views | 5
mode | storage

</details>

<details><summary>Recorder</summary>

oldest_recorder_run | 16 septembre 2024 à 14:58
-- | --
current_recorder_run | 21 septembre 2024 à 11:25
estimated_db_size | 3.29 MiB
database_engine | sqlite
database_version | 3.45.3

</details>

```

J’ai lu un tas de sujets là dessus et c’est désepérant. je n’ai pas de matos pour flasher si telle est LA ?? solution

* * *

---

<div class="post-metadata">

**Author:** ![oli\_34](https://forum.hacf.fr/user_avatar/forum.hacf.fr/oli_34/32/91828_2.png) [@oli\_34](https://forum.hacf.fr/u/oli_34)\
**Post date:** [Septembre 21, 2024, 2:36 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/2 "2024-09-21T14:36:38Z")

</div>

Bonjour @enthalpie,  
Si tu as un clé sonoff model P il ne faut pas mettre adapter: ember dans la config.  
Piste ton fichier de conf pour voir

Et tu as ce tuto

> [@\[TUTO\] Installation de Zigbee2mqtt et Broker Mosquitto](https://forum.hacf.fr/t/tuto-installation-de-zigbee2mqtt-et-broker-mosquitto/23103):
>
> Hello Comme on voit de nouveaux membres chaque jour et que beaucoup ont des soucis pour installer zigbee2mqtt et le broker , j’ai de ce fait procédé a une installation sur VM et en ai profité pour faire des GIF pour vous aider. AVANT DE COMMENCER SUPPRIMER/DESACTIVER/IGNORER les intégrations DECONZ et/ou ZHA sinon z2m ne pourra pas démarrer Ce sont tous deux des addons de Home Assistant En images [zha] [deconz] Etape 1 , crée un user [partie 0] Etape 2 , installé zigbee2mqtt Li…

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:40 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/4 "2024-09-21T14:40:57Z")

</div>

bonjour  
merci de me répondre  
non c’est une clé JIOTTY ( allemand)

```auto
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
port: /dev/ttyACM0
adapter: ember
zigbee_herdsman_debug: true

```

---

<div class="post-metadata">

**Author:** ![oli\_34](https://forum.hacf.fr/user_avatar/forum.hacf.fr/oli_34/32/91828_2.png) [@oli\_34](https://forum.hacf.fr/u/oli_34)\
**Post date:** [Septembre 21, 2024, 2:41 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/5 "2024-09-21T14:41:52Z")

</div>

Enleve adapter: ember et redémarre l’addon

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Septembre 21, 2024, 2:43 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/6 "2024-09-21T14:43:29Z")

</div>

> [@enthalpie](#):
>
> clé JIOTTY

C’est un chipset cc2652P = Zstack

> **[zStack adapters (Texas Instruments) | Zigbee2MQTT](https://www.zigbee2mqtt.io/guide/adapters/zstack.html)**
>
> Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:44 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/7 "2024-09-21T14:44:29Z")

</div>

bonjour @oli_34  
je vais lire avec soin je n’avait pas vu celui-là et dieu sait si il y a des posts pour ce sujet  
cordialement  
PS : Z2M est lancé ( voyant vert en haut à droite ) mais quand je veux lancer le module complémentaire pour l’interface web je n’ai rien

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:45 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/8 "2024-09-21T14:45:59Z")

</div>

@WarC0zes  
désolé je ne suis sur home assistant que depuis 2 jours !! Quid Zstack ? c’est le nom que je doit renseigner à la place de ember ??

---

<div class="post-metadata">

**Author:** ![oli\_34](https://forum.hacf.fr/user_avatar/forum.hacf.fr/oli_34/32/91828_2.png) [@oli\_34](https://forum.hacf.fr/u/oli_34)\
**Post date:** [Septembre 21, 2024, 2:46 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/9 "2024-09-21T14:46:44Z")

</div>

Tu as installé le broker mosquitto?  
Après il va falloir peu être modifié le configuration.yaml de zigbee2mqtt sans passer par l’UI

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:47 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/10 "2024-09-21T14:47:21Z")

</div>

@WarC0zes et @oli_34  
OUI c’est ce qui était recommandé et il tourne ( voyant vert en haut à droite)

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Septembre 21, 2024, 2:48 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/11 "2024-09-21T14:48:50Z")

</div>

Normalement pas besoin du adapter, mais depuis les dernières version de Z2M je crois que c’est obligatoire.  
test avec `adapter: Zsatck` , si c’est pas bon, enleve la ligne `adapter: Zsatck`.

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:52 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/12 "2024-09-21T14:52:06Z")

</div>

@WarC0zes  
si je mets Zstack ça plante et si je vire la ligne cela démarre mais toujours pas de web

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:53 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/13 "2024-09-21T14:53:41Z")

</div>

si je ne veux pas lancer l’interface web le voyant est vert pour Z2M et si lance alors le voyant passe au rouge et j’ai le message d’erreur pour le lancement du module complémentaire ( lequel ??)

---

<div class="post-metadata">

**Author:** ![oli\_34](https://forum.hacf.fr/user_avatar/forum.hacf.fr/oli_34/32/91828_2.png) [@oli\_34](https://forum.hacf.fr/u/oli_34)\
**Post date:** [Septembre 21, 2024, 2:55 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/14 "2024-09-21T14:55:19Z")

</div>

Poste une copie de ton configuration.yaml de zigbee2mqtt via file editor

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 2:56 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/15 "2024-09-21T14:56:44Z")

</div>

@oli_34  
AH là vous vous adressez à une personne qui est sur HA depuis 3 jours  
ou et comment trouver ce fichier ?

---

<div class="post-metadata">

**Author:** ![oli\_34](https://forum.hacf.fr/user_avatar/forum.hacf.fr/oli_34/32/91828_2.png) [@oli\_34](https://forum.hacf.fr/u/oli_34)\
**Post date:** [Septembre 21, 2024, 2:58 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/16 "2024-09-21T14:58:05Z")

</div>

C’est un module complémentaire que tu peux installer pour naviguer dans certain fichier de home assistant et les modifier.

Ou sinon supprimer le configuration.yaml de zigbee2mqtt et recommencer la configuration depuis l’UI

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 3:03 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/17 "2024-09-21T15:03:25Z")

</div>

@oli_34  
Je maintiens ce HA est génial !!  
merci , voilà

J’ai l’impression que le souci est user car je ne l’ai pas crée mais un user mqtt\_adm à la place ? est-ce la piste ?

```auto
homeassistant: true
advanced:
  network_key:
    - 27
    - 121
    - 120
    - 197
    - 122
    - 201
    - 59
    - 6
    - 199
    - 1
    - 217
    - 249
    - 241
    - 96
    - 172
    - 65
  pan_id: 83
  ext_pan_id:
    - 208
    - 111
    - 243
    - 145
    - 220
    - 86
    - 238
    - 243
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: xae6eb1seivoo1Hieh8ile5dahiP3aiwo9wah2kai1amaLichijahraeb5ieLoo2
frontend:
  port: 8099

```

---

<div class="post-metadata">

**Author:** ![WarC0zes](https://forum.hacf.fr/user_avatar/forum.hacf.fr/warc0zes/32/137471_2.png) [@WarC0zes](https://forum.hacf.fr/u/WarC0zes)\
**Post date:** [Septembre 21, 2024, 4:15 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/18 "2024-09-21T16:15:20Z")

</div>

> [@enthalpie](#):
>
> J’ai l’impression que le souci est user car je ne l’ai pas crée mais un user mqtt\_adm à la place ? est-ce la piste ?

Pas besoin de créer un user pour MQTT, Z2M peut en créer un automatiquement. Comme tu le vois dans ta config.

 ![image](https://forum.hacf.fr/uploads/default/original/3X/f/b/fbaf09f6cdafa6ac27a9cb7fd2be8ee2dc01b440.png)

Tu n'as pas le serial avec le port configuré. Renseigne le dans le configuration.yaml de Z2M , et relance ton Z2M

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 6:12 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/19 "2024-09-21T18:12:01Z")

</div>

ne marche pas mais peut être erreur syntaxe

```auto
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: xae6eb1seivoo1Hieh8ile5dahiP3aiwo9wah2kai1amaLichijahraeb5ieLoo2
  serial:
  port:>-
 .. dev/ttyACM0
frontend:
  port: 8099

```

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 6:13 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/20 "2024-09-21T18:13:21Z")

</div>

les logs :

```auto
/app/node_modules/js-yaml/lib/loader.js:183
  return new YAMLException(message, mark);
         ^
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (36:16)

 33 | password: xae6eb1seivoo1Hieh8ile5dahiP3aiwo9 ...
 34 | serial:
 35 | port:>-
 36 | .. dev/ttyACM0
---------------------^
 37 | frontend:
 38 | port: 8099
    at generateError (/app/node_modules/js-yaml/lib/loader.js:183:10)
    at throwError (/app/node_modules/js-yaml/lib/loader.js:187:9)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1145:9)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1164:11)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readDocument (/app/node_modules/js-yaml/lib/loader.js:1625:3)
    at loadDocuments (/app/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/app/node_modules/js-yaml/lib/loader.js:1714:19)
    at Object.read (/app/lib/util/yaml.ts:7:29)

```

---

<div class="post-metadata">

**Author:** ![enthalpie](https://forum.hacf.fr/user_avatar/forum.hacf.fr/enthalpie/32/82671_2.png) [@enthalpie](https://forum.hacf.fr/u/enthalpie)\
**Post date:** [Septembre 21, 2024, 6:27 UTC](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023/21 "2024-09-21T18:27:20Z")

</div>

j’ai tester avec ça mais idem

```auto
/dev/serial/by-id/usb-1a86_USB_Single_Serial_550D016243-if00

```

```auto
    at throwError (/app/node_modules/js-yaml/lib/loader.js:187:9)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1145:9)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1164:11)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readDocument (/app/node_modules/js-yaml/lib/loader.js:1625:3)
    at loadDocuments (/app/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/app/node_modules/js-yaml/lib/loader.js:1714:19)
    at Object.read (/app/lib/util/yaml.ts:7:29)
[20:26:54] INFO: Preparing to start...
[20:26:54] INFO: Socat not enabled
[20:26:55] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.

/app/node_modules/js-yaml/lib/loader.js:183
  return new YAMLException(message, mark);
         ^
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (36:65)

 33 | ... 5dahiP3aiwo9wah2kai1amaLichijahraeb5ieLoo2
 34 | ... 
 35 | ... 
 36 | ... _Single_Serial_550D016243-if00
-----------------------------------------^
 37 | ... 
 38 | ... 
    at generateError (/app/node_modules/js-yaml/lib/loader.js:183:10)
    at throwError (/app/node_modules/js-yaml/lib/loader.js:187:9)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1145:9)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readBlockMapping (/app/node_modules/js-yaml/lib/loader.js:1164:11)
    at composeNode (/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readDocument (/app/node_modules/js-yaml/lib/loader.js:1625:3)
    at loadDocuments (/app/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/app/node_modules/js-yaml/lib/loader.js:1714:19)
    at Object.read (/app/lib/util/yaml.ts:7:29)

```

[Page suivante](https://forum.hacf.fr/t/mqtt-ne-demarre-pas-dongle-cc2652p-stick/48023.md?page=2)
