[APP] Tuya - Smart Life. Smart Living

I’ve done that couple of times, it seems to be fixed in the first minutes, but after some time everything gets back to what is already mentioned above by other users.

That’s strange, it still works fine here. Do you always need to repair, or is restarting the app also enough to get it working again?

This is what I’ve done:

First of all I’ve restarted homey, It didn’t fix.

2nd I restarted the app, it didn’t fix.

3rd I’ve made the repair in one of my devices, it only fixed the device I’ve repaired, i restarted the app after this one device was fixed, and everything was fixed after I’ve restarted the app.

But less than one hour after this a bunch of random devices are already unavailable.

I’ve got 36 devices connected on this app,most of them are unavailable.

Also I’ve done this process 3 times already, always with the same end result.

Do you have a mesh WiFi system, or other WiFi network with multiple APs/repeaters? In some of them (f.e. Deco), you can “lock” Homey to a specific node to prevent it from hopping between nodes (which temporarily drops the connection).

This weekend i had the same problem 4 times (last time was in the middle of the night).
every time I had to do at least one of the following actions:

  • reboot Tuya app, repair one device, reboot Tuya app
  • repair one device, reboot Tuya app
  • reboot tuya app

the last 2 times rebooting the app did it for me (fingers crossed, sinds this mornings reboot, all still works )

PS. I do have a mesh network, no problems with the connection till this weekend

Here the same problem since today.

Already tried re-pairing the device and restarting the app afterwards?

Yes a few times but it didn’t solve the problem.

I"ve tried reset Tuya app, Homey, Routers and switches. In some cases it worked for a few minutes. Sometimes repairing devices resulted in my house flashing like a christmas tree.

I started to rewrite my flows with direct Tuya Cloud commands and this seems to be steady for now.

You have to retrive the basic commands from each device and also it’s ID number

Oke, the problem returns, but my script is’n functional.

my devices dont respond, but only get a time-out, they are not “unavailable”
according to the script, the Tuya app is functional
rebooting the Tuya app, does solve the problem

I created a flow to reboot the Tuya app, I don’t always have a computer at hand.

Just hope it keeps working without repairs (until i have changed everything away from tuya.)

I’m experiencing the same issue. Last week, I had to repair the Tuya app, but today it crashed four times (as far as I know). Restarting the app fixed it each time. I believe I’m still within the token renewal window today.

I’m using the same pairing code with Home Assistant, and it continues to work without any issues on my HA system, which is very strange. At first, I thought the problem was caused by sharing the same pairing ID, but after reading this thread, it seems to be a different issue. Everything had been working flawlessly for months until now.

Tuya devices were unavailable again this morning so I repaired it and now they went unavailable again. I also noticed this banner in the Tuya mobile app:

I checked the permissions, and sure enough it does already have all permissions needed for ads.

That would be the “AdServices Topics API”, “Advertising ID permission”, “AdId API” and “AdServices Attribution APIs”. These are the permissions you’d need to show ads. It seems like they’re preparing to add ads to their mobile app.

If the Tuya Homey app stays unstable, I will just attempt to reverse engineer the mobile app. The Tuya app is used by so many devices in my house, many Flows don’t work correctly without it. Tuya is an essential part of my smart home, so it’s annoying to have to repair the devices every few hours.

That’s exactly what’s happening to me too. Unfortunately, the repair isn’t a permanent fix.

I have to keep doing it.

Also, the device in my Homey isn’t always displayed in red in the device overview.

When I try to control a device, it times out after a short while.

This can’t go on.

What can we do?

I’d really rather not replace all my Tuya devices.

Would it make sense to contact Homey support about this?

To give you guys a quick update on this matter: we are aware of this issue, there is no need to contact Athom support or us. We’ve had dozens of emails already, and every additional mail we get means more time spent sending the same answer that cannot be spent on the investigation.

Rest assured, we’re looking into this! But with it being the holiday season the timing is also a bit unfortunate. We are checking what the exact root cause is; while we currently still believe that it is related to the Tuya servers, we’re also investigating whether there is a specific issue with the latest release.

We’re working on it!

If you need any diagnostics reports, please let me know! The Tuya app has just stopped working again. I also notice way more DNS queries to m1.tuyaeu.com than usual in my DNS logs.

Good luck @drenso , i hope you will have a faster solution than with the homey Tuya app they released themselves (that one is already broken for months)

You mean the one that was also developed by Drenso, but broken because Tuya revoked the API access?

I dont know if that one is from Drenso, it doesn’t say so on the page

That one was built by Athom themselves.

Yeah, on GitHub you can see that the commits are from the same people. It is actually almost the same, the current one only swapped out the API for the Home Assistant one that Tuya did not (yet?) block.