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

Slow after upgrading to 4.1.0 #1015

Open
JLOFPV opened this issue Sep 6, 2022 · 8 comments
Open

Slow after upgrading to 4.1.0 #1015

JLOFPV opened this issue Sep 6, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@JLOFPV
Copy link

JLOFPV commented Sep 6, 2022

Hello, after the update to version 4.1.0 I have noticed extreme slowness when restarting Home Assistant. It takes approximately 5 minutes to restart, when with the previous version it only took 1 minute.
I currently use Local Tuya only for the following device AT-Q-SY1 (smart circuit breaker) as it is the only way to integrate it into Home Assistant.
In the restart after the update, the device turned off automatically, this had never happened to me.

@JLOFPV JLOFPV added the bug Something isn't working label Sep 6, 2022
@smarthomefamilyverrips
Copy link

Hello, after the update to version 4.1.0 I have noticed extreme slowness when restarting Home Assistant. It takes approximately 5 minutes to restart, when with the previous version it only took 1 minute. I currently use Local Tuya only for the following device AT-Q-SY1 (smart circuit breaker) as it is the only way to integrate it into Home Assistant. In the restart after the update, the device turned off automatically, this had never happened to me.

"In the restart after the update, the device turned off automatically, this had never happened to me."

Same as above happened to me also with several lights.

@fotis3d
Copy link

fotis3d commented Sep 6, 2022

Hello, after the update to version 4.1.0 I have noticed extreme slowness when restarting Home Assistant. It takes approximately 5 minutes to restart, when with the previous version it only took 1 minute. I currently use Local Tuya only for the following device AT-Q-SY1 (smart circuit breaker) as it is the only way to integrate it into Home Assistant. In the restart after the update, the device turned off automatically, this had never happened to me.

"In the restart after the update, the device turned off automatically, this had never happened to me."

Same as above happened to me also with several lights.

I also have this with some lights. First one specific did it then another also but the first stopped that.

@sibowler
Copy link

sibowler commented Sep 7, 2022

Can you see if the changes in the PR improve the behavior/startup time?

@JLOFPV
Copy link
Author

JLOFPV commented Sep 7, 2022

Can you see if the changes in the PR improve the behavior/startup time?

It has improved the reboot time substantially, right now it reboots in about 2 minutes.
Thanks. :)

@JLOFPV
Copy link
Author

JLOFPV commented Sep 12, 2022

¿Puedes ver si los cambios en el PR mejoran el comportamiento/tiempo de inicio?

I have uploaded a backup to a new NUC server. Now the reset time is back to greater than 3 minutes and it has me turning off the breaker again on the first reset.

@sibowler
Copy link

Can you have a look in the logs to see if there are any notable errors/messages?

By installing a backup on the NUC, are you running 2 copies of HomeAssistant at the same time? Generally tuya devices can only talk to one localtuya instance at a time and you will see connection errors/timeouts on the other instance.

If running only one instance, just check the PR changes came across with the backup

@JLOFPV
Copy link
Author

JLOFPV commented Sep 12, 2022

Can you have a look in the logs to see if there are any notable errors/messages?

By installing a backup on the NUC, are you running 2 copies of HomeAssistant at the same time? Generally tuya devices can only talk to one localtuya instance at a time and you will see connection errors/timeouts on the other instance.

If running only one instance, just check the PR changes came across with the backup
How can I verify PR changes?
I only use a HA server. I show you a screenshot where the delay is generated for 2 minutes. It corresponds to the only device that I have configured in your local. It does not show the values ​​until the 2 minutes have passed. Before the update it didn't happen. Thank you very much for the help.
Screenshot_20220912-215041_Home Assistant

@sibowler
Copy link

sibowler commented Sep 14, 2022

Hi @JLOFPV - Can you go to System->Logs and look for any ones coming from localtuya?

How can I verify PR changes?

If you want to ensure that the PR came across, do the same process you did to test PR #1022 above - if you find all the changes are already there, then you know the PR code came across.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants