Get all metadata from the Airtags (lat, lon, geocoding information, precision range, battery status). This script is a very basic script to write the data to a CSV for processing in Excel or Numbers. I am sure many rewrites will be done by other folks but anyone with some programming experience will have a good starting point with this script.
Click below to see the youtube video and a step by step guide;
Steps to get this script to work (for Noobs);
Create a folder on your desktop called Airtags (case sensitive)
Install brew (www.brew.sh)
Install the jq utility (brew install jq)
Change the directory to the newly created Airtags folder by typing cd ~/Desktop/Airtags
Clone this repo by typing git clone https://github.com/icepick3000/AirtagAlex.git
Go into the repo directory by typing cd ~/Desktop/Airtags/AirtagAlex
Make the shell file executable by typing chmod 700 AirtagAlex.sh
You can start the script by typing;
./AirtagAlex.sh
The output will look something like this;
Create a copy of the Items.data file to prevent changes while the script is running
Check if Airtags.csv exists
Check how many Airtags to process
Number of Airtags to process: 4
Processing airtag number 0
Write the data to the Airtags.csv file
Processing airtag number 1
Write the data to the Airtags.csv file
Processing airtag number 2
Write the data to the Airtags.csv file
Processing airtag number 3
Write the data to the Airtags.csv file
Sleep for 1 minute (60 seconds)
The results in CSV format can be found on your desktop in the Airtags folder!
To see all my Airtag adventures check out my channel at https://www.youtube.com/c/AirtagAlex
If this script was of use to you a referal in your video or project would be highly appreiciated.