Bluetooth: Presence Detection

ok, it works, otherwise I’ll see what I can do, make my contribution :wink:

[edit]
by the way I will probably also look into RFLink, to support RFXCom
[/edit]

Absolutely! :slight_smile: Don’t hesitate if you have any questions about Gladys development.

Some resources:

Hello everyone,
I’m taking the opportunity to follow up on the topic discussed here.
I have 3 nuts and would like to have a status of users present or absent from the house on the dashboard.
Problem: all configuration attempts have been unsuccessful. I can’t understand the triggers :frowning:
In the meantime, I’m a bit « grumpy », I feel like I don’t understand anything.
Does anyone have a tutorial to guide me? (I tried following the Gladys doc but nothing works => Définir la présence d'un utilisateur dans une scène | Gladys Assistant)

Thanks in advance

Hello @Fabichou! There is a specific tutorial about Bluetooth presence in the documentation:

Hey I’ll bounce back on that, in the scene view, I have 2 keychains, impossible to distinguish which one is whose.

image

It would be great to have the additional name in parentheses.

In the Bluetooth integration, you can rename each key to make it more readable :slight_smile:

After that, you’ll need to figure out which key is which :stuck_out_tongue: Maybe you should connect them one by one and give them a unique name?

As the topic revolves around Nuts and presence: I configured a Nut on Gladys for my presence that turns on the light of my entrance when it is detected. (this lamp goes through MQTT/Node-Red).
At first this worked very well, but now it seems that my Raspi where Gladys is installed « Freezes » (I can no longer connect to it either via SSH or HTTP and its two LEDs are fixed) when the nut is detected. (After returning home)
I don’t know where to start to find out where the problem comes from…

As is often the case if you’re not on an SSD, the SD card may be the culprit.

Can you try connecting a screen to see if it boots or not?

Apologies for the late reply, the PI starts up fine but after a while it freezes and becomes unreachable. I have to unplug/replug it for it to work again… I can add that I installed the Gladys image on it, did the Linux system updates and installed the Docker Node-red. I will test with another SD card (I don’t have one on hand at the moment)

I think I found the problem, I was displaying the Pi’s CPU usage with an « MQTT sensor » and Node-Red as in the example video. And, in fact, when Gladys was aggregating the sensor data, it was taking up all the RAM after a while…

@Xenicle Oh I see! I advise you to do a quick clean of these sensors that record a lot of values to avoid too strong a first aggregation :slight_smile: Did you manage to fix the problem in the end?

Yes, the problem was simply solved by removing CPU usage! :stuck_out_tongue:

I haven’t found a way to reduce the number of logs recorded by this type of sensor or to reduce them…