Commit Graph

35 Commits

Author SHA1 Message Date
Mike A.
e8d05b69bf refactor: combine utils into single import internally 2025-09-11 16:29:01 +02:00
Mike A.
2f1ca10def feat: export all classes in top-level package 2025-09-11 16:19:23 +02:00
Mike A.
066fd0a714 fix: resolve typing issues in scanner 2025-09-06 21:56:19 +02:00
Mike A.
05ea2c9a74 feat: re-introduce location history 2025-09-06 21:29:00 +02:00
Mike A.
fbaf57ed09 feat!: implement key alignment algorithm for accessories
BREAKING: due to fundamental issues with Apple's API, this commit also DEPRECATES the `fetch_[last_]reports` methods on Apple account instances. It has been replaced by a method named `fetch_location`, which only returns a single location report (the latest one) and does not support setting a date range.
2025-09-05 00:36:37 +02:00
Mike A.
def535f819 docs: somewhat fix references in source code 2025-08-04 16:16:30 +02:00
Mike A.
9017efc7be refactor: specialize Serializable subclasses for stronger type safety 2025-08-03 21:42:08 +02:00
Mike A.
07a3fed11e feat: make LocationReport serializable 2025-07-23 20:24:34 +02:00
Mike A.
e74197372f fix(reports): split key queries into devices
Apple only returns up to 20 location reports per device.
2025-07-10 16:25:30 +02:00
Mike A.
5e64915621 feat!(reports): Migrate to new acsn API
Apple no longer returns the `published_at` and `description` fields on location reports, so these have been deprecated.
2025-07-08 13:19:14 +02:00
ivanik
a2d705cfe5 Update fetch_reports to accept lists with HasHashedPublicKey and RollingKeyPairSource at the same time 2025-06-11 22:17:26 +05:00
Nick Crews
6de83e81ac chore: use loggers, not top-level logging
Aslo fix up a few other ruff lint errors.
2025-05-25 18:14:56 -06:00
Mike A.
10aee19e93 feat: Support fetching of multiple accessories at once 2025-01-23 16:27:28 +01:00
Mike A.
8fb2338914 fix: Manually filter fetched reports to adhere to date ranges
Fixes #83
2024-12-23 17:36:24 +01:00
Mike A.
78d472ba0d Nitpicking 2024-11-20 21:15:37 +01:00
Philip Magyar
263cd5bd16 fix commit errors 2024-11-20 09:12:19 +01:00
pre-commit-ci-lite[bot]
a4b753287e [pre-commit.ci lite] apply automatic fixes 2024-11-20 08:06:31 +00:00
Philip Magyar
f45b9723f7 fix confidance/horizontal acc, add mac address 2024-11-20 09:04:05 +01:00
Mike A.
1c185195b0 chore: Reformat files 2024-09-03 17:46:12 +02:00
Mike A.
62900f96de reports: Fix equality check between LocationReports 2024-08-04 17:41:51 +02:00
Mike A.
9fb517b32f reports: Add LocationReport.key property for decrypted reports 2024-07-21 21:22:30 +02:00
Mike A.
03f00ee4a0 reports: Support fetching non-decryptable reports 2024-07-21 21:16:21 +02:00
Mike A.
b631d0b8bd reports: update decode error message 2024-07-11 20:09:10 +02:00
robertsmd
e44c72f83d fix report decryption for MacOS 14+ 2024-07-02 16:59:26 -04:00
Mike A
8d7cb827fa reports: skip undecodable payloads rather than raising 2024-04-26 20:33:11 +02:00
Mike A
83f7077c12 reports: Allow passing FindMyAccessory directly into BaseAppleAccount.fetch_reports 2024-04-24 15:42:51 +02:00
Mike A
e8c1541f50 reports: fetch max. 256 reports at once 2024-04-23 21:43:15 +02:00
Mike A
3cc97863e2 reports: convert timestamps to local timezone 2024-04-23 20:43:43 +02:00
Mike A
9143f0f41a chore(reports): Remove dead code 2024-03-05 23:56:59 +01:00
Mike A
c9c03199d0 Fix typing issues from merge 2024-02-10 22:04:37 +01:00
Mike Almeloo
804333e357 Merge branch 'main' into chore/stricter-typing 2024-02-10 21:54:18 +01:00
Mike A
128ce84749 Make key fetcher stateful
Prevents unnecessary HTTP session closing
2024-02-10 21:26:55 +01:00
Mike A
8f2572af44 Enforce @override decorators 2024-02-10 20:10:03 +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