Skip to content

HomeKit Controller won't detect the device while it is available #42330

Description

@ngrigoriev

The problem

I have installed Mysa V1.1 thermostat recently. I have read about HomeKit devices everything I could. Here is what I have done:

  • I have paired it with iOS HomeKit application and then removed it from the app
  • now the thermostat is connected to my WiFi network
  • it is accessible from Homeassistant (pings)
  • it sits on a different network than HomeAssistant. I have a dedicated "IOT" wireless network for these devices. I have activated and configured wlan0 interface on my Raspberry Pi 3+ so it is connected to the same network as Mysa thermostat (10.10.10.0/24 network in my case).
  • when I try to install "HomeKit Controller" add-on, I am getting "No unpaired devices could be found"
  • the thermostat is visible from Home Assistant host when using netdisco Python module

Environment

  • Home Assistant Core release with the issue: 0.116.4
  • Last working Home Assistant Core release (if known): n/a
  • Operating environment (OS/Container/Supervised/Core): HassOS 4.15
  • Integration causing this issue: HomeKit
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/homekit_controller/

Problem-relevant configuration.yaml

I have "default_config:" in my configuration.yaml

I have also attempted to add this without any result:

zeroconf:
  default_interface: true
  ipv6: false

Traceback/Error logs

Here are my network interfaces:

eth0      Link encap:Ethernet  HWaddr B8:27:EB:E6:51:F7
          inet addr:192.168.8.86  Bcast:192.168.8.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14406 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14251 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3164964 (3.0 MiB)  TX bytes:13478597 (12.8 MiB)
...(Docker interfaces skipped)
wlan0     Link encap:Ethernet  HWaddr 06:52:98:4F:65:66
          inet addr:10.10.10.111  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:972 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1316 (1.2 KiB)  TX bytes:109463 (106.8 KiB)

As you can see, I have two networks and two interfaces. wlan0 is directly connected to the same network where my Mysa thermostat lives.

➜  ~ python3 -m netdisco
Discovered devices:
homekit:
[{'host': '10.10.10.103',
  'hostname': 'Mysa-da6a40.local.',
  'name': 'Mysa-da6a40',
  'port': 57959,
  'properties': {'c#': '1',
                 'ci': '9',
                 'ff': '1',
                 'id': 'C4:44:0D:E6:94:4C',
                 'md': 'Mysa-da6a40',
                 'pv': '1.1',
                 's#': '1',
                 'sf': '0',
                 'sh': 'PcTZ1Q=='}}]

...

I can ping the device:

➜  ~ ping 10.10.10.103
PING 10.10.10.103 (10.10.10.103): 56 data bytes
64 bytes from 10.10.10.103: seq=0 ttl=255 time=14.263 ms
64 bytes from 10.10.10.103: seq=1 ttl=255 time=4.984 ms
64 bytes from 10.10.10.103: seq=2 ttl=255 time=7.902 ms
64 bytes from 10.10.10.103: seq=3 ttl=255 time=4.085 ms

I can also connect to 10.10.10.103:57959 over TCP.

Additional information

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions