[APP][Pro]YoLink (Version 1.0.2 live, 1.0.6 test)

Hi @Adrian_Rockall,
I sent you new logs after and following your instructions. :slight_smile:

I don’t know about your HA question, but the result was the same when I temporarily deleted the HA device.
Should I fully delete the YoLink integration in HA perhaps?

Hmm, looking at the new log it should all be working now as it connected to the broker successfully this time.

Could it be that it doesn’t connect successfully after a reboot or something like that?

The error was

Connection refused: Not authorized

So, not sure why a reboot would cause that. Hmm, unless the old connection wasn’t disconnected and there wasn’t enough time for a timeout to disconnect it. The app does try to disconnected properly when it is shutting down, but that has been very flaky in the past where the app is killed too quickly for cleanup to complete.

Not sure if the cause was a reboot of course, but would sound logical to me.

Is there anything to do about this error?

Don’t let Homey reboot :grin:

I will investigate it but my Homey does reboot quite frequently due to alpha firmware updates and I haven’t noticed that issue.

So, if you can figure out if there’s a cause then let me know.

ATM, if that error occurs it doesn’t try to reconnect, so I will also look into retrying the connection after 15 minutes. If it is a duplicate connection that’s causing the problem then it should have timed out by then.

1 Like