iOS icon indicating copy to clipboard operation
iOS copied to clipboard

AirPod Pros no longer seen as active microphone with Monterey

Open mattsch opened this issue 4 years ago • 18 comments

Device model, version and app version

Model Name: MacBook Pro (13-inch, M1, 2020) macOS Version: 12.0.1 App Version: 2021.247 Safari Version: 15.1

Home Assistant Core Version

core-2021.10.7

Describe the bug MacOS app no longer sees AirPods Pro as an active microphone. It is listed in the All Microphone attribute on the active microphone sensor, but doesn't show up as active or trigger the binary sensor when it's in use. Tried with Zoom and Google Meet (in Safari) and got the same behavior so doesn't look app specific.

To Reproduce Use AirPod Pros.

Expected behavior AirPods should show up as an active microphone when they're active.

Screenshots

AirPods: Screen Shot 2021-11-04 at 11 10 10 AM

USB WebCam Screen Shot 2021-11-04 at 11 10 37 AM

Additional context

mattsch avatar Nov 04 '21 15:11 mattsch

Filed with Apple as FB9745350. I don't believe there's anything the app can do to work around this, sadly.

zacwest avatar Nov 07 '21 20:11 zacwest

Sounds about right. Thanks for filing upstream, hopefully it gets fixed in the next point release.

mattsch avatar Nov 07 '21 22:11 mattsch

For anyone else following along, tested with 12.1 and still busted on Apple's side.

mattsch avatar Dec 14 '21 11:12 mattsch

@zacwest sent me here via Discord. I was experiencing this with the AirPods Pro. I can also confirm this happens with AirPods Max.

magnus919 avatar Apr 03 '22 19:04 magnus919

Still broken on 12.3.1 :(

Dope-Lemon avatar Apr 21 '22 03:04 Dope-Lemon

Still broken in 12.5

benjaminreede avatar Aug 04 '22 08:08 benjaminreede

Just confirming that I have the same issue. I'll close my duplicate issue (more details from my side there): https://github.com/home-assistant/iOS/issues/2166.

parautenbach avatar Aug 04 '22 10:08 parautenbach

How do we know for sure it's busted on Apple's side? If i'm not mistaking this issue started with the introduction of Monterey. I'm not sure, can't remember if i added it manually to privacy settings, but does the Home Assistant app needs access to bluetooth in privacy settings (does any of you have it in the privacy settings)? Isn't that something that needs to be changed on the app side? Maybe that's the reason. As far as i can tell all my bluetooth devices (Airpods, Airpods Pro, Bose QC35II) have the same issue. They will not go to active as input and/or output. I can select my monitors as output and they change to active if i do so

image

image

benjaminreede avatar Aug 17 '22 09:08 benjaminreede

I added bluetooth as @benjaminreede suggested and still no luck

ryanneufeld avatar Aug 30 '22 00:08 ryanneufeld

Also interested in seeing this issue resolved! Hopefully Apple fixes this up.

stewface avatar Mar 01 '23 20:03 stewface

To overcome this issue, I made a simple-stupid Python script which uses the Accesibility API to look for the orange dot presence in the status bar. Then, when the microphone's status changes, it calls a webhook defined in a Home Assistant automation. Since it looks for that dot, it works with both in-built and Bluetooth mics.

You need requests and atomacos modules for it to work. Because of the way the script works, it might not work correctly if the system's language (on your Mac device) is other than english.

ov1d1u avatar Mar 30 '23 07:03 ov1d1u

To overcome this issue, I made a simple-stupid Python script which uses the Accesibility API to look for the orange dot presence in the status bar. Then, when the microphone's status changes, it calls a webhook defined in a Home Assistant automation. Since it looks for that dot, it works with both in-built and Bluetooth mics.

You need requests and atomacos modules for it to work. Because of the way the script works, it might not work correctly if the system's language (on your Mac device) is other than english.

Did you have to change any permissions to allow access to the mic's info (under Privacy & Security)?

parautenbach avatar Mar 30 '23 09:03 parautenbach

it might not work correctly if the system's language

Btw, my language is set to English, but it says "Microphone is in use" instead of your version which is "Microphone in use".

Just in case someone else with their language set to English wonders what's going on.

parautenbach avatar Mar 30 '23 09:03 parautenbach

Yeah, forgot to mention that python3 needs to have Accessibility permissions. Would be great to detect the actual presence of the dot view itself instead of looking for the accessibility description, but couldn't figure out a way to do it.

ov1d1u avatar Mar 30 '23 11:03 ov1d1u

To add on this:

MacOS Version: 13.5.2 (22G91)

My Airpods (normal and pro) don't work and I was just used to it. It was ok because I never used them for meetings.

I have a set of Jabra Evolve 65 connected by Bluetooth and the mic status is always timely reported.

Yesterday, my Jabra headset died and got a new one (sennheiser momentum 4, in case it matters). They won't report the status. They are listed in the list of microphones in HA side.

If the problem is with BT, shouldn't it fail for every device? (asking from a total lack of knowledge, but want to add my experience in case it helps).

I can provide more info if requested, the sound of my Jabra is busted, but good enough for testing.

edit: in the meantime @ov1d1u script works as a charm. Thank you!

gloaysa avatar Sep 11 '23 11:09 gloaysa

Looks like this was sorted out in Sonoma 14.0, can anyone confirm? I got a Bluetooth headset and now I see it detected as an active input when there's an app accessing the microphone:

Screenshot 2023-09-28 at 17 13 59

ov1d1u avatar Sep 28 '23 14:09 ov1d1u

@ov1d1u Confirmed! After i saw your post i immediately updated my os to Sonoma 14.0. Thanks for the tip! Not sure if Active Audio Input is working but i guess it will because the Output is working. image

benjaminreede avatar Sep 28 '23 18:09 benjaminreede

I can confirm that active audio input in use sensor is working for me (the binary sensor turns on when my AirPods are connected via Bluetooth) after upgrading to Sonoma 14.2.

The active audio input sensor now also nicely picks up the name of the AirPods, so it will vary between inactive, external for my wired headphones or the name of my AirPods.

Screenshot 2023-12-13 at 15 42 13

(Ignore the alt input boolean – that was a workaround hack to set its value via a script and webhook that I've killed now.)

parautenbach avatar Dec 13 '23 13:12 parautenbach