TheWeirdDev / Bluetooth_Headset_Battery_Level

A python script to get battery level from Bluetooth headsets
GNU General Public License v3.0
766 stars 80 forks source link

improved AT+XEVENT battery parsing #91

Closed steam3d closed 1 year ago

steam3d commented 1 year ago

I realized that at least Redmi AirDots sends AT+XEVENT with other data: AT+XEVENT=BATTERY,9

instead of data your expect like this: AT+XEVENT=BATTERY,6,11,461,0

Now the script no longer crashes and supports more headphones.

steam3d commented 1 year ago

I do not know what's wrong with pull request. I made changed on github website and did nothing with repo.

TheWeirdDev commented 1 year ago

I do not know what's wrong with pull request. I made changed on github website and did nothing with repo.

It's Ok I disabled the bots. They were not supposed to be enabled on this repo.