51 Commits

Author SHA1 Message Date
Ian Foster
d9fd6eebb8 fix TC001 2026-01-08 14:33:52 -08:00
Ian Foster
aec7ef08db Merge upstream changes 2026-01-08 14:32:33 -08:00
Ian Foster
6e670c8e88 fix commit hook warnings 2026-01-08 14:25:53 -08:00
pre-commit-ci-lite[bot]
2c34335c6d [pre-commit.ci lite] apply automatic fixes 2026-01-08 22:11:38 +00:00
Ian Foster
99de7d0918 update airtag example:
* supports multiple airtags
* prints airtag name and battery in addition to location
* allows specifying account.json file as flag
2026-01-08 14:09:28 -08:00
Mike A.
b09db540ed refactor: remove redundant code from scanner example 2025-11-27 17:43:32 +01:00
Mike A.
22085a680e Fix scanner example 2025-11-27 17:39:40 +01:00
Andrew Gaylord
3dc5fb579f Allow user to specify printing to file 2025-11-26 18:22:28 -05:00
Andrew Gaylord
688369b8b4 Extract rssi/device type, fix crash, and move device printing 2025-11-21 11:52:53 -05:00
Mike A.
24b8080cee refactor: rename airtag example 2025-09-19 14:53:09 +02:00
Mike A.
34a324128c refactor: update examples to import from top-level package 2025-09-11 16:28:23 +02:00
Mike A.
4e3e30d0bb feat: add plist -> json conversion example 2025-09-08 00:53:15 +02:00
Mike A.
ed94179b32 fix: resolve import error 2025-09-08 00:52:59 +02:00
Mike Almeloo
21bcb89bbd Merge branch 'main' into fix/accessory-key-drift 2025-09-08 00:51:18 +02:00
Mike A.
04918946af feat: support airtags in scanner example 2025-09-08 00:43:30 +02:00
Mike A.
48007752af fix: Make examples work 2025-09-06 21:40:08 +02:00
Mike Almeloo
35fef82248 Merge pull request #146 from malmeloo/fix/examples
fix(examples): fix plist loading error
2025-08-25 12:54:40 +02:00
Mike A.
f771ad97d5 refactor: abstraction for plist reading 2025-08-07 21:06:48 +02:00
Mike A.
1d3affb3c2 Merge branch 'main' into pajowu/aligment 2025-08-07 20:46:31 +02:00
Mike A.
0014d03150 chore: update examples 2025-08-03 21:45:11 +02:00
Mike A.
21ef4fe292 Merge remote-tracking branch 'refs/remotes/origin/main' into feat/better-serialization 2025-07-23 19:48:38 +02:00
Mike A.
6d892b2c79 feat: make device_scanner.py take check key as argument 2025-07-18 16:16:45 +02:00
Mike A.
17e2987ab3 fix(reports): Update examples to use new api 2025-07-16 19:59:04 +02:00
Mike A.
a0e85a0ed4 fix(examples): fix plist loading error 2025-07-10 16:41:09 +02:00
Nick Crews
5142350241 feat: adjust the ser/deser logic of AppleAccount 2025-05-25 17:51:24 -06:00
pajowu
ed098cc8ce Add option to align FindMyAccessories key generation
Sometimes the key generation diverges for example if the accessory has no power. FindMy solves this be re-aligning the key generation if a btle connection is established. FindMy.app stores there alignment records in the `KeyAlignmentRecord` directory.

This PR extends the FindMyAccessory class to read those records during `from_plist`-generation and re-sync the key generation by this
2025-04-15 15:23:36 +02:00
Mike A.
1c185195b0 chore: Reformat files 2024-09-03 17:46:12 +02:00
Mike A.
47ee3c6201 scanner: support checking for device - key correspondence 2024-07-16 22:29:23 +02:00
Mike A.
88bd5194bb scanner: detect OF devices in Nearby state 2024-07-15 16:53:44 +02:00
Mike Almeloo
09691a1de7 examples: real_airtag: Show reports in chronological order 2024-04-28 23:29:26 +02:00
Mike A
3fc65b90a1 examples: Set all log levels to INFO 2024-04-25 19:52:01 +02:00
Mike A
5bc1e2dd3c examples: take inputs from command line instead of variable 2024-04-25 19:51:04 +02:00
Mike A
fe534931cf accessory: Integrate .plist reading into library 2024-04-25 19:37:01 +02:00
Mike A
83f7077c12 reports: Allow passing FindMyAccessory directly into BaseAppleAccount.fetch_reports 2024-04-24 15:42:51 +02:00
Mike A
5f4a02307a examples: remove hardcoded private key
It's a long-expired rolling key so good luck using it :-)
2024-04-24 11:31:03 +02:00
Mike A
4e213e5a48 reports: update real_airtag example 2024-04-23 21:36:46 +02:00
Mike A
a2672c3cc9 Update examples 2024-02-17 20:52:09 +01:00
Mike A
e18e179e95 Re-enable ruff in examples 2024-02-08 15:56:54 +01:00
Mike A
246b407e45 Update keygen to fix index alignment 2024-02-08 15:53:18 +01:00
Mike A
8ff3e0ee19 Fix silly typo 2024-02-07 23:38:49 +01:00
Mike A
612fe63408 Fix accessory key generation 2024-02-07 17:45:40 +01:00
Mike A
d4a5fcef10 Cleanup examples 2024-02-06 23:26:16 +01:00
Mike A
7e46afc5f3 Add experimental key derivation API for real airtags 2024-02-06 23:14:01 +01:00
Mike A
8d572b71d7 List extra data in scanner results 2024-01-05 21:55:21 +01:00
Mike A
15e0b910b3 Add BLE device scanning functionality 2024-01-04 17:18:22 +01:00
Mike A
e31f9ac745 Refactor entire module 2024-01-03 22:13:16 +01:00
Mike A
cf4213c8bb Fix leftover commented code 2024-01-01 22:08:40 +01:00
Mike A
1b18e0dfef Enforce strict typing 2024-01-01 21:47:06 +01:00
Mike A
e06274ca05 Add synchronous API wrapper 2023-12-31 15:00:54 +01:00
Mike A
0ab316aa25 Format 2023-12-31 14:02:56 +01:00