shairport-sync icon indicating copy to clipboard operation
shairport-sync copied to clipboard

[Problem]: HomeKit AirPlay 2 incompatibilities

Open cbrunnkvist opened this issue 8 months ago • 5 comments

What happened?

I'm documenting these issues here mostly in order to save other users from having to go through the same troubleshooting, but hopefully there might be some fix in the future too:

There are two, probably interrelated, parts to the current HomeKit incompatibilities:

  1. In Apple Home > Settings there are three access levels for "Speakers & TV":
  • Everyone
  • Anyone on The Same Network
  • Only People Sharing This Home

IMG_632D7A34EDEA-1

As concluded originally by @ghost in https://github.com/mikebrady/shairport-sync/issues/1442#issuecomment-1060709537, in order to be able to add Shairport Sync speakers to a Home at all, you are required to switch the "Speakers & TV" access mode of your Home to mode "...Same Network" and disable "Require Password", which in some cases is an undesirable workaround.

Failing to change access mode results in a confusing error along the lines of "make sure your device is connected to the WiFi network".

  1. Once added, the status of the Speaker in my Home never seems to accurately reflect its current playback status: in the Home app from the device playing, it show blank status but when you tap on it you get your local media controls - on other devices in the Home, the speaker status is "No Response"

Example: playing from iPad, check Home status on iPhone: IMG_8B7F018A4A82-1

Relevant log output

No response

System Information.

The Docker container :latest running on x86, dockerd in LXC, "host" network mode, Alsa device passthrough.

Configuration Information.

N.b. I use the default all-commented-out config file.

>> Display Config Start.

From "uname -a":
 Linux dockge 6.8.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-2 (2024-04-10T17:36Z) x86_64 Linux

From /etc/os-release:
 Alpine Linux v3.17

Shairport Sync Version String:
 4.3.3-dirty-AirPlay2-smi10-alac-OpenSSL-Avahi-ALSA-pa-dummy-stdout-pipe-soxr-convolution-metadata-mqtt-dbus-mpris-sysconfdir:/etc

Command Line:
 shairport-sync --displayConfig

Configuration File:
 /etc/shairport-sync.conf

Configuration File Settings:
 pw : 
 {
 };

>> Display Config End.
>> Goodbye!


### PulseAudio or PipeWire installed?

- [X] Check if your system uses a Sound Server.

### How did you install Shairport Sync?

Docker

### Check previous issues

- [X] Confirm

cbrunnkvist avatar Jun 04 '24 04:06 cbrunnkvist