Acidham / alfred-airpod-connector

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

does not seem to work with my airpods pro #21

Closed WladyX closed 10 months ago

WladyX commented 10 months ago

I have a pair of airpods pro 2, i see them in system_profiler SPBluetoothDataType -json

❯ system_profiler SPBluetoothDataType -json|grep -i airpod
          "WladN’s AirPods Pro" : {

and in the debugger i don't get anything usefull:

[14:42:07.745] AirPods Connector[Script Filter] Queuing argument '(null)'
[14:42:07.994] AirPods Connector[Script Filter] Script with argv '(null)' finished
[14:42:07.995] AirPods Connector[Script Filter] {
    "items": []
}

alfred homebrew installed the dependencies for me.

Acidham commented 10 months ago

Can you try to rename the AirPods to "WLadN AirPods pro"

WladyX commented 10 months ago

Thanks for the reply @Acidham, did that, but nothing changed, anything else that you thing i could try?

Acidham commented 10 months ago

can you please provide the data in "WladN’s AirPods Pro" when you run system_profiler SPBluetoothDataType -json

WladyX commented 10 months ago
        {
          "WladN AirPods Pro" : {
            "device_address" : "18:3F:70:72:C1:68",
            "device_batteryLevelCase" : "68%",
            "device_batteryLevelLeft" : "100%",
            "device_batteryLevelRight" : "100%",
            "device_caseVersion" : "60.82.0",
            "device_firmwareVersion" : "6A303",
            "device_minorType" : "Headphones",
            "device_productID" : "0x2024",
            "device_rssi" : "-41",
            "device_serialNumber" : "HF4JG7JRWL",
            "device_serialNumberLeft" : "GWKL8PQ826JY",
            "device_serialNumberRight" : "GN3L940S26K0",
            "device_services" : "0x980019 < HFP AVRCP A2DP AACP GATT ACL >",
            "device_vendorID" : "0x004C"
          }
        }
      ],
Acidham commented 10 months ago

Seems I found the issue the ProdID was missing for the AirPods Pro. Please test latest release 1.3.9

WladyX commented 10 months ago

Yup, all good now, even renamed them to include 's and still worked. Thank you!