HomeKit - No Response (solved)

Hi there,

I manually setup a machine with Debian Buster and installed Hass.io. After that, I connected my Home Assistant to HomeKit via my iPhone. The pairing was successful and the devices show-up in HomeKit.

All good until I noticed that the devices regularly had the status No Response. The devices keeps going between No Response and “Responding”.

Some questions I have:

  • What can cause this?
  • How can I debug this?
  • Does the host system also need avahi-daemon installed?

My config:

  • i7 16 GB 265GB SSD
  • Debian GNU/Linux 10 (buster)
  • Home Assistant Core v0.105.3
  • Supervisor v200
  • Connected via ethernet cable (no VLAN)
  • Own domain with Lets Encrypt Certificate
  • Opened port in router to HA on port 443 for HA
  • Opened port in router to UDP 5353 and TCP 51827 for mDNS and HomeKit
  • Apple TV 4 as HomeKit bridge iPad Air 2 as backup bridge

Debug log HomeKit Home Assistant

2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 796788239, 'iid': 9, 'ev': True}, {'aid': 796788239, 'iid': 10, 'ev': True}]}
2020-02-11 15:13:33 INFO (Thread-57) [pyhap.hap_server] 172.16.0.12 - "GET /accessories HTTP/1.1" 200 -
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 796788239.9
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.hap_server] Request PUT from address '('172.16.0.65', 62651)' for path '/characteristics'.
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 796788239.10
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 3558740872, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 INFO (Thread-54) [pyhap.hap_server] 172.16.0.102 - "PUT /characteristics HTTP/1.1" 204 -
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.accessory_driver] Subscribed client ('172.16.0.65', 62651) to topic 3558740872.9
2020-02-11 15:13:33 INFO (Thread-55) [pyhap.hap_server] 172.16.0.65 - "PUT /characteristics HTTP/1.1" 204 -
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 3558740872, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 3558740872.9
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 796788239, 'iid': 9, 'ev': True}, {'aid': 796788239, 'iid': 10, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 600182631, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.accessory_driver] Subscribed client ('172.16.0.65', 62651) to topic 796788239.9
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 600182631.9
2020-02-11 15:13:33 DEBUG (Thread-55) [pyhap.accessory_driver] Subscribed client ('172.16.0.65', 62651) to topic 796788239.10
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 941295249, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 941295249.9
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1011549895, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1011549895.9
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1187972988, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1187972988.9
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1282475955, 'iid': 9, 'ev': True}, {'aid': 1282475955, 'iid': 10, 'ev': True}, {'aid': 1282475955, 'iid': 11, 'ev': True}, {'aid': 1282475955, 'iid': 12, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.9
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.10
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.11
2020-02-11 15:13:33 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.12
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Request PUT from address '('172.16.0.16', 49615)' for path '/characteristics'.
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1011549895, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1011549895.9
2020-02-11 15:13:33 INFO (Thread-56) [pyhap.hap_server] 172.16.0.16 - "PUT /characteristics HTTP/1.1" 204 -
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1282475955, 'iid': 9, 'ev': True}, {'aid': 1282475955, 'iid': 10, 'ev': True}, {'aid': 1282475955, 'iid': 11, 'ev': True}, {'aid': 1282475955, 'iid': 12, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.10
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.11
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.12
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 3558740872, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 3558740872.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 600182631, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 600182631.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1187972988, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1187972988.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 941295249, 'iid': 9, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 941295249.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 796788239, 'iid': 9, 'ev': True}, {'aid': 796788239, 'iid': 10, 'ev': True}]}
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 796788239.9
2020-02-11 15:13:33 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 796788239.10
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Request PUT from address '('172.16.0.102', 62621)' for path '/characteristics'.
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1011549895, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1011549895.9
2020-02-11 15:13:42 INFO (Thread-54) [pyhap.hap_server] 172.16.0.102 - "PUT /characteristics HTTP/1.1" 204 -
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1282475955, 'iid': 9, 'ev': False}, {'aid': 1282475955, 'iid': 10, 'ev': False}, {'aid': 1282475955, 'iid': 11, 'ev': False}, {'aid': 1282475955, 'iid': 12, 'ev': False}]}
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.9
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.10
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.11
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1282475955.12
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 600182631, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 600182631.9
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1187972988, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 1187972988.9
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 941295249, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:42 DEBUG (Thread-54) [pyhap.accessory_driver] Subscribed client ('172.16.0.102', 62621) to topic 941295249.9
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Request PUT from address '('172.16.0.16', 49615)' for path '/characteristics'.
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1011549895, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1011549895.9
2020-02-11 15:13:52 INFO (Thread-56) [pyhap.hap_server] 172.16.0.16 - "PUT /characteristics HTTP/1.1" 204 -
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 941295249, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 941295249.9
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1187972988, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1187972988.9
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 600182631, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 600182631.9
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.hap_server] Set characteristics content: {'characteristics': [{'aid': 1282475955, 'iid': 11, 'ev': False}, {'aid': 1282475955, 'iid': 12, 'ev': False}, {'aid': 1282475955, 'iid': 10, 'ev': False}, {'aid': 1282475955, 'iid': 9, 'ev': False}]}
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.11
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.12
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.10
2020-02-11 15:13:52 DEBUG (Thread-56) [pyhap.accessory_driver] Subscribed client ('172.16.0.16', 49615) to topic 1282475955.9
2020-02-11 15:14:15 DEBUG (Thread-57) [pyhap.hap_server] Cleaning connection to ('172.16.0.12', 49713)
2020-02-11 15:14:38 DEBUG (Thread-55) [pyhap.hap_server] Cleaning connection to ('172.16.0.65', 62651)
2020-02-11 15:14:38 DEBUG (Thread-56) [pyhap.hap_server] Cleaning connection to ('172.16.0.16', 49615)
2020-02-11 15:14:39 DEBUG (Thread-54) [pyhap.hap_server] Cleaning connection to ('172.16.0.102', 62621)

SOLVED :partying_face:
I found and posted the solution in another thread, here’s a short recap:

I disabled the following options in my router’s config and it started working again!
IGMP Proxy
IGMP Snooping
IGMP Fast Leave

Rref: HomeKit "No Response" - #3 by AdrianPal

Did you find a solution?

I am having the same problem, but I did not have it a while ago. Maybe an update changed something?

My router is running an avahi daemon with enabled reflector for mDNS.
I also allow in the firewall UDP Port 5353 for mDNS and TCP port 51827 for HomeKit. The network switches are not doing any IGMP snooping etc., Wireless Multicast Forwarding was disabled on the wireless access points and is now enabled - that makes NO difference with regard to the symptoms.
There is no Apple bridge like ATV or iPad, and none was needed so far.

My assessment is as follows: This is not a problem with the reachability of the IoT devices because:

  • the IoT devices are found and working with HA, even while HomeKit shows “No Response”
  • the elements that I expose to HomeKit are only “proxy” elements, i.e. input_booleans and lights that model something else on the HA side. These elements are always reachable because they only exist in HA.

So somehow this must be a problem between HA and the Apple HomeKit clients (iOS, macOS).

It would be great if someone could post their solution.

Hi c0revin!

The problematic options for svh were the following in his router:

For me, it was my netgear switch which had IGMP Snooping turned on. After turning it off, half a second later homekit started working again. Since then I haven’t observed any problem.

Other posters with these symptoms I’ve come across so far were also able to resolve the issues by disabling IGMP snooping.

Did you check the router for IGMP stuff already too?

I checked the switch fabric to make sure IGMP snooping is off (it was) and I checked the Wifi APs. Turnign IGMP on the WAPs on/off didn’t help.

I am not sure where to look for that in OpenWRT, but I will check.

In OpenWRT, IGMP Snooping is set on the LAN interface like so:

config interface lan
        option type bridge
        option igmp_snooping 0

However, the default seems to be disabled IGMP Snooping already:/
Setting it to off manually on top might be worth a shot though, I’m not that familiar with OpenWRT

Thank you. The interfaces are not bridged, that hides the IGMP snooping option. When I set an interface to bridged I can see that IGMP snooping is already OFF/disabled. So that was not the problem in my infrastructure.

Fudge. When I first had the problem I didn’t remember seeing any other solution during my search - If I find anything some time I’ll reply again!

Thank you that is kind of you.