-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Slow requests #87
Comments
Hi @bimusiek , you can start homebridge in debug mode to see the API and mqtt logs. beta 21 until the latest version didn't change too much in network request. Where's your location and which data center are you using? |
@0x5e Hey, I am from Poland (connecting via Starlink) and in project I have One of the slow requests.
Using Tuya app the switch works instant, only via homebridge it takes a lot of time.
|
Wow Starlink... cool. Could you try |
Ok, after realising that it connects through Cloud api which means internet connection needs to be stable I checked my Grafana logs of speedtests and indeed, there was something off... I checked my network and basically one switch was connected via broken cable in 100mbs mode. After replacing cable and internet connection being stable it works much quicker now. |
Describe the bug
In beta 21, the moment I tap to switch a light in Homekit, it takes less than 2s, most of the time less than 1s, to trigger Tuya.
In next versions the response time is around 5s.
Expected behavior
I don't expect to have the light switched instant, however the difference is quite big. Especially when setting "Goodnight" scene where all the shades and lights are closing. In v21, all of those switch at the same time (so shades starts rolling down together, lights are turned off together, even if it takes 1-2s to trigger it). After v21, some shades will start closing earlier, some later, same with lights.
Device info
There are no logs for v21, but in newer version I could only see the log that message was not in order and it fallen back to fetch API. Could this be a culprit? But I don't see an issue with wrong state of the device now as I though I will with messages being not in order.
The text was updated successfully, but these errors were encountered: