tuya-home-assistant
tuya-home-assistant copied to clipboard
Tuya-integration does not update status anymore
Description
(see also https://community.home-assistant.io/t/tuya-integration-does-not-upate-status-anymore/571023)
Hi everone,
Running HAOS with tuya integration
Recently (as in last month) I noticed following new problem: the status of my tuya-lights is sometimes not updated anymore. Resulting in that I can not toggle my lights anymore.
What still works:
- begin situation: light is OFF, in HA the status is also OFF
- in HA toggle light --> light turns ON, but status in HA displays OFF
- in HA I can not turn OFF the light anymore (as HA thinks it is already OFF)
- in TUYA-app I can turn OFF the light
- than, in HA I can turn ON the light again.
So it seems that the TUYA-integration is only partially working: if the light is OFF, the command to turn it ON is sent to the cloud. However, the feedback from the light is not (correctly) processed. In the native TUYA-app on my phone, everything works fine, including status updates, so connection of my device to my network and cloud seems to be OK.
If I reload the TUYA-integration, HA works fine again for a while, but than, this problem starts over again
Things that have been changed lost month(s) at my side: I always upgrade my HA instance to the latest version. And I added some new TUYA devices (right now I have 56 devices with 115 entities).
As the problem only occurs intermittently, I can't immediately trace the cause back to a particular version of HA or a particular device I added. However, the devices I added last month are of same type I had already, so I'm not expecting a problem with the device particulary.
So my question(s):
- did somebody else experienced the same problem?
- is there a limit in number of device you can handle with the tuya integration?
kind regards, Bart Plessers
Expected behavior
Status of devices in HA are correctly displayed
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
Problem still exits in Home Assistant 2023.6.1 Supervisor 2023.06.1 Operating System 10.2 Frontend 20230608.0 - latest