Skip to content

update airtag example#219

Merged
malmeloo merged 5 commits intomalmeloo:mainfrom
lanrat:airtag_example
Jan 8, 2026
Merged

update airtag example#219
malmeloo merged 5 commits intomalmeloo:mainfrom
lanrat:airtag_example

Conversation

@lanrat
Copy link
Contributor

@lanrat lanrat commented Jan 8, 2026

  • supports multiple airtags
  • prints airtag name and battery in addition to location
  • allows specifying account.json file as flag

lanrat and others added 3 commits January 8, 2026 14:09
* supports multiple airtags
* prints airtag name and battery in addition to location
* allows specifying account.json file as flag
@malmeloo
Copy link
Owner

malmeloo commented Jan 8, 2026

Nice additions! There are a few potential future improvements: the library has an experimental mixed/uniform "session manager" that could be used to store multiple airtags, but fetching locations for such a collection has not been implemented yet. Battery information parsing is currently also implemented for the scanner and should probably be added to LocationReport instead of being in the example code here. But both of those things can be changed later.

@malmeloo malmeloo merged commit 32d0304 into malmeloo:main Jan 8, 2026
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants