gecko-home-assistant icon indicating copy to clipboard operation
gecko-home-assistant copied to clipboard

Blocks HA launch when spa connection is down

Open relevante opened this issue 2 years ago • 2 comments

My in.touch2 box is pretty far from my tub at the moment (waiting for the ground to thaw to continue construction, at which point there will be network out to a cabinet near the tub). It works most of the time but sometimes disconnects.

This morning I needed to restart HA and it happened that the tub connection was down. The Gecko integration seemed to totally block HA from finishing startup. I waited several minutes and it was still blocking startup. Unplugging the in.touch2 to take it offline temporarily solved the issue. Seems like perhaps there needs to be a timeout added somewhere in the initialization code.

Thanks for the great work!

relevante avatar Jan 16 '23 12:01 relevante

I've left my spa offline for 2 months without any issues to with HA, it does log that its taking a long time though but not stopping boot process.

stefanh12 avatar Feb 06 '23 20:02 stefanh12

Interesting. I wonder if it's something specific to a weak connection. E.g. it's able to begin the connection process in a way that doesn't happen if the spa is totally offline and then something doesn't timeout properly. Either way, I'm fine for now as I just moved the hub upstairs where it has a better connection.

relevante avatar Feb 06 '23 21:02 relevante