Does bermuda ignore iBeacons with same MAC? #675
Replies: 3 comments 12 replies
-
|
Howdy! If you include a diagnostics where both UUIDs have been seen in the last few seconds I'll be able to see exactly what's happening in your system, but generally speaking:
So if you'd like just a simple non-motion aware tracker, have bermuda watch the MAC address, but if you want to leverage the movement information, you can add both iBeacon UUIDs to Bermuda, and group them for an overview and use the movement one in particular for "they're on the move!" automations. That said, my memory might be faulty on this, and also as I don't own any Bluecharm devices, the support might have broken or changed over the last few versions inadvertently, so let me know if this doesn't match up with your observations! 😅 |
Beta Was this translation helpful? Give feedback.
-
|
The diagnostics shouldn't have any personal info, except for the device and area names, which might be a concern. You can attach here or if you prefer feel free to email it to me - ash@ajg.net.au Also really helpful is to use the History feature in HA to show the timeline of status changes etc, like this: Easiest way is to trim down the reported range to cover a range of maybe 20 mins to an hour, and use the green "select device" to add the trash can devices, that way it will show all the sensors for those devices - particularly useful are the "area" sensors. If you could provide the diagnostics after things get "stuck" where both devices are being updated, that will probably be the most helpful, but you could also include diags at other times along the process, as the diags only includes the current state and only 10 to 30 seconds worth of history. It's quite possible that the feature is buggy, as I don't have any bluecharms and I haven't worked out how to create tests for that sort of thing (PSA: If anyone has tips on how to set up the testing to support this sort of state checking I'd love your input!) That's weird that the devices weren't showing up in Bermuda's drop-down list. I assume they weren't already selected? |
Beta Was this translation helpful? Give feedback.
-
|
What you are describing as the bluecharm feature is certainly how it's meant to be working in Bermuda, and I haven't had reports of a regression from the other users already using it this way - so it might be a bug and those other users no longer use Bermuda, or it might be a config or environmental issue in your system. I can't tell because your description isn't as detailed as a diagnostics, so I can't get all the details of your setup. Anyway, to give you some broad overview of how the Bermuda internals work in this area: Bermuda has things it considers "devices".
Scanners (proxies) are also normal devices but have additional properties. HA receives advertisements from "normal" devices, via proxies. Bermuda updates the normal device with the advertisement data from each scanner, keyed by scanner MAC and source device MAC. To Bermuda, an advertisement ties a scanner "device" to a normal device (ie, not a metadevice). Bermuda looks at all "normal" devices, and decides if any of them are providing information that is relevant to a metadevice. If so, it updates the metadevice property Take a look at the diagnostics in the If you search the bermuda code for "bluecharm" you'll find the specific bit where it does the special case processing. Just a heads-up that I don't have the bandwidth to accept LLM-generated patches unless they've already been hand-reviewed for function and smell - indeed it was this feature which first exposed me to the time-wasting, soul-destroying horror of reviewing vibe-coded vomit that wasn't even tested by the submitter, and it completely destroyed my motivation to work on Bermuda for weeks. Also note that I am not going to accept a patch without the evidence I need to confirm and reproduce the bug - but you may well gather that data as you work toward finding a solution. Some further reading that might be helpful: #586 - fixing a regression for the bluecharm support but please, do this FIRST:Please send me a diagnostics. I spend hours explaining the inner workings of bermuda to help people troubleshoot, but so often it's something I could have spotted in 30 seconds of looking at a diagnostics. Especially when it comes to bug reports (which this is, since this is a supported feature that isn't working right, but ONLY on your system, as far as we know - since other people are using bluecharm's motion feature and they haven;t yet reported a regression). |
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
-
I have a few Blue Charm BC04P trackers, by default they all have UUID 1B6295D5-4F74-4C58-A2D8-CD83CA26BDF4, Major 3838 and Minor 4949.
I have changed the Minor to be unique (1,2,3).
Now this beacon also has a movement sensor which temporarily advertises under a different UUID when motion occured. Specifically, it just adds 1 to its UUID (see https://bluecharmbeacons.com/bc04p-beacon-deep-dive-into-the-details).
With the iBeacon integration, a second beacon started popping up on movement.
In Bermuda, I would expect a new iBeacon with UUID 1B6295D5-4F74-4C58-A2D8-CD83CA26BDF5, Major 3838 and Minor 1 to show up temporarily. But it doesn't. In fact, the original iBeacon keeps updating even though motion occured.
This makes me wonder: Since the MAC stays the same, does bermuda ignore the different UUID and still treat it as the same beacon?
If not, what else could be the issue?
Beta Was this translation helpful? Give feedback.
All reactions