I’m having trouble getting my Onvis HS2 switches (two of them) added to Home Assistant. I have HA running in a Docker container on a server on my LAN. I’m also running the Matter server in another container, and I have the integration installed. My border router is an AppleTV.
I had these working through HomeKit. First, I tried to add them to HA in the HA iPhone app by choosing that they were already integrated into another system. This tells me to open the accessory settings in HomeKit and choose “Turn on pairing mode.” This option does not exist in my switches’ settings.
Then, I tried removing the switches from HomeKit, resetting them, and adding them fresh to HomeAssistant. When I do this, it tries to scan the setup code, but it just doesn’t see it. (It does see it, scan it, and recognize the device as a switch when I add it directly to HomeKit.) Since HomeAssistant doesn’t seem to see the barcode, I tried manually entering the setup code instead. When I do this, it doesn’t identify the type of accessory (just labels it a generic “accessory”) and never moves past “Connecting.” It’s sat stuck there for over an hour with no progress.
I’ve looked at some of the threads. Seems like IPv6 is a common problem. I believe it’s on for my instance, although I don’t even see a way I would toggle it. When I go to the settings though, I do see an IPv6 address.
At first I thought you meant Apple Home, which is the name of the ecosystem, not HomeKit, which is only one (of two) control protocols supported by Apple Home (the other being Matter).
But then I looked at the specs for the Onvis HS2 plugs and while they explicitly support HomeKit-over-Thread control, there is no mention of Matter support. While the Matter protocol lets you enter pairing mode to join more than one fabric, the HomeKit protocol only allows one controller at a time, which explains why you don’t have that option.
In order to add HomeKit-over-Thread devices to HA, review the HomeKit Device integration docs which has a section for adding HomeKit devices to HA using Apple Thread Border Router. In short, add it to Apple Home (the ecosystem) and remove (but don’t reset it), and assuming your network is setup correctly HA should autodiscover it.
An unhandled error occurred while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently: Network error: NetworkError
I see this as soon as the add dialog box opens. If I enter the setup code and submit, it seems to fail immediately. The dialog box flashes quickly, and I’m dropped back to it with an empty setup code field. Any idea what this indicates?