HomeKit Controller - How to find entity id to add to UI

I have 4 Insignia WiFi switches that have not been supported directly by HA, but recently since you’ve added the homekit controller I’m now trying to get them enabled. I added the homekit controller configuration in my configuration.yaml

discovery:
enable:
- homekit

and it found my devices and provided a link to configure. I then used the homekit PIN and was able to configure the 4 devices. The configuration link is gone, but I’m unable to find the device in the <> state list in order to add it to a group on the UI. I can see them being setup and configured in my log file, but there is a section which shows some errors. I’ve only showed one sample, but there are 4 almost identical (1 per device).

2018-06-04 18:18:22 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/homekit_controller/init.py”, line 243, in discovery_dispatch
device = HKDevice(hass, host, port, model, hkid, config_num, config)
File “/usr/src/app/homeassistant/components/homekit_controller/init.py”, line 98, in init
self.accessory_setup()
File “/usr/src/app/homeassistant/components/homekit_controller/init.py”, line 112, in accessory_setup
data = json.loads(response.read().decode())
File “/usr/local/lib/python3.6/http/client.py”, line 462, in read
s = self._safe_read(self.length)
File “/usr/local/lib/python3.6/http/client.py”, line 614, in _safe_read
raise IncompleteRead(b’’.join(s), amt)
http.client.IncompleteRead: IncompleteRead(0 bytes read, 747 more expected)

Any help would be appreciated.

1 Like

I am having the same issue with the exact same error. I was able to add my device using the homekit code, but nothing ever shows up and i get the same errors in the logs.

2 Likes

Same here, i have same kind of switches added to hassio v0.71 with the Homekit pin code but no entities added

1 Like

Same problem here.

Same here as well…
No answer about that yet?
Doesthis actually work for anyone?

I was so happy to finally be able to add my HK exclusive devices in HA but the entitiy doesn,t see to get added in HA after adding the HK code.
And it’s not in configurator card so I presume something worked when adding it…

not sure if it’s a lack of documentation of support but it seems there are a lot of unanswered questions about this out there…

1 Like

i can’t get it to work either. it always boils down to http-related errors and that the „controller“ is unable to establish a connection to the homekit-device. discovery works fine, but thats about it.

the http.client either times out or reports refused connection. i installed homekit controller on a mac and a raspberry, i used the native homekit python CLI tools without HASS on a mac an on a raspberry and i always get errors like http.client.IncompleteRead or http.client.CannotSendRequest.

I contacted the dev for the original release of the HK controller this week and he responded that he is on holiday, but will review this upon his return, so there is some light showing at the end of the tunnel. I had raised an issue 14974 and you can find those comments under there.

Hi Brian, I’m running into the same issue. I was wondering if you were able to find a resolution to this.

One interesting note I would make is that I was initially able to add a leviton dimmer switch that is a zwave homekit compatible switch, but then subsequent switches did not show up after I configured them.

Interestingly, I tried to clear the configurations and it stopped working. I’m not sure if it’s because I installed homekit (and maybe it conflicted with homekit controller) or if adding a second switch caused the issue to start reproducing. I’ve already tried removing all switches, removing the configuration for homekit, then adding a swingle switch…did not work.

Still not resolved, but I have a Leviton switch that shows up as zwave. I wasn’t aware of any that are zwave and HomeKit enables. The 4 switches I have currently at insignia and are WiFi switches that are HomeKit enabled.

I don’t think there is any conflict between HomeKit component and the HomeKit controller component, but certainly people get them confused.

I am waiting for some direction from @mjg59 who will be trying to resolve this issue.

Hi @brian.walker , Do you know if the issue was resolve? i added my switches on version 0.71 and now i’m running version 0.76 but still having same issue no entity_Id

It sounds like it’s not yet been resolved. I’ve been looping in @mjg59 on my comments, but as of yet no reply, so I can only assume he is swamped with other needs. I’m hopeful as I believe this HomeKit controller expands the capabilities of HA. I’m running 0.75.3 still, but was going to try 0.76. Likely will receive the same.

The other issue I get is that I get the multiple devices to configure showing up in the HA UI, but they have nothing to distinguish them by serial # or any key field so I have to just try all homekit #'s to hunt for a hit. It’s certainly early on, but has great potential. I’m also not sure how to get it working with both HA and the devices own control software or whether that is possible.
image

Any movement on this issue? I’m running 0.80.3 and am trying to pair Lyric T6 thermostats. My issue seems similar to those here. Pairing seems to go fine but there is no entity.

It seems the original author is not responding so not sure, but hopefully someone else will pick this up ad I would see this as being a great feature. I have 4 light switches that I can’t use through HA right now as they can only be connected to HomeKit.

I’m still waiting for a resolve. where is the author?

I worked with @mjg59 who had done some work on the release if not all. I think hes been very busy lately

I can configure the accessories but are not seen on the front end