Skip to content

HomeKit devices 'No Response' after a while #42157

@bobsoppe

Description

@bobsoppe

The problem

When using the HomeKit integration all of the devices will turn up with a 'No Response' message after a while in the Home.app. I tried to debug the network by removing the Home Assistant HomeKit bridge and add the Trådfrï HomeKit bridge, which is working without any problem. So that will make me think something is wrong with the HomeKit integration

Environment

  • Home Assistant Core release with the issue: 0.116.4
  • Last working Home Assistant Core release (if known): -
  • Operating environment (OS/Container/Supervised/Core): FreeNAS-11.3-U3.2 in a jail using a venv install
  • Integration causing this issue: HomeKit
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/homekit

Problem-relevant configuration.yaml

Tried it configuring using the UI and also using a very simple homekit configuration.

homekit:

Traceback/Error logs

No (relevant) traceback/error logs

Additional information

Network discovery

The results of the network discovery are the same when running it inside the jail of Home Assistant and on another machine (laptop)

$ python -m netdisco dump

homekit:
[{'host': '192.168.10.50',
  'hostname': 'HASS Bridge NOTK 15799F._hap._tcp.local.',
  'name': 'HASS Bridge NOTK 15799F',
  'port': 51828,
  'properties': {'c#': '2',
                 'ci': '2',
                 'ff': '0',
                 'id': 'E7:DE:60:15:79:9F',
                 'md': 'HASS Bridge NOTK',
                 'pv': '1.0',
                 's#': '1',
                 'sf': '0',
                 'sh': '9Gnksg=='}}]

Zeroconf
[record[ptr,in,_hap._tcp.local.]=4500/4487,HASS Bridge NOTK 15799F._hap._tcp.local.,
 record[srv,in-unique,HASS Bridge NOTK 15799F._hap._tcp.local.]=120/107,HASS Bridge NOTK 15799F._hap._tcp.local.:51828,
 record[txt,in-unique,HASS Bridge NOTK 15799F._hap._tcp.local.]=4500/4487,b'\x13md=HAS'...,
 record[a,in-unique,HASS Bridge NOTK 15799F._hap._tcp.local.]=120/107,192.168.10.50,
 record[ptr,in,_home-assistant._tcp.local.]=4500/4487,Home._home-assistant._tcp.local.,
 record[srv,in-unique,Home._home-assistant._tcp.local.]=120/107,4e2fef37043f458f937cca250940ac2c.local.:8123,
 record[txt,in-unique,Home._home-assistant._tcp.local.]=4500/4487,b'\x12locati'...,
 record[a,in-unique,4e2fef37043f458f937cca250940ac2c.local.]=120/107,192.168.10.50,
 record[srv,in-unique,TRADFRI gateway._hap._tcp.local.]=120/114,TRADFRI-Gateway-a0c9a0d81a3f.local.:80,
 record[txt,in-unique,TRADFRI gateway._hap._tcp.local.]=4500/4494,b'\x04c#=1\x04f'...,
 record[ptr,in,_coap._udp.local.]=4500/4494,gw-a0c9a0d81a3f._coap._udp.local.,
 record[srv,in-unique,gw-a0c9a0d81a3f._coap._udp.local.]=120/114,TRADFRI-Gateway-a0c9a0d81a3f.local.:5684,
 record[txt,in-unique,gw-a0c9a0d81a3f._coap._udp.local.]=4500/4494,b'\x0fversio'...,
 record[a,in-unique,TRADFRI-Gateway-a0c9a0d81a3f.local.]=120/114,192.168.40.10]

nmap

To be sure the port for the HomeKit integration is open and accepting requests I ran nmap

$ nmap -p22,80,51828 192.168.10.50

Starting Nmap 7.91 ( https://nmap.org ) at 2020-10-21 11:42 CEST
Nmap scan report for 192.168.10.50
Host is up (0.0074s latency).

PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
51828/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions