AirStatus
AirStatus copied to clipboard
Check AirPods battery levels on Linux
if the airpod case is open and connected to PC I get regular battery status updates. i usually just use the right air pod and then close the case with...
Each commit in this PR describes a change I made. The changes I made are: * Add python shebang line to allow easy running from a terminal with `./main.py [output_file]`...
I have two sets of Airpod Pro's, which I swap out when the battery is getting low AirStatus seems able to report on whichever one is currently paired, but is...
Added support for airpods3
Is it possible to add reporting of battery level from this script to UPower service, to get native battery level display working?
https://github.com/delphiki/AirStatus/blob/db9de007035d2696373b578f6da589fc66fcbd63/main.py#L90 I believe the 2nd comparison should be simply `status_tmp
Maybe this could help: ```sudo systemctl status airstatus ● airstatus.service - AirPods Pro Battery Monitor Loaded: loaded (/etc/systemd/system/airstatus.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2021-12-28...
[root@archlinux lib]# python3 airstatus.py /usr/lib/airstatus.py:59: DeprecationWarning: There is no current event loop loop = get_event_loop() Traceback (most recent call last): File "/usr/lib/airstatus.py", line 147, in run() File "/usr/lib/airstatus.py", line 132,...
Hello delphiki, i've added some features for myself and want to offer them to you. Thinks I've added/edited: - added Airpods2Pro to 'models' in main.py - copied main.py into get_model.py...
/Traceback (most recent call last): File "/home/martin/Scripts/AirStatus/main.py", line 147, in run() File "/home/martin/Scripts/AirStatus/main.py", line 132, in run data = get_data() File "/home/martin/Scripts/AirStatus/main.py", line 68, in get_data raw = get_data_hex() File...