# BT and MQTT configuration problem

**URL:** <https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054>\
**Category:** Configuration\
**Created:** [February 24, 2026, 5:16pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054 "2026-02-24T17:16:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DL\_STUDIO](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/dl_studio/32/20197_2.png) [@DL\_STUDIO](https://community.gladysassistant.com/u/DL_STUDIO)\
**Post date:** [February 24, 2026, 5:16pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054/1 "2026-02-24T17:16:21Z")

</div>

Hello,

New to Gladys and used to tinkering with Home Assistant, I wanted to migrate for greater simplicity. However, I’m encountering several problems following a bad network configuration that crashed my Unraid server.

**My Configuration :**

- **Hardware :** Lenovo ThinkCentre M710q.

- **Stockage :** DAS TerraMaster 4-bay (USB).

- **Dongles :** Zigbee (on /dev/ttyACM0) and Asus BT500 Bluetooth.

- **Gladys :** Installed via Docker on Unraid (currently in Bridge mode on port 8006 to avoid conflicts).

**The problem :**

After attempting to configure the Bluetooth dongle, I switched Gladys to Host network mode, which caused a complete Unraid crash (IP/port conflict) and corruption of my boot key. I had to recreate a «&nbsp;New Config&nbsp;» and delete the corrupted Docker image.

Since then, I have two major issues:

1. **MQTT and Zigbee services :** The built-in containers no longer exist. I tried a manual reinstallation via Unraid’s Apps tab, but Gladys doesn’t seem to communicate with them.

2. **Bluetooth (Asus BT500) :** My dongle is still not recognized in the Gladys interface («&nbsp;No device found&nbsp;»). I have enabled Privileged mode and tried a USB passthrough via /dev/bus/usb, but without success.

Do you have any tips to stabilize Bluetooth on Unraid and correctly link the MQTT/Zigbee services after such a crash?

Thanks in advance for your help!

Regards,

Didier

---

<div class="post-metadata">

**Author:** ![mutmut](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mutmut/32/14064_2.png) [@mutmut](https://community.gladysassistant.com/u/mutmut)\
**Post date:** [February 24, 2026, 8:17pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054/2 "2026-02-24T20:17:11Z")

</div>

Hi @DL_STUDIO and welcome to Gladys.

I’ll try to help you with the Docker and Gladys side, but not Unraid (I only know it by name).  
Are you using `docker run` or `docker compose`?

For network mode, you absolutely need to be in `host`.  
For the port, you can use `8420`.  
For the directory mapping, I’d say `/mnt/user/appdata/gladysassistant:/var/lib/gladysassistant` provided you of course have a `gladysassistant` directory in your `appdata`, otherwise you’ll need to adjust the path.

Do you need the zigbee2mqtt integration AND the MQTT integration?  
If you only want zigbee, the zigbee2mqtt integration already manages 2 containers: zigbee2mqtt and mosquitto.  
If you need to manage virtual devices and/or subscribe to topics coming from other systems, then you need to enable the MQTT integration (hope I’m being clear 🙄 ).

I’m not a Docker command-line specialist since I do everything through Portainer to add/modify/remove, but you can already run a `docker ps` to see what’s running and a `docker ps -a` to see everything that exists.  
A container from the integrations can be dead and you would then need to remove it with `docker rm nom-container`.

Okay, moving on to Bluetooth and I’ll be quicker because I don’t have it 😬  
What will you use BT for?  
According to the [doc](https://gladysassistant.com/fr/docs/integrations/bluetooth/), it’s only for detecting phone presence.

---

<div class="post-metadata">

**Author:** ![DL\_STUDIO](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/dl_studio/32/20197_2.png) [@DL\_STUDIO](https://community.gladysassistant.com/u/DL_STUDIO)\
**Post date:** [February 24, 2026, 10:26pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054/3 "2026-02-24T22:26:59Z")

</div>

Hello,  
So I was so fed up that I did a clean install … For Bluetooth I would like to set up a presence detection system using key fobs as explained in the

---

<div class="post-metadata">

**Author:** ![DL\_STUDIO](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/dl_studio/32/20197_2.png) [@DL\_STUDIO](https://community.gladysassistant.com/u/DL_STUDIO)\
**Post date:** [February 24, 2026, 11:32pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054/4 "2026-02-24T23:32:36Z")

</div>

I managed to get my tweak working on the Asus BT500. The problem was a conflict with Unraid’s port 80.

Here’s the ultimate method to make everything work perfectly:

#### Step 1 : Install Bluetooth drivers on Unraid

Since Unraid is lightweight, you need to teach it to speak «&nbsp;Bluetooth&nbsp;».

1. In Unraid, go to the **Plugins** tab \> **Install Plugin**.

2. In the URL field, paste this address to install the _un-get_ tool: `https://raw.githubusercontent.com/ich777/un-get/master/un-get.plg` and click **Install**.

3. Open Unraid’s **Terminal** (the `>_` icon at the top right).

4. Type `un-get update` and press Enter.

5. Type `un-get install bluez` and press Enter. (This installs the drivers).

#### Step 2 : Turn on the server antenna

Still in the Unraid terminal, run the following command to start the Bluetooth service:

- `/etc/rc.d/rc.bluetooth start` _(Your Unraid server now recognizes your USB dongle!)_

#### Step 3 : The «&nbsp;Magic&nbsp;» Gladys Docker configuration

Go to Unraid’s **Docker** tab, click the Gladys Assistant icon and choose **Edit**. Make exactly these changes:

1. **Network Type :** Set it to `Host` _(required to see the radio antenna)_.

2. **Clean the old config :** Remove your old Port rules (e.g. `8006:80`) and your old Bluetooth USB devices (e.g. `--device=/dev/bus/...`).

3. **Create the DBUS bridge :** Click _Add another Path…_

4. **The anti-crash tweak (Most important!) :** To prevent Gladys from crashing your server by using port 80 (already taken by Unraid), click _Add another Path…_ and create this variable:

#### Step 4 : Apply and Scan!

1. Click **APPLY** at the bottom to recreate the container.

2. Go to the Gladys interface in your browser (e.g. `http://IP_OF_YOUR_SERVER:8006`). Your Unraid won’t crash!

3. Go to **Integrations** \> **Bluetooth**. The error will be gone. You can start a scan and detect your key fobs, thermometers, etc.

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [February 25, 2026, 7:25pm UTC](https://community.gladysassistant.com/t/probleme-de-configuration-bt-et-mqtt/10054/5 "2026-02-25T19:25:57Z")

</div>

Thanks for all that information!  
Personally, I have an Unraid NAS, so that can always come in handy! 👍
