iRayanKhan / homebridge-tuya

A Homebridge plugin to control Tuya devices locally.
MIT License
400 stars 165 forks source link

Connectivity errors with SimpleLight devices since MacOs Monterey #336

Closed AlainKaim closed 2 years ago

AlainKaim commented 3 years ago

Checklist

Describe the bug Homebridge is running on my Mac since ages. I have upgraded to MacOs Monterey last week, and since that time, three of my SimpleLight have trouble to connect with the Tuya plugin. Their brands are Waza and SmartPlug. The three SimpleLight are working well with Tuya and Alexa apps, so they are well connected through my wifi network. And I have another Waza SimpleLight and many other devices which are working well with Homebridge.

Do I need to upgrade something, and what ? Thanks for your help!

To Reproduce Steps to reproduce the behavior: Even after rebooting Homebridge or even the wifi router, I see these error messages in the log. And in Home app, the devices Est, Ouest and Canape are not responding.

[Tuya] Socket had a problem and will reconnect to Canape (EHOSTDOWN) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Est (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Ouest (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya] Socket had a problem and will reconnect to Canape (EHOSTDOWN) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Est [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Ouest [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya DEBUG] decrementing this._connectionAttempts, currently 2 [Tuya DEBUG] decrementing this._connectionAttempts, currently 1 [Tuya DEBUG] decrementing this._connectionAttempts, currently 2 [Tuya DEBUG] decrementing this._connectionAttempts, currently 1 [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] decrementing this._connectionAttempts, currently 2 [Tuya DEBUG] decrementing this._connectionAttempts, currently 1 [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya] Socket had a problem and will reconnect to Canape (EHOSTDOWN) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya] Socket had a problem and will reconnect to Canape (EHOSTDOWN) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya] Socket had a problem and will reconnect to Canape (EHOSTDOWN) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Est (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya] Socket had a problem and will reconnect to Ouest (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] after error setting _connect in 5000ms [Tuya DEBUG] decrementing this._connectionAttempts, currently 4 [Tuya DEBUG] decrementing this._connectionAttempts, currently 3 [Tuya] Socket had a problem and will reconnect to Canape (Error: ERR_CONNECTION_TIMED_OUT) [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Canape [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Est [Tuya DEBUG] executing _connect after 5000ms delay [Tuya DEBUG] reconnect called for Ouest

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

AlainKaim commented 2 years ago

Sorry for this wrong diagnosis: rebooting my (Netgear Orbi) wifi router solved the issue.

artwayne420 commented 2 years ago

Stop sending me fucking emails

Sent from my iPhone

On Dec 27, 2021, at 9:17 AM, AlainKaim @.***> wrote:

 Closed #336.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.