# Issue setting up Zigbee2mqtt

**URL:** <https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899>\
**Category:** Configuration\
**Created:** [February 7, 2022, 1:54pm UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899 "2022-02-07T13:54:24Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [February 7, 2022, 7:38pm UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/21 "2022-02-07T19:38:37Z")

</div>

So, does that mean there are 2 MQTT brokers running on the machine? One in the MQTT container and one in the Zigbee2MQTT container? If that’s the case, I think it’s redundant in terms of resources, and I don’t understand the purpose. Is there a technical reason, or is the Zigbee2MQTT container designed that way?

---

<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:** [February 7, 2022, 8:10pm UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/22 "2022-02-07T20:10:50Z")

</div>

There are 2 brokers in 2 containers.

This allows for simple isolation, as a broker is very resource-efficient.

---

<div class="post-metadata">

**Author:** ![Terdious](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/terdious/32/6316_2.png) [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Post date:** [February 7, 2022, 8:28pm UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/23 "2022-02-07T20:28:47Z")

</div>

This allows, among other things, to be able to disable the MQTT integration in Gladys settings if the user no longer needs it. The zigbee2mqtt integration, independently, will still be able to function.

In the future, if another integration with another protocol requires an MQTT broker, it will also have its own MQTT container. As @VonOx said, this allows to completely isolate the integration and to be sure that the broker is configured as it should be for it. Several integrations could very well use the same topics to communicate with Gladys for example, thus preventing any conflicts.

Hopefully the explanations have been clear.

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [February 7, 2022, 10:16pm UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/24 "2022-02-07T22:16:57Z")

</div>

@VonOx @Terdious  
Ok, given your two responses and seen from this angle, it makes sense both in the technical choice (relevant in this case) and in the response given to @Retlaw (more judicious with these elements)! 🤔 This discussion will at least have provided more precise insights into the technical side of integrations in gladys 😉 It’s true that isolation in containers makes everything more robust in terms of operation and more portable! 👍 The next container, is it vosk? Or kalliope? 😓 🤣

---

<div class="post-metadata">

**Author:** ![cce66](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/8797f3/32.png) [@cce66](https://community.gladysassistant.com/u/cce66)\
**Post date:** [February 9, 2022, 12:03am UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/25 "2022-02-09T00:03:14Z")

</div>

Hello @VonOx @Terdious

I’m getting back to you guys with a question that’s been bothering me. On the Gladys side, there’s a strong password for MQTT integration, but for Zigbee2MQTT integration, there isn’t one (at least that’s what I saw when I went to port 8080). How is security managed at this level in this case?

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

---

<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:** [February 9, 2022, 10:51am UTC](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899/26 "2022-02-09T10:51:32Z")

</div>

There are none 😱  
An issue has been created about this [[Zigbee2Mqtt] As a User, I want the zigbee2mqtt interface to be more secured · Issue #1407 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/issues/1407)  
If you want to contribute, don’t hesitate 😉

[Previous page](https://community.gladysassistant.com/t/probleme-mise-en-place-zigbee2mqtt/6899.md?page=1)
