# \[RESOLVED\] MQTT connection issue with Sonoff

**URL:** <https://community.gladysassistant.com/t/resolu-probleme-de-connexion-mqtt-avec-sonoff/6095>\
**Category:** Configuration\
**Created:** [February 5, 2021, 6:12pm UTC](https://community.gladysassistant.com/t/resolu-probleme-de-connexion-mqtt-avec-sonoff/6095 "2021-02-05T18:12:53Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![AlexTrovato](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/alextrovato/32/10705_2.png) [@AlexTrovato](https://community.gladysassistant.com/u/AlexTrovato)\
**Post date:** [February 27, 2021, 8:39pm UTC](https://community.gladysassistant.com/t/resolu-probleme-de-connexion-mqtt-avec-sonoff/6095/24 "2021-02-27T20:39:43Z")

</div>

The front end only receives the real password if embedded MQTT is used (otherwise it’s a fake password ` ********* `). And the ability to display it is also only available for an embedded broker.

The password is randomly generated as soon as you switch to «&nbsp;embedded broker&nbsp;» mode, but it can be modified from the configuration page, which also modifies it on mosquitto.

I chose to hide the password if it is not managed by Gladys (connection to an external server).

I may have missed something, but if it needs to be fixed, my PC is all hot!

---

_[View the full topic](https://community.gladysassistant.com/t/resolu-probleme-de-connexion-mqtt-avec-sonoff/6095)._
