Ecobee3 Setup failing - possible ecobee bug?

I have recently installed HA and am having some issues getting my ecobee to pair with my server. They are on the same subnet and network with no firewall restrictions. I enter the pairing code and immediately get the dreaded ‘Incorrect HomeKit code. Please check it and try again’ error.

I took a packet capture from my HA server and I see an http request go to the ecobee with a pairing request, followed buy ssl connections that the ecobee are terminating:

I do not have any other Home Kit devices that I can test to see if they work, but it looks to me like it may be an issue on the ecobee itself?

Has anyone else come across a similar issue?

Thanks
Danny B

I recently setup HA and added my ecobee smart stat via HA HomeKit hub integration. I also have no other HomeKit presence in my home. I think part of the complexity is that neither device is apple brand device.

My issue initially was the two being on different subnets. I came from ecobee developer integration which is cloud based and this local / bonjour.

I had to turn the ecobee HomeKit feature off and back on to get HA to recognize it. I think the pairing code was different that time.

If that doesn’t do it, I would enable debug logging on the HomeKit hub integration on the far upper right 3 dots.

The 3 dot menu on the right of the thermostat device itself can be disabled / re-enabled