# Bluetooth problem on Ubuntu PC

**URL:** <https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209>\
**Category:** Configuration\
**Created:** [November 28, 2024, 5:29pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209 "2024-11-28T17:29:03Z")\
**Posts on this page:** 12\
**Page:** 2

<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:** [December 6, 2024, 5:10pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/21 "2024-12-06T17:10:47Z")

</div>

> [@gaetanb76](#):
>
> What I don’t understand is that Bluetooth works on the mini-PC (devices are seen), but not in Gladys. Certainly because they are two different libraries, one for each «&nbsp;device&nbsp;».

Indeed, the issue has nothing to do with the mini-PC, which works fine.

The problem comes from the library that is broken.

---

<div class="post-metadata">

**Author:** ![thekassmachine](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/t/ed8c4c/32.png) [@thekassmachine](https://community.gladysassistant.com/u/thekassmachine)\
**Post date:** [December 7, 2024, 2:02pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/22 "2024-12-07T14:02:37Z")

</div>

> [@gaetanb76](#):
>
> Bluetooth. I have NUT key fobs that I don’t use. I find presence detection isn’t great with them.

Thanks for the feedback and especially for the research.  
I too was planning to use NUT key fobs.  
There are surely alternatives to these key fobs; I need to look for other ideas to manage presence (I was thinking of checking smartphones on the network via LAN MANAGER)

---

<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:** [December 9, 2024, 6:56am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/23 "2024-12-09T06:56:17Z")

</div>

> [@thekassmachine](#):
>
> (I was thinking via checking smartphones on the network via LAN MANAGER)

Personally I’m neither a fan of Bluetooth scanning nor of LAN Manager for presence detection. Both are unreliable solutions.

The best approach is often to use your phone to create rules: if I leave this area, then set me as «&nbsp;away from home&nbsp;», otherwise «&nbsp;at home&nbsp;».

On iOS I do this with «&nbsp;Shortcuts&nbsp;» (official Apple app),

---

<div class="post-metadata">

**Author:** ![thekassmachine](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/t/ed8c4c/32.png) [@thekassmachine](https://community.gladysassistant.com/u/thekassmachine)\
**Post date:** [December 9, 2024, 7:23pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/24 "2024-12-09T19:23:03Z")

</div>

Why not? Yes, I’m curious.

---

<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:** [December 10, 2024, 6:39pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/25 "2024-12-10T18:39:48Z")

</div>

@thekassmachine I wrote this tutorial:

> **[Open API | Gladys Assistant](https://gladysassistant.com/fr/docs/plus/open-api/)**
>
> Nous proposons l'Open API Gladys Plus pour permettre aux utilisateurs Gladys Plus d'envoyer des requêtes API depuis l'extérieur de leur réseau.

---

<div class="post-metadata">

**Author:** ![Francis66](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/francis66/32/17375_2.png) [@Francis66](https://community.gladysassistant.com/u/Francis66)\
**Post date:** [March 18, 2025, 4:50pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/26 "2025-03-18T16:50:53Z")

</div>

I needed to tell Gladys whether I was at home or not.  
Unable to use the Bluetooth on my Android, I followed the Gladys Open API tutorial.  
Since my Android is recent, after installing the Tasker app I had to install Task

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [April 12, 2025, 9:11am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/27 "2025-04-12T09:11:04Z")

</div>

I have a robotic lawn mower not connected to Wi‑Fi, only via Bluetooth.

I’d like to know if it would be possible to use what’s found here to control it remotely, and especially to receive error messages directly via Gladys because if I don’t open the app I don’t get them.  
[https://www.alistair23.me/2024/01/06/reverse-engineering-automower-ble/](https://www.alistair23.me/2024/01/06/reverse-engineering-automower-ble/)

And in that case, a working Bluetooth module would be necessary.

---

<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:** [April 15, 2025, 6:29am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/28 "2025-04-15T06:29:39Z")

</div>

@gaetanb76 wouldn’t the solution be to use Node-RED?

I found this package:

> **[@diidum/node-red-contrib-husqvarna-automower-connect](https://flows.nodered.org/node/@diidum/node-red-contrib-husqvarna-automower-connect)**
>
> Node for controlling/monitoring Husqvarna mowers

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [April 15, 2025, 7:12am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/29 "2025-04-15T07:12:14Z")

</div>

Hello @pierre-gilles,  
Thanks for your reply.

That’s exactly what I was thinking of doing, going through Node-RED.  
I also saw that flow, but it only works with robots connected via Wi‑Fi using the API.  
I tried it just in case, even though I knew it wouldn’t work.  
I had an Automower Connect card installed, but it only worked for 3 years. It’s no longer working. A component appears to be fried. At €250, that stings.

That’s why I’d like to go through Bluetooth and use the Connect@home function which allows managing the robot and receiving error messages.

---

<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:** [April 17, 2025, 6:44am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/30 "2025-04-17T06:44:02Z")

</div>

In my opinion you’re going to have to do quite a bit of tinkering on your side for it to work 😛

ChatGPT can be your friend to code a small script that allows you to control this robot vacuum, and to plug this script into Gladys using either Node-RED or Gladys’s MQTT API.

---

<div class="post-metadata">

**Author:** ![gaetanb76](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/gaetanb76/32/5911_2.png) [@gaetanb76](https://community.gladysassistant.com/u/gaetanb76)\
**Post date:** [April 26, 2025, 2:18pm UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/31 "2025-04-26T14:18:09Z")

</div>

Well, my robotic lawnmower is broken.  
I’ll get another one with Wi-Fi in addition to Bluetooth, so there’s no need for the extension in that case.

---

<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:** [May 1, 2025, 7:25am UTC](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209/32 "2025-05-01T07:25:30Z")

</div>

Try to get one that’s actually open 🙂

[Previous page](https://community.gladysassistant.com/t/probleme-bluetooth-sur-pc-ubuntu/9209.md?page=1)
