Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

henrikzujeddeloh/airtag-battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirTagBattery

THIS SCRIPT DOES NOT WORK FOR macOS 14.4 AND LATER! Reason: FindMy cache file became encrypted.

Apple removed the battery status of AirTags from the FindMy app. This script reads the battery status from the FindMy cache for all AirTags and displays their respective battery level.

Only works for macOS!

Usage

Make sure the terminal has full disk access: System Settings > Privacy & Security > Full Disk Access > allow for Terminal (or iTerm)

The FindMy app may need to be opened to receive the battery status of the AirTags before this script is run.

Python script

  1. Make sure all requirements are installed by running pip3 install -r requirements.txt.

  2. Run python3 airtag-bat.py

pip

  1. Install with pip3 install airtag-bat

  2. Run anywhere with airtag-bat

Sample Output

image

About

Gets battery state of AirTags

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages