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

How to select a specific device/item #34

Open
serows opened this issue Jan 3, 2025 · 1 comment
Open

How to select a specific device/item #34

serows opened this issue Jan 3, 2025 · 1 comment

Comments

@serows
Copy link

serows commented Jan 3, 2025

I am very grateful to the developers because I can start a new research using FindMyHistory. But I have one problem there. I have many AirTags registered under one account and I want to run FindMyHistory only for specific devices. If there is an easy way to solve this problem, I would appreciate your support. (I'm a beginner of pyson)

Thank you in advance!

@varenc
Copy link

varenc commented Jan 12, 2025

FindMyHistory generates a unique csv file for each device. Can't you just look at the file for one specific device? Ignore the text in your terminal, and just look at the CSV file.

If you run:

$ python3 main.py --log_folder /tmp/your_log_folder

Then by default you'll see a path created with today's date like /tmp/your_log_folder/2025-01-12
Inside that folder you'll see a CSV file for each device. If your AirTag was called "My Car Key" you'd see /tmp/your_log_folder/2025-01-12/My Car Key_<SOME_ID>.csv

Does that work for you? To make FindMyHistory actually only generate the history for one specific device you'd have to modify the code, like changing this function to only accept keys matching a certain substring.

And all that said, if you find this project useful be sure NOT to upgrade macOS. Per #33, macOS 14.4 is now encrypting the FindMy data on disk and I haven't discovered a workaround yet. Don't upgrade if you find this project useful.

(I'm using an older mac I haven't updated to keep FindMyHistory working)

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

2 participants