Homekit can't see or pair properly: Probably a corrupted database?

I recently tried to re-pair an ecobee3 thermostat with homekit. What happened was the ecobee said pairing was successfull while the iPhone said it failed. The ecobee did not appear in homekit, so I would think that meant it actually failed, but the ecobee had still configured itself as if it was connected, which doesn't impact its function other than enabling a 'disconnect from homekit' option in the reset menu. Whether or not I reset it, however, the thermostat now does *not* appear in any attempt to pair it in homekit (in the ecobee app or in the homekit app). I have verified that the ecobee does have a "Bonjour" beacon under "HAP" on the network, so it is broadcasting its existence on the network properly. on my iPhone (running iOS10), I deleted my homekit home (the most complete way to reset homekit in iOS10), and tried again, but it still didn't appear. I pulled my 4S from the closet, still running iOS9, and it did see the thermostat for pairing. Upon attempting with that, it again succeeded on the thermostat and failed on the phone. I've tried a full reset on my thermostat as well, and it still doesn't properly appear on my iOS10 phone, nor does it properly pair with homekit if I manage to see it in iOS9.



I'm fairly certain this means there is some stub in my homekit database that I can't remove, since homekit doesn't say the device is paired. This really does mean that, even though I've tried resetting both homekit and my thermostat, something has not been properly cleared. At this point, since I've reset the thermostat as much as I absolutely can, I think the very last thing I can try is to reset homekit on my iOS9 phone, and try again, hoping that the iOS9 reset doesn't just delete the home, but completely reformats the homekit database to remove the corruption I suspect is there.

Posted on May 8, 2017 6:48 AM

Reply
5 replies

May 19, 2017 8:49 AM in response to Lycestra

I've found the cause of the problem. It started when I added more sensors, going from 7 to 9 sensors. This was the problem.


I've found if I unpair sensors on the thermostat to 7 or less, it works fine on homekit. The moment I have 8 or more, it won't communicate with homekit or pair properly (ecobee says it has, but the phone says it can't connect). I found some third-party threads stating that this pairing issue is a symptom of malformed homekit content, and it seems to originate with the ecobee itself, but only when you have more than 7 sensors. For now, I'm running with 7 sensors until ecobee finds a long-term solution. I suspect it's a homekit buffer size limit, maybe part of the protocol, maybe just the static size of the buffer ecobee uses for storing its homekit network advertising info. The ecobee itself is fine with 9 sensors, and works fine in its ecosystem. It's just homekit communication is fubar in this case, and easily regained by unpairing excess remote sensors.

May 8, 2017 2:09 PM in response to zinacef

"A while back"... Was this before iOS10 came out? Did you "remove home" in homekit, or do an iOS9-style HomeKit reset?


I did pretty much the same thing as you describe already (reset my ecobee3 and removed home), but using iOS10 to purge HomeKit. When I pressed "Remove Home" in iOS10, I could follow it as it removed one device at a time and then removed the home. The reason I am considering using iOS9 next is that in the settings app, homekit has a reset option, which I speculate may be more complete. Equivalent of a reformat, not just deletion.


Thanks for your reply!

Aug 15, 2017 12:33 PM in response to zinacef

Was a permanent fix for this found? I am having the exact same issue. Rather than removing sensors from a perfectly functional HVAC system I just elected to halt on buying any HomeKit products until this is resolved. (Stopped using homekit completely.) I would like to use Apple's platform for my home automation but if this is not resolved I may be forced to move on to another company.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Homekit can't see or pair properly: Probably a corrupted database?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.