Presence detection with Bluetooth key TAGs

Hello everyone,

I’m stuck in one place right now. Begging for help :smiley: Thanks for any suggestions.

I’m running HomeAssistant in my workshop and I want to automate heating by using Bluetooth key tags. Everyone working here has their set of keys, so that way the HA will know if anyone is present and if it should turn the heating on.

I bought a few Bluetooth tags from a local supplier and I was able to add them to HA via ESP home Bluetooth proxy - by adding their MAC address in ESP32 config. However, I am not sure how to have a simple binary sensor that will tell me if the tag is present or not.

I found many topics about similar cases, but I am very confused and not sure what to choose.

So, my question is - what is the best solution for this? Hardware and software.

I have only one room in my workshop, where one ESP32 is enough (currently using it for 3 Xiaomi Door sensors and 2 temp sensors). I don’t need to track tags location, just if they are present or not. I’m running HA on older HP 8300 USDT with Proxmox. No physical Bluetooth adapter on this machine.

My concern: will this one ESP32 handle 4 more devices? Isn’t it better to add one more ESP32 (or other Bluetooth hardware - please advise me)

What software solution should I use? I’m very confused about if I should use “monitor”, “room assistant”, or “ESPresence”… I don’t know what is the simplest SW for my use case.

Thanks to anyone for help. Let me know if there is any additional info that I need to provide.

Since I presume non of your sensors require an active connection based on their type, there really isn’t a limit to the number of devices an ESP BT Proxy device can handle/listen for.; the only hard limit is active connections.

Here’s what I use to track my trashcan being near a BT Proxy device that happens to be close by to where it sits when it’s near the curb for pickup (and far away from where it sits the rest of the time).

binary_sensor:
  - platform: ble_presence
    ibeacon_uuid: '(Enter your device's UUID here)' 
    name: "Trash Can Curb UUID"

Thanks a lot, that’s exactly what I wanted. I will try it out tomorrow and reach back if it works or not :slight_smile:
Thanks for your time!

So, just to confirm, it works so far :slight_smile:

I had to pair the tags with the official app provided by the manufacturer, updated firmware and then unpair them. Otherwise the tags would turn off by itself. After this procedure, they work without the app.

Thanks again.