{"id":13667282,"url":"https://github.com/delphiki/AirStatus","last_synced_at":"2025-04-26T15:32:33.998Z","repository":{"id":40919925,"uuid":"306140570","full_name":"delphiki/AirStatus","owner":"delphiki","description":"Check AirPods battery levels on Linux","archived":false,"fork":true,"pushed_at":"2024-05-15T09:25:33.000Z","size":50,"stargazers_count":129,"open_issues_count":14,"forks_count":23,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-02T07:02:00.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"faglo/AirStatus","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/delphiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-21T20:30:58.000Z","updated_at":"2024-07-20T20:09:56.000Z","dependencies_parsed_at":"2023-02-14T02:15:53.108Z","dependency_job_id":null,"html_url":"https://github.com/delphiki/AirStatus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphiki%2FAirStatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphiki%2FAirStatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphiki%2FAirStatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/delphiki%2FAirStatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/delphiki","download_url":"https://codeload.github.com/delphiki/AirStatus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224039136,"owners_count":17245542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T07:00:34.406Z","updated_at":"2024-11-11T02:31:11.921Z","avatar_url":"https://github.com/delphiki.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# **AirStatus for Linux**\n#### Check your AirPods battery level on Linux\n\n#### What is it?\nThis is a Python 3.6 script, forked from [faglo/AirStatus](https://github.com/faglo/AirStatus) that allows you to check AirPods battery level from your terminal, as JSON output.\n\n### Usage\n\n```\npython3 main.py [output_file]\n```\n\nOutput will be stored in `output_file` if specified.\n\n#### Example output\n\n```\n{\"status\": 1, \"charge\": {\"left\": 95, \"right\": 95, \"case\": -1}, \"charging_left\": false, \"charging_right\": false, \"charging_case\": false, \"model\": \"AirPodsPro\", \"date\": \"2021-12-22 11:09:05\"}\n```\n\n### Installing as a service\n\nCreate the file `/etc/systemd/system/airstatus.service` (as root) containing:\n```\n[Unit]\nDescription=AirPods Battery Monitor\n\n[Service]\nExecStart=/usr/bin/python3 /PATH/TO/AirStatus/main.py /tmp/airstatus.out\nRestart=always\nRestartSec=3\n\n[Install]\nWantedBy=default.target\n```\n\nStart the service:\n```\nsudo systemctl start airstatus\n```\n\nEnable service on boot:\n ```\nsudo systemctl enable airstatus\n```\n\n#### Can I customize it easily?\n**Yes, you can!**\n\nYou can change the **update frequency** within the main.py file\n\n#### Used materials\n* Some code from [this repo](https://github.com/ohanedan/Airpods-Windows-Service)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphiki%2FAirStatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphiki%2FAirStatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphiki%2FAirStatus/lists"}