Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log info for disconnect and error #15

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

marsuboss
Copy link
Contributor

Sometimes, one of my fans doesn't respond (However, with the Tuya app, this fan responds well).
I need to get more information.

this.connect(device);
});
device.on('error', () => {
this.platform.log.info('Error... Try to connect');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we have the error message in the arg? If yes, we can display on the console.

I had the same issue too, it was due to my Wifi Router who was too far, by changing the orientation I fix my problem.

@marsuboss
Copy link
Contributor Author

Yes, I hadn't thought of adding the argument ;)
However, the WiFi signal is good according to the Tuya app

@moifort moifort merged commit b98b362 into moifort:master Mar 5, 2024
5 checks passed
@moifort
Copy link
Owner

moifort commented Mar 5, 2024

Deploy v0.0.89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants