blueutil
blueutil copied to clipboard
"--disconnect" doesn't work on MacOS Monterey
Hi there,
I am using blueutil to pair my MacBook Pro (2016) on MacOS Monterey with my Google Pixel Buds.
Connecting works perfectly but disconnecting via "blueutil --disconnect f8-0f-f9-ff-93-f9" doesn't do anything.
This worked previously on BigSur.
I am using 2.9.0 of blueutil.
Cheers Tom
Hi Tom and thank you for opening the issue.
Does the command have success exit code and is there any output at all?
Please try to also run blueutil --disconnect f8-0f-f9-ff-93-f9 --info f8-0f-f9-ff-93-f9
.
Would be great if you could also check the command with some other device.
With blueutil --disconnect f8-0f-f9-ff-93-f9 --info f8-0f-f9-ff-93-f9
it works!
Heh, I didn't expect it to fix it, but wanted to see if right after disconnection the status is shown as connected or not. The way it was fixed makes me think in direction of something being released to early, worth investigating. But good that it is at least temporarily fixed for you.
can confirm the same behavior: blueutil --disconnect "ID" -> nothing blueutil --disconnect "ID" --info "ID" -> Disconnects
Macbook Air - M1 here's the output if it can help:
blueutil --disconnect '04-fe-a1-a2-fe-f8' --info '04-fe-a1-a2-fe-f8'
address: 04-fe-a1-a2-fe-f8, connected (master, 0 dBm), not favourite, paired, name: "EDIFIER R1280DB", recent access date: 2021-11-16 22:41:13 +0000
@fire1ce Thank you for confirming, odd behaviour especially as info outputs that speakers are connected, so they are disconnected right after.
I also have the same problem with my M1 Mac mini. After upgrading to Monterey, the disconnect feature stopped working. And for me the workaround described above (adding the "--info" part) does not work.
Running the command with info added gives the same result as above, but the device will not disconnect:
blueutil --disconnect '24-d0-df-85-28-62' --info '24-d0-df-85-28-62' address: 24-d0-df-85-28-62, connected (master, 0 dBm), not favourite, paired, name: "Henri (AirPods Pro)", recent access date: 2021-11-18 11:01:15 +0000
@hkuokka Can you please try blueutil --disconnect '24-d0-df-85-28-62' --wait-disconnect '24-d0-df-85-28-62'
?
@hkuokka Can you please try
blueutil --disconnect '24-d0-df-85-28-62' --wait-disconnect '24-d0-df-85-28-62'
?
This works perfectly, thank you so much!
I've used blueutil and switchaudio-osx together to have a quick keyboard shortcut (done with Keyboard Maestro) to quickly connect and disconnect my AirPods Pro and set my audio input/output correctly. And after upgrading to Monterey this stopped working and I've missed this functionality so much. Blueutil has been by far the fastest and most reliable way of accomplishing what I want and now it works again :)
This solution works, thanks!
@hkuokka Can you please try
blueutil --disconnect '24-d0-df-85-28-62' --wait-disconnect '24-d0-df-85-28-62'
?
This works perfectly
Neither
blueutil --disconnect '24-d0-df-85-28-62' --wait-disconnect '24-d0-df-85-28-62'
nor
blueutil --disconnect f8-0f-f9-ff-93-f9 --info f8-0f-f9-ff-93-f9
works for me on MacOS 12.3 (21E230)
I can report that 12.4 on an M1 Max that blueutil --disconnect 14-3f-a6-6d-bb-92 --wait-disconnect 14-3f-a6-6d-bb-92
DOES work for me. Thanks.