# Vorhandene zigbee2mqtt-Konfiguration importieren

**URL:** <https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799>\
**Category:** Configuration\
**Tags:** zigbee2mqtt\
**Created:** [28. März 2024 um 09:40 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799 "2024-03-28T09:40:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [28. März 2024 um 09:40 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/1 "2024-03-28T09:40:55Z")

</div>

Hallo zusammen,

Ich wollte wissen, ob es möglich ist, die Datei configuration.yaml von meinem bestehenden zigbee2mqtt in die von Gladys zu importieren, wobei natürlich die verschiedenen Werte, die derzeit für Gladys gelten, angepasst werden müssen?

Das Ziel ist es, alle meine Module nicht neu zu paaren müssen 🙂

Danke 😉

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [29. März 2024 um 13:58 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/2 "2024-03-29T13:58:29Z")

</div>

Ich antworte mir selbst:

Ja, das ist möglich, indem man die folgenden Dateien an den Ort (/var/lib/gladysassistant/zigbee2mqtt/z2m) kopiert

configuration.yaml  
coordinator\_backup.json  
m/database.db

Kleine Frage, muss die Datei configuration.yaml von Gladys geändert werden, sobald alles eingerichtet ist?

Danke 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [29. März 2024 um 14:02 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/3 "2024-03-29T14:02:06Z")

</div>

> [@prohand](#):
>
> Ja, das ist möglich, indem die folgenden Dateien an den Speicherort (/var/lib/gladysassistant/zigbee2mqtt/z2m) kopiert werden

Genau 🙂

> [@prohand](#):
>
> Kleine Frage, muss die Konfigurationsdatei configuration.yaml von Gladys geändert werden, sobald alles eingerichtet ist?

Wenn du die Oberfläche nicht anfasst, normalerweise nicht, besonders wenn du Informationen anfasst, die nicht von Gladys geändert wurden 😉 (also im Grunde alles außer Benutzername/Passwort/Pfad des Dongles).

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [29. März 2024 um 14:03 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/4 "2024-03-29T14:03:34Z")

</div>

Alles klar, danke 🙂

---

<div class="post-metadata">

**Author:** ![McFlyPartages](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mcflypartages/32/15670_2.png) [@McFlyPartages](https://community.gladysassistant.com/u/McFlyPartages)\
**Post date:** [29. März 2024 um 16:48 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/5 "2024-03-29T16:48:54Z")

</div>

Du kannst auch Geräte in einer Datei `devices.yaml` trennen und dann nur diese Datei ändern.

In der `/gladysassistant/zigbe2mqtt/z2m/configuration.yaml` muss hinzugefügt werden

```yaml
devices: devices.yaml

```

Und dann muss eine Datei `devices.yaml` hinzugefügt werden

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [29. März 2024 um 18:37 UTC](https://community.gladysassistant.com/t/importer-configuration-zigbee2mqtt-existant/8799/6 "2024-03-29T18:37:30Z")

</div>

Okay, danke für den Rat, im Moment reicht mir das so gut 🙂
