FYI
Problem still exists in
Home Assistant 2023.5.3
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest
Logger: urllib3.connectionpool
Source: components/tuya/base.py:275
First occurred: May 15, 2023 at 10:38:32 (1128 occurrences)
Last logged: 19:24:12
Connection pool is full, discarding connection: openapi.tuyaeu.com. Connection pool size: 10
exactly the same situation here since some days.
3 tuya devices (AWATTO WSM02), HA Core 2023.10.4
I can switch them ON via HA, but they don’t get the recent status and i can’t switch them off from within HA.
But from tuya app on my mobile, I can switch them on/off and see the status.
Any Idea how to auto-fix or auto-repair it? My wife is quite upset about it, because I soldered the things into her favourite lamps
No, it is not “tuya locally”. I guess, such does not exist entirely.
It is tuya via the cloud. Always. From Mobile via Tuya App or via Smarlife App, as well as from Home Assistant via tuya integration.
Following this. I have the same issue. I have reloaded the integration and was able to get the status reflecting accurately in HA dashboards. Will need to check if this is temporary or whether this has solved the issue permanently.
I have the same issue. I have 3 smoke detectors in the Tuya App and when they detect smoke, I get a notification from the App. But I don’t get any notifications in Home Assistant or Apple HomeKit. I also have to reload it first in Home Assistant to see the status respectively the log.
Is there a way to change the refresh rate?
It is now March, 2024 with HA Core version 2024.2.5. I have the same issue! HA is NOT showing the correct status (On or Off) of my 4 SmartLife/Tuya devices. When this happens, toggling the switch On or Off in HA, nothing happens on the devices. I have to manually reload the Tuya Integration in order to show the correct status of the devices. This is not a problem with the SmartLife App on my phone at all. It is just HA’s Tuya integration is buggy! I will probably dump my 4 SmartLife devices and delete the crappy Tuya Integration.
Same on core 2024.3.0 here. I’ve got several Tuya devices via the official intergration = cloud. And just one temperature&humidity sensor doesn’t get updated in HA.
In SmartHome app it works just fine, but in HA I need to reload Tuya integration which renders the sensor useless.
I didn’t have any success setting up Tuya Local so far, maybe it’s time to give it another go both for Tuya Local and Local tuya, whichever would work.
I’ve managed to add the problematic temp&humidity sensor to Local Tuya after all and through Local Tuya it’s now been working fine for a day.
Still doesn’t work through official Tuya integration.
For those in the same boat, none of my Tuya temp&humidity battery-powered sensors keep their state in Local Tuya. Most of the time they would show “unavailable” and only for few seconds when the sensor updates the info they would show the acutal value. The solution for this issue is to create a trigger-template sensor that would hold the last known value of the LocalTuya sensor as described here
Same trouble I’ve a motion detector. Tuya App receive update of motion but HA not after Integration reload the status change. It seem that pooling don’t work anymore.
Update Status :
HA => Tuya work
Tuya => HA don’t work
just want to add my 5 cents here.
I had the same situation where I could not turn off a switch because HA thought it was already off whereas it was actually on.
What I did - I removed LocalTuya integration from HACS (and rebooted HA) and it magically started working!
It may take a couple of seconds delay but - still working.
Or maybe it is only because I rebooted the HA?