core icon indicating copy to clipboard operation
core copied to clipboard

HomeKit Controller doesn't reestablish communication with restarted ecobee

Open raccettura opened this issue 1 year ago • 7 comments

The problem

I've only so far experienced this with an ecobee, but it's possible it applies to other devices.

My ecobee had to be powered down briefly. When offline the device is unavailable in the Home Assistant UI (great!). When ecobee is powered back on, the device never becomes available. Restarting the integration fixed it and restored connectivity.

I've had to power down the ecobee a few times recently and this wasn't an issue with 2022.07 so I think this is new with 2022.08

What version of Home Assistant Core has the issue?

2022.8.1

What was the last working version of Home Assistant Core?

2022.7

What type of installation are you running?

Home Assistant Container

Integration causing the issue

homekit_controller

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homekit_controller/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

raccettura avatar Aug 06 '22 19:08 raccettura

Hey there @jc2k, @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit_controller) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

I'm experiencing the same issue with my Homekit devices as well (2022.8.2), but it isn't just my Ecobee. I have a few HomeKit light switches reboot themselves every day ~2AM (but staggered by a few minutes). Sure enough, they all have gone unavailable after the light switches restart. Reloading the integration for those devices brings them back immediately.

This has been happening every night since upgrading from 2022.7.6 -> 2022.8.1 (and then 2022.8.2).

aav7fl avatar Aug 09 '22 13:08 aav7fl

Which models are the light switches?

Thanks

bdraco avatar Aug 09 '22 17:08 bdraco

Which models are the light switches?

Thanks

Meross MSS510 (2-way light switches). I have a few of them that were all purchased ~18 months a part.

What's weird is that my 3-way Meross (MSS550) light switches don't seem to be restarting every morning ~2AM. So they're not exhibiting this behavior.

aav7fl avatar Aug 09 '22 17:08 aav7fl

I ordered an MSS510 for testing https://www.amazon.com/dp/B087P3DM42?psc=1&smid=AMUYZQ3EOZ3KS&ref_=chk_typ_imgToDp

bdraco avatar Aug 09 '22 18:08 bdraco

I ordered an MSS510 for testing https://www.amazon.com/dp/B087P3DM42?psc=1&smid=AMUYZQ3EOZ3KS&ref_=chk_typ_imgToDp

Some additional helpful information for debugging once it arrives. The firmware for each of my MSS510 switches are currently the newest; 4.2.3. App lists the hardware version for each as 4.0.0.

aav7fl avatar Aug 09 '22 18:08 aav7fl

Screen Shot 2022-08-11 at 4 25 39 PM

Test one showed up with the same firmware. I'm running it with #76570 merged in

bdraco avatar Aug 12 '22 02:08 bdraco

Switch stayed up overnight running the changes in https://github.com/home-assistant/core/pull/76570

bdraco avatar Aug 12 '22 16:08 bdraco

Switch stayed up overnight running the changes in #76570

Thanks! I'm just confirming in case another person comes across this issue, the merged fix related to this issue resolved my problem. 😄

aav7fl avatar Aug 15 '22 12:08 aav7fl

Thanks for confirming

bdraco avatar Aug 15 '22 15:08 bdraco

My ecobee thermostat keeps becoming unavailable, then coming back. The history tab on the thermostat card shows it as frequent as every minute and as long as several minutes. Restarting the homekit integration may or may not cause it to come back from an unavailable state since it restores itself every few minutes anyway. This has been happening since before July. I could not find anything in the logs referencing homekit or ecobee as being a problem. I had previously opened an issue on it which was merged as a duplicate of this one and was never really addressed, but my issue is still ongoing. I have deleted the integration and reconfigured it multiple times and the issue begins within an hour of setup. Ecobee is the only device I have setup through the homekit controller integration and it worked great for about a year until the issue started. I have since deleted the integration altogether because it acts up and changes temp or turns off completely due to rules and automations freaking out when it goes offline and when it comes back online. It's been over 100 degrees farenheit where I live and is going to 108-110 degrees farenheit for the next week or so. I can't have my thermostat keep shutting off randomly.

dragonsoul84 avatar Sep 06 '22 04:09 dragonsoul84