Bermuda - Bluetooth/BLE Room Presence and tracking [custom integration]

Hi @duceduc,

I am epiriencing the same problem. Iphone 14 with all updates work only “in hand”. You dont need to unlock phone if you get it, muve few centinmeters then it imediatelly works. I dont know how to solve this. May be to have a sensor, that will hold the last location until change state.

Jan

There is! :grinning: It’s disabled by default, but if you click the “+n disabled entities” you should find the “last seen area” entity.

@Robobo1111 huzzah! I’m glad you like it and that the on-boarding process was smooth for you! Your feedback is very much appreciated :grin:

1 Like

Hi! I’m trying to setup Bermuda to track my phone around my apartment, but after adding the Private BLE Device integration and adding my IRK, Bermuda doesn’t seem to recognize the device and add it’s tracker. Am I doing something wrong here?

You’re on the right track, so not sure why it’s not showing up. You could try restarting HA, or reloading the Bermuda integration. In “Device Info” it should show both “Private BLE Device” and “Bermuda”.

Which version of Bermuda do you have installed? Did you installl it via HACS, or manually?

Oh… one possibility is that you might have “installed” Bermuda (via HACS) but perhaps not “added the integration”, perhaps? does Bermuda show up in the previous screen, on the list of active integrations?

Reloading Bermuda did it :sweat_smile:
I had added the integration already, it was only a matter of reloading :man_facepalming:t2:
Thank you! Works now haha

I really like this integration. The hardest part for me was to get the ESP devices working. I tried to add the Bluetooth proxy which resulted in a rebooting ESP device, but after using https://esphome.io/projects/?type=bluetooth it works flawlessly.

1 Like

Omg thats it! Thank you @agittins.

1 Like

Great! One or two other folks had a similar experience, so I think something might be preventing Bermuda from picking up the addition of PBLE at run-time. I’ll do some digging on that to see why at some point.

2 Likes

@agittins I still will have to create new one that will maintain last known location for specified time. “last seen area” keep area until it is changed by entering to another area. So if i leave home it keep last known area also in case i am not at home for few hour.

I’ve been using this for a little while with not a great deal of success so decided to add a few more nodes to detect presence.

I have one that’s got a skull and crossbones next to it :
Screenshot_2025-08-05_11-56-07

And I’m trying to work out what the issue is. I can update (flash) via esphome wirelessly from my HA instance, it just seems dead as far as Bermuda is concerned.

Anyone got any ideas as to what might be going wrong? Device is configured the same as all the other ones.

1 Like

Bermuda Release - v0.8.5 Perception of Prodigal Proxies

This release should improve detection of proxies that have dropped off and re-joined the network, and also removes the log spam that was happening in those cases. (@ScaredyCat can you see if this version fixes your issue?)

Also nice is the initial “floors” support (it’s nothing fancy, it just creates a sensor that states the floor relevant for the currently-detected “area” - this doesn’t (yet) have any improvements for reliably distinguishing between floors).

This release also fixes some errors/warnings that came up in the 2025.8 betas, so well-worth installing before/when you dive into 2025.8.0 later today! :grin:

Changes

Full release note and discussion topic: v0.8.5 Perception of Prodigal Proxies · agittins/bermuda · Discussion #646 · GitHub

6 Likes

Do you have a link to the script that is installed? I’ve got a python script to push settings to all Shelly’s and I’d like to add that to my script using the API: Script | Shelly Technical Documentation

edit: This one? shelly-script-examples/ble-shelly-scanner.js at 3e8f44660ceabe65ab47cc497a4d3232f47a2f48 · ALLTERCO/shelly-script-examples · GitHub

edit2: Nope, scrolled past your message and saw the correct one. Is there any public link for that script?

I’d suggest looking at the Shelly integration’s code and using the same source for whatever it sends, so that you don’t get caught out by future changes - or you could have your script turn the option on in ha, so you’ll always get the “current” implementation used by the Shelly integration.

Took some searching, but looks like aioshelly/aioshelly/ble/const.py at 03f8b20b18ea026dc81a9d5decc2d4c037e442bd · home-assistant-libs/aioshelly · GitHub is the source :slight_smile: Got something to do this weekend, see if I can get this working.

So I have been playing around with Bermuda for a few days now (already had experience with ESPHome devices, and Ble Tracking, and ESPresense). So setup was pretty quick and painless. After some tweaking and playing with Global, and Scanner offsets, I have 10 devices that usually hit within about 5ft of the actual laser distancing (a lot depends if the device is open air or in a pocket) to the BLE proxy. I have one ESP Proxy, and an BLE USB with external Antenna on my HAOS PI. and have a couple more ESP devices on order for another room on the first floor for a 3rd point and one for upstairs for testing 3D environment. I’m excited to see how that all pans out.

A few rambling thoughts:

  1. Some what I would call crucial sensors are disabled by default when adding a device, which once I noticed and turned them were extremely helpful (the Bermuda action that pulls back all details for a beacon was just too TLDR). Distance to, nearest RSSI, and unfiltered are great to enabled (should maybe be enabled by default?)

  2. it does take a lot of tweaking of the settings to hone in correct distances. I found starting low on the reference power and working up, rather than starting at 59 and working down was most accurate and easy).

  3. tweak the scanner offsets to get an accurate distance from each Proxy.

  4. The integration is looking great! The one thing that was hoping to see when I saw it leverages triangulation rather simple presence (home/not home), (in RoomX) is either a floors plan to identify the room layouts either in Bermuda or HA. HA now have a House dashboard but is missing the x,y, and z coords and distance measurements of rooms. If HA had the ability to enter in room dimensions such as LxW and room adjacencies (Room touches B and C) than one wouldn’t need a map/floorplans.

I look forward to see what great things are ahead for this integration!

Id like to ask if theres something im missing in the ios setup…
Seems i have the frequent issue where an ios device will stop broadcasting when the screen goes off… I see a similar issue reported on github #579, but it was closed.

image

Are there any configurations ive missed in regards to the iphone 12 ios v15?
my Android v12 seems to work work fine.

Im a brand new Bermuda user and have installed the latest in regards to HA/EspHome/Bermuda

Are you using the private BLE integration to monitor your phone?

Yes, i used the ESP32 peripheral application to acquire the IRK and add it to the Private BLE Devices integration.

Now I’ve noticed that the user went to sleep with their phone, it doesn’t chime in at all :frowning:

fwiw, Both the working android, and this non working ios device have the companion app installed. Hope i didnt leave out any other relevant info

Hi All, hoping some one can point me in the right direction…I’m trying to get my tile tags connected to Bermuda…but I cannot for the life of me identify which BLE entries are tiles.
I’ve tried a few BLE scanners on my phone but I don’t see anything to identify a tile. I’ve connected to a few random devices and there just “numbers” which I cannot relate to anything within the tile app.
If this isn’t possible could anyone provide suggestions for tags that will work within the house, nad that I can track while outdoors travelling?
Any advice / guidance appreciated!

@KingFisher you have a slight misunderstanding in what Bermuda does.
Firstly there are no connections, compatible beacons unsolicited advertisements, to which your ble proxies will detect. Your proxies obviously then aren’t available “outdoors while traveling”. But inherently that’s not an issue because you don’t need a positive detection when away, but rather just no detection suggesting you’re not.
There are other options to provide connections and positive away detection, but Bermuda is not it.

The Bermuda documentation is quite extensive in giving advice and guidance.