Homekit not responding
What happened?
After adding the speaker to homekit, a few moments later it appears "not responding" although the album work and media controls are available and working.
Relevant log output
No response
System Information.
Raspberry Pi 4B
Configuration Information.
>> Display Config Start.
From "uname -a":
Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
From /etc/os-release:
Debian GNU/Linux 12 (bookworm)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 4 Model B Rev 1.1
Shairport Sync Version String:
4.3.3-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc
Command Line:
shairport-sync --displayConfig
Configuration File:
/etc/shairport-sync.conf
Configuration File Settings:
general :
{
name = "Colunas Cozinha";
};
pw :
{
};
>> Display Config End.
>> Goodbye!
PulseAudio or PipeWire installed?
- [ ] Check if your system uses a Sound Server.
How did you install Shairport Sync?
Built from source
Check previous issues
- [X] Confirm
Thanks for the post. This is a known problem, and unfortunately, we don't know how to resolve it -- please see #1802 for more discussion.
Maybe someone in the homebridge community may help the development?
I have this issue too, and it prevents Siri from executing control over the Shairport speaker (e.g. to pause, play etc).
This issue has been inactive for 28 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.
Still an issue
I was able to fix the “not responding” issue by disabling IPv6 on the device running shairport-sync. Then after removing the speaker accessory in Homekit and adding the accessory again, Homekit no longer reports the speaker accessory as not responding.
This comment in issue 1802 is what led me to check the Avahi service logs, where I noticed avahi was reporting issues on the IPv6 address of my machine.
I am running shairport-sync version 4.3.5-dev-32-g92a933a3-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-metadata-mqtt-sysconfdir:/etc on a Raspberry Pi Zero-W (32 bit), using an Apple TV 4 as home hub.
Hope this helps others to fix the issue as well, or at least points you in the right direction.
Thanks for this. Does the Shairport Sync device regain the ability to be controlled from the Home app?
I was able to fix the “not responding” issue by disabling IPv6 on the device running shairport-sync
I just tried this by completely disabling IPv6 on my Raspberry Pi, and adding the speaker again in the Home app. It added ok and was responsive. But after closing and reopening the Home app, it has again gone back to 'No response".
Turning off ipv6 also solved the issue for me.
Thanks for this. Does the Shairport Sync device regain the ability to be controlled from the Home app?
I am able to control, next/previous, play/pause volume up/down. So yes :)
I was able to fix the “not responding” issue by disabling IPv6 on the device running shairport-sync
I just tried this by completely disabling IPv6 on my Raspberry Pi, and adding the speaker again in the Home app. It added ok and was responsive. But after closing and reopening the Home app, it has again gone back to 'No response".
Are you sure ipv6 is disabled? https://www.howtoraspberry.com/2020/04/disable-ipv6-on-raspberry-pi/
Turning off ipv6 also solved the issue for me.
I should add that after the pi running shairport-sync reboots the No response state is back.
Turning off ipv6 also solved the issue for me.
I should add that after the pi running shairport-sync reboots the No response state is back.
That's not the case for me.
I have triple checked by restarting my pi 4, my phone and Apple TV (iOS 18.2, tvOS 18.2) and “not responding” is gone.
I'm pretty sure that ipv6 is not disabled for you who experience "No response"
Check with cat /proc/sys/net/ipv6/conf/all/disable_ipv6
if the result is "1" then ipv6 is disabled.
@MSL-DA Just double checked again. Definitely disabled...
Turning off ipv6 also solved the issue for me.
I should add that after the pi running shairport-sync reboots the No response state is back.
That's not the case for me.
Yes, you’re right.
I’ve mistakenly thought that a cronjob was the reason.
Thanks for all these comments.
Unfortunately, I'm not having any luck getting rid of the 'Not Responding' message. One thing that just occurred to me is what operating systems you are using. Maybe there is other stuff...
It would be really useful if you could post all the details of your setups. I'm thinking of:
- The output from
$ shairport-sync --displayConfig, - The type and version of the operating system, e.g. Ubuntu 22.04,
- The kind of device, e.g. Pi 2B,
- The type and OS of the device hosting your Apple Home, e.g. ATV4K 18.2, HomePod mini 18.1.1.
Maybe I've forgotten something... 🤷♂️
Pi3:
>> Display Config Start.
From "uname -a":
Linux pi3 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
From /etc/os-release:
Raspbian GNU/Linux 11 (bullseye)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 3 Model B Rev 1.2
Shairport Sync Version String:
4.3.5-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc
Command Line:
shairport-sync --displayConfig
Configuration File:
/etc/shairport-sync.conf
Configuration File Settings:
general :
{
name = "Küche";
};
>> Display Config End.
>> Goodbye!
Pi4:
>> Display Config Start.
From "uname -a":
Linux homebridge 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
From /etc/os-release:
Debian GNU/Linux 12 (bookworm)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 4 Model B Rev 1.2
Shairport Sync Version String:
4.3.5-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/etc
Command Line:
shairport-sync --displayConfig
Configuration File:
/etc/shairport-sync.conf
Configuration File Settings:
general :
{
name = "%H";
};
dsp :
{
loudness = "no";
};
>> Display Config End.
>> Goodbye!
Home:
ATV4K
HomePod Mini (preferred hub)
The 'Not Responding' message is gone and does not come back on restart.
HomePod mini and Apple TV 4K (OS 18.2), iPhone iOS 18.2
>> Display Config Start.
From "uname -a":
Linux HiFi 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
From /etc/os-release:
Debian GNU/Linux 12 (bookworm)
From /sys/firmware/devicetree/base/model:
Raspberry Pi 4 Model B Rev 1.5
Shairport Sync Version String:
4.3.6-dev-5-gd166477e-AirPlay2-smi10-alac-OpenSSL-Avahi-ALSA-metadata-mqtt-sysconfdir:/etc
Command Line:
shairport-sync --displayConfig
Configuration File:
/etc/shairport-sync.conf
Configuration File Settings:
general :
{
name = "HiFi";
alac_decoder = "apple";
volume_control_profile = "flat";
};
sessioncontrol :
{
run_this_before_entering_active_state = "usr/local/bin/script/sps/on.py";
run_this_after_exiting_active_state = "usr/local/bin/script/sps/off.py";
active_state_timeout = 360.0;
};
alsa :
{
output_device = "hw:AUDIO";
output_rate = "auto";
output_format = "auto";
};
pw :
{
};
>> Display Config End.
>> Goodbye!
@MSL-DA, can you say which is the "preferred hub" in your system, please?
@MSL-DA, can you say which is the "preferred hub" in your system, please?
Yes ... Apple TV 4K (third generation) I also have a 4K (second generation) which gives the same result. I have not tested with the HomePod mini as a hub.
EDIT: All devices are on WiFi.
I've had success removing and adding sps before, but when I restart the Apple TV/and or sps, 'Not Responding' pops up again. But not after I disable ipv6. I have tried everything to provoke it.
I have also tried disconnecting the power to all devices for 10 minutes.
Hey! i've the same issue, i tried disabling IPv6 and removing the speaker on HomeKit, now i can't add the speaker, it gives "unable to add accessory, check if iphone is connected to wifi" etc. ps. i can't enable "Allow Users to use speakers in the same network" because i don't own an apple TV (is it possible to emulate with a raspberry pi? will be cool and avoid to spend 100€ only for an Homekit Hub)
Hey! i've the same issue, i tried disabling IPv6 and removing the speaker on HomeKit, now i can't add the speaker, it gives "unable to add accessory, check if iphone is connected to wifi" etc. ps. i can't enable "Allow Users to use speakers in the same network" because i don't own an apple TV (is it possible to emulate with a raspberry pi? will be cool and avoid to spend 100€ only for an Homekit Hub)
You can do this in the Home app on your iPhone
After updating tvOS to version 18.3 beta, I again had to remove and add my shairport-sync device. Since then I have not experienced any problems.
I have lately had good luck getting the homekit functionality to work. Only issue is that every time I update ios I have to remove and readd shairport-sync. Maybe there is some sort of reauthentication going on when ios updates...
Fyi: I run sn Appletv as my home hub.
This issue has been inactive for 28 days so will be closed 7 days from now. To prevent this, please remove the "stale" label or post a comment.