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

Performance effect with too small sync intervals and Tuya IoT enabled #567

Open
c1328 opened this issue Feb 2, 2024 · 0 comments
Open

Comments

@c1328
Copy link

c1328 commented Feb 2, 2024

Describe the bug
I had trouble with interval times smaller than 120 seconds (local and cloud) and Tuya IoT enabled also. Setting the interval to 60 seconds causes massive input/output events (more than 3.500) and made the system slow and laking responsiveness. I think there were too many syncs quued.

Now interval is set to 300 and it works perfekt and stable. Question: Why not setting the interval to more than 300 seconds when IoT Cloud is enabled because its "realtime" sync anyway, correct?

If I did not noticed the recommendation keeping the interval at minimum of 120 second - sorry for that.

To Reproduce
Steps to reproduce the behavior:

  1. Set interval to 60 seconds for local and cloud connections
  2. enable Tuya IoT Platform also
  3. having >20 devices
  4. monitor input/output events

Expected behavior
Giving a warning when interval is too small when having IoT enabled

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

  • Adapter version: v3.15.0
  • JS-Controller version:
  • Node version:
  • Operating system: Debian Linux
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

No branches or pull requests

1 participant