Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Tile trackers #412

Open
MarkAtwood opened this issue Dec 18, 2024 · 3 comments
Open

Use Tile trackers #412

MarkAtwood opened this issue Dec 18, 2024 · 3 comments

Comments

@MarkAtwood
Copy link

Is your feature request related to a problem? Please describe.

Be able to use Tile trackers

Describe the solution you'd like

Tile trackers are widely used and often already installed in people wallets, on keyrings, and on pets.

It would be be useful if bermuda was able to use them.

The Tile BLE protocol is not offically documented, but it has been reverse engineered, and a JS implementation is available at
https://github.com/lesleyxyz/node-tile

The user would have to either provide their tile login information, or would have to run some script with their tile login information, to get the authkeys and uuids for the Tile devices in their account.

Describe alternatives you've considered
I could buy new ble trackers, but I've already significantly invested in TIle devices.

@nkhdk
Copy link

nkhdk commented Dec 19, 2024

I added a Tile Mate just by finding its Bluetooth mac address, so it should already work, mine does (no logins, authkeys and so on).

@Lash-L
Copy link
Contributor

Lash-L commented Dec 19, 2024

Hi! I added support for tiles via a naming update i did.

image

What more does using the ble protocol give us that you're looking for?

@agittins
Copy link
Owner

@MarkAtwood thanks for the request. Is there any issue with using tiles in Bermuda currently? As @nkhdk and @Lash-L have noted, as long as the MAC address is known they should function OK. Are there tiles which change their MAC address over time or some other issue preventing their use on your system?

As for the rest of the protocol (nice find, by the way!), these features would be ideal (imo) for adoption in the official core Tile integration, https://www.home-assistant.io/integrations/tile

It looks like recentish (2022 Tile Mate?) tiles might randomise their mac address every 30 minutes or so, is this the root of your issue, perhaps?

Also note that if your phone is actively connected to a tile it's unlikely that the tile will continue to send broadcasts.

If they do rotate their mac addresses, I would suggest that the "correct" fix would be for the tile integration in core to discover and maintain the current mac address in some way, then I would be happy to modify Bermuda to look for any configured tiles in the tile integration and automatically track them in Bermuda - the same way that Bermuda currently handles Private BLE Devices.

I have no plans for Bermuda to support making active connections to devices, as this is highly device-specific and should be done by dedicated integrations - but I am very keen to integrate with those integrations in order to provide an automatic, seamless setup experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants