TUYA devices (Smart Life) issue / devices state refresh slow

I confirm, it is fixed with 0.113.0! Thanks

I just updated to HA 0.113.0, and still have this issue… switch updates after 30 secs… Is this the normal behavior? I just installed my first smart life switch today…

Updates happen instantly for me. Perhaps try to unlink and link again to the Tuya integration?

I did that… but nothing different happens… Maybe is because I’m using the smart life app? Should I use the Tuya app?

I’m using the Smart Life app and everything is working fine now since I updated to the lastest.

But, if you turn off light directly from the switch, you instantly show that on HA? I can turn on/off the switch from HA without problem, but if I change state from switch, update is very slow

It takes about 5 seconds. Perhaps it depends on your network latency, wifi issue perhaps. 5 seconds seems reasonable to me.

Ok, I’m going to look at that… thanks man!

1 Like

I’m seeing that as well. If I flip a switch that is on Smartlife it still takes about 7 to 10 minutes before HA receives an update showing the switch is on.

If I activate the same switch from HA the responce is instant. No more state switching back where it was.

OK so I didn’t try that so I guess the problem is partially fixed.

I have the same issue.
Switching de device using HA works very well!
The issue happens when switching the device outside HA (Tuya or Smart Life app, device directly, Alexa or Google Assistant). It takes random time to the HA to receive the information, usually more than 5 minutes, rendenring any HA automation based on Tuya devices almost useless…

I’m using docker HA version 0.113.3 on a Raspberry Pi 4 with 4Gb.

I’m using this integration with eWeLink and it works smoothly with SOnOff devices.

The same issue as described by @Guilherme_Wolf_Wande. Turn it on from Google or Alexa and the status does not update. I am using docker HA 0.115.2 on a Mac OS Catalina. Not sure what the issue is with Smart Life.

i have the problem too

Same here :frowning:

Hi all.

I have the same issue. I have already reinstall home assistant to the newest version this month(2020.12.1). From the scratch with new sd card running on rpi4 4Gb.

I can control tuya devices from HA with no problems. But if I change it manually the feedback refresh after 10-12 minutes.

If I check the TuyaSmart the feedback is there correct. I have tried to change the time for device refresh in tuya integration for 30s but it doesn’t help either.

Any idea? I gues it must be problem between HA and tuya. Because the feedback in tuya is true and fast.

Thanks in advance

Matyas

I’m new to HA, just installed it on a Raspberry Pi 4 and I’ve also noticed the same lag - that’s crap if there is no fix

Well, it’s not a bug with HA but an issue with the API that Tuya obviously is in no rush to change.
Take a look here: Tuya devices stopped changing state

I have successfully worked around the latter by using local tuya from here.
Runs niclely together with the Tuya Integration to HA and the States of Tuya devices are upgraded intantly within HA whatever method the switch/light etc. was triggered from.

Thanks Tamsy for that info, I’ve taken a quick look at Local Tuya.
To be honest, me being a noob (never used SAMBA (can’t even dance lol) and never written any yaml etc.), it might be a bit technically challenging for me to implement it. :thinking:
I’ll have to do more research when I’ve got more time, but the way I’m feeling at the moment - the Pi is very close to going on Ebay and biting the bullet and buying an IFTTT subscription.

Local Tuya is the way to resolve this… worth the effort

Same errors as everybody with core-2021.7.3 docker
On/off the lights takes 5 to 20secs.
Sensors never updated, couldn’t change colors.
Sorry but official tuya integration is still totally unusable and unreliable to use for normal operation or automation.

Fixed with localtuya, now everything works super fast.
Once you setup localtuya integration it’s not that hard to add all your devices.