Acidham / alfred-airpod-connector

Alfred Workflow to connect/disconnect AirPods (Airpod1/2, Airpod Pro) and Powerbeats Pro
35 stars 7 forks source link

Could you add Powerbeats Pro support #1

Closed Denis4yk closed 4 years ago

Denis4yk commented 4 years ago

Fortunately, not only AirPods use the H1 chip. Could you add Powerbeats Pro too?

This is the link to those. I have no idea about their product code, to be honest :D https://www.bestbuy.com/site/beats-by-dr-dre-powerbeats-pro-totally-wireless-earphones-black/6341988.p?skuId=6341988&intl=nosplash

Acidham commented 4 years ago

I can try...I assume you own such devices and paired to your mac? In this case I need VendorID and ProductID under DeviceCache in /Library/Preferences/com.apple.Bluetooth.plist

To open the file you need a plist editor or you send the file to me and I will have look at it.

Denis4yk commented 4 years ago
        <dict>
            <key>AccessoryFWVersion</key>
            <string>2C48</string>
            <key>BatteryPercentCase</key>
            <integer>43</integer>
            <key>BatteryPercentLeft</key>
            <integer>98</integer>
            <key>BatteryPercentRight</key>
            <integer>98</integer>
            <key>ClassOfDevice</key>
            <integer>2360344</integer>
            <key>ClockOffset</key>
            <integer>0</integer>
            <key>EncryptionKeySize</key>
            <integer>16</integer>
            <key>ExtendedFeaturesPage1</key>
            <data>
            AAAAAAAAAAc=
            </data>
            <key>FirstPairing</key>
            <true/>
            <key>HeySiriEnabled</key>
            <integer>1</integer>
            <key>InEar</key>
            <false/>
            <key>LMPSubversion</key>
            <integer>32049</integer>
            <key>LMPVersion</key>
            <integer>9</integer>
            <key>LastInquiryUpdate</key>
            <date>2020-07-10T14:45:09Z</date>
            <key>LastServicesUpdate</key>
            <date>2020-07-10T14:45:10Z</date>
            <key>LeftDoubleTap</key>
            <integer>3</integer>
            <key>Manufacturer</key>
            <integer>76</integer>
            <key>Name</key>
            <string>Денис’s Powerbeats Pro</string>
            <key>PageScanMode</key>
            <integer>0</integer>
            <key>PageScanPeriod</key>
            <integer>0</integer>
            <key>PageScanRepetitionMode</key>
            <integer>1</integer>
            <key>PrimaryBud</key>
            <integer>2</integer>
            <key>PrimaryInEar</key>
            <integer>2</integer>
            <key>ProductID</key>
            <integer>8203</integer>
            <key>RightDoubleTap</key>
            <integer>3</integer>
            <key>SecondaryInEar</key>
            <integer>2</integer>
            <key>ServiceMask</key>
            <integer>1581081</integer>
            <key>Services</key>
            <data>
            long-ass code...
            </data>
            <key>SupportedFeatures</key>
            <data>
            h3v/2/4v/r8=
            </data>
            <key>VendorID</key>
            <integer>76</integer>
            <key>displayName</key>
            <string>Денис’s Powerbeats Pro</string>
        </dict>
Denis4yk commented 4 years ago

This stuff is made by apple, so pairing should be similar to AirPods.

Denis4yk commented 4 years ago

BTW, if I've copied smth wrong, let me know :)

Acidham commented 4 years ago

Please test...

Denis4yk commented 4 years ago

Bingo! Works like a charm :D

Thanks)

The only question is the color. I have white ones...but who really cares, to be honest :D

Screenshot 2020-07-13 at 15 30 46
Denis4yk commented 4 years ago

Thanks, man! I'm using it from now as a default one :)

Acidham commented 4 years ago

I was not able to find white ones, and I was too lazy to change to white. If you want you can do that for case and for the headset and I will change ;)

Acidham commented 4 years ago

I did just a color invert for powerbeats. Please download v1.2.1 and try if this works.

Please provide screenshot ;)