home-assistant/core

Integration with Home Assistant is unstable, it is not working.

Opened this issue · 16 comments

The problem

TUYA's integration with HA has been experiencing problems since yesterday, October 21, 2024. I was unable to connect (synchronize), and when I managed to connect (synchronize), the commands took more than 10 minutes to be executed and updated on the dashboard. Does anyone know if the TUAY integration with HA is experiencing problems?
Everything is working normally through the SMARTLIFE app.
@tuya, @zlinoliver, @frenck.

What version of Home Assistant Core has the issue?

2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya

Diagnostics information

Imagem1

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of tuya can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign tuya Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation
tuya source
(message by IssueLinks)

Mine stopped working a few days ago.

Yes, it has stopped working since 10/21/2024

Same issue here :(

same problem here!!!

...also, no QR code appears during setup of new device. (mmWave).

Hi Guys,

I have the same problem!
No new devices are added. When this problem happens I need to restart the Home Assistant.

image

I noticed that @visaodeempresa and @wagnerluis1987 are Brazilians like me, is there any connection there? I don't know if @richard-fairthorne and @jon-moreira are Brazilian, but they could inform you to try to help find the problem.

Same here, integration stopped to work. I am not Brazillian, I come form Poland.

I've had luck maybe one out of every 10 times reloading the integration it would setup correctly, but then disconnect again after some delay.

Hi @rafaelsouzams and evereone,

I've encountered a rather inelegant and practical workaround. I removed the smart plug and re-registered it with Tuya Smart, then synchronised it. In this scenario it reappeared in the Home Assistant, but I lost the history of the voltage, power and current sensors. I noticed that after a recent Home Assistant update the plug-in had problems synchronising the entities when we changed their name in Tuya Smart.

The error message is still there, but at least I can add new devices, as well as recognise those with changed names in Home Assistant.

Another point of error is in the Core log in relation to Tuyalocal, because even if you disable the add-on the error continues as if the add-on were still running even though it was disabled.

Thanks
Maycon

Providing more details, I have now cleared the system logs and rerun the tests, and I had the same problem.
image

When I checked the logs, I got the following message

image

Looking in detail, I've seen that it fails to update entities, not recognising those whose names have been changed. Below is the old name of the kitchen temperature sensor
image

image

Now the sensor has the name below and somehow it hasn't been able to link the old name and make the change as it did before

That may not be the problem, but I'd just like to share a few observations I've made

Thank you everybody and have a nice weekend! 🍺

Can anyone test a version before this change?
#127399

Can anyone test a version before this change? #127399

I did test it with core 2024.10.0 and it didn't work.

Eu notei que@visaodeempresae@wagnerluis1987os brasileiros são como eu, existe alguma ligação aí? Não sei se@richard-fairthornee@jon-moreirasão brasileiros, mas poderiam te informar para tentar ajudar a encontrar o problema.

Sim @rafaelsouzams, sou Brasileiro... já fiz de tudo e não resolveu... até reinstalei o homeassistant do zero, reconfigurei tudo, e ainda continua com problemas.

Só pode ser problemas com a Integração da @tuya. Pois se for dado o comando via Alexa para ligar ou desligar algo, o status na tela do HomeAssistant é alterado de imediato, mais se eu click no ícone da Luz por exemplo, ela demais quase 10 minutos para ligar ou desligar.

E só estou com problemas mesmo com a integração da @tuya, as demias estão rodando lisas.

here with problems too. if you reload the integration it works but after a few minutes it doesn't do anything. and sometimes it shows this error.
IMG_20241027_083008.jpg