# \[APP\]\[Pro\] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud

**URL:** <https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313>\
**Category:** Apps\
**Tags:** app, unofficial, wifi, homey-pro\
**Created:** [November 25, 2019, 5:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313 "2019-11-25T17:31:12Z")\
**Posts on this page:** 20\
**Page:** 18

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [April 17, 2021, 10:42am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/344 "2021-04-17T10:42:23Z")

</div>

If it isn’t suported, then it will be hard. To control you can use scenes, but the other way isn’t possible, yoy have the 10 minutes delay.

---

<div class="post-metadata">

**Author:** ![Yannick\_Eeckelaert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yannick_eeckelaert/32/35262_2.png) [@Yannick\_Eeckelaert](https://community.homey.app/u/Yannick_Eeckelaert)\
**Post date:** [May 4, 2021, 4:45pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/345 "2021-05-04T16:45:44Z")

</div>

Hi,

Is there a way to control de Tuya device without internet? If homey losses the connection that I could stil controle de action hu10 lamps?

Thx!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 4, 2021, 5:32pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/346 "2021-05-04T17:32:49Z")

</div>

Depends on the firmware and model/type. They can be flashed with Tasmota, and then be controlled locally. I tried this with a light bulb, and did everything carefully, but bricked it. Other devices already had too recent firmware (Tuya don’t want us to flash their stuff)  
So I’ll stick with internet control of my Tuya Wifi devices.

---

<div class="post-metadata">

**Author:** ![serjec](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/serjec/32/40840_2.png) [@serjec](https://community.homey.app/u/serjec)\
**Post date:** [May 18, 2021, 8:02am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/347 "2021-05-18T08:02:04Z")

</div>

Is there a way that instead of polling for changes on the API, it can be done with push update? changes would be reflected right away instead of up to 10 minutes  
like local tuya is doing? Maybe sth like that can be done, the link is here:

> **[rospogrigio/localtuya](https://github.com/rospogrigio/localtuya)**
>
> local handling for Tuya devices. Contribute to rospogrigio/localtuya development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 18, 2021, 2:15pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/348 "2021-05-18T14:15:58Z")

</div>

From what I read, it’s similar to the Tyua app. But that one has support for a few devices. And after reading how one should obtain a key… I’m happy with Tuya cloud! 🤪

> **[Tuya](https://homey.app/nl-nl/app/nl.rebtor.tuya/Tuya/)**
>
> Lokale bediening van Tuya devices

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [May 18, 2021, 3:02pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/349 "2021-05-18T15:02:17Z")

</div>

Changes from Homey to Tuya cloud are pushed directly. The other way around is not possible, Tuya API doesn’t offer this functionality. So we can only poll, but the API only allows to poll once in 10 minutes.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 18, 2021, 4:01pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/350 "2021-05-18T16:01:20Z")

</div>

I don’t see a problem with the 10min poll interval.  
The only “thingie” is, after adding a device, it can be controlled after 10 mins. I don’t mind.

---

<div class="post-metadata">

**Author:** ![Hugo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugo/32/11530_2.png) [@Hugo](https://community.homey.app/u/Hugo)\
**Post date:** [May 19, 2021, 3:22pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/351 "2021-05-19T15:22:23Z")

</div>

Jurgen,

I can’t connect anymore.  
I’ve tried several times, sometimes it works for a minute and then my connection is lost again.  
I’ve tried to delete and reinstall.  
That didn’t work, then I reinstalled a backup.  
Then everything is back again, but again I’m still not able to get connected with Tuya.  
I tried with a new password, telephone number with 31 and with 258.  
Tried with Tuya and with Smartlife.

Homey 6.1.0  
Tuya cloud 0.0.15

---

<div class="post-metadata">

**Author:** ![Kongedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kongedam/32/35807_2.png) [@Kongedam](https://community.homey.app/u/Kongedam)\
**Post date:** [May 24, 2021, 10:30am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/352 "2021-05-24T10:30:06Z")

</div>

@Jurgen_Heine  
Thanks for your app

My plugs have Energy monitoring, could this be added to the app?  
I miss those flowcards

---

<div class="post-metadata">

**Author:** ![Hugo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hugo/32/11530_2.png) [@Hugo](https://community.homey.app/u/Hugo)\
**Post date:** [May 24, 2021, 10:50am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/353 "2021-05-24T10:50:17Z")

</div>

Thanks to Jurgen my app works.  
Thanks

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 24, 2021, 4:15pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/354 "2021-05-24T16:15:47Z")

</div>

Hi Michael, that’s information not handled by Tuya API. So it’s not possible until Tuya changes their API and allows for that kind of data to be exchanged with the Tuya Cloud app.

---

<div class="post-metadata">

**Author:** ![Leon\_Van\_Poelwijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leon_van_poelwijk/32/33899_2.png) [@Leon\_Van\_Poelwijk](https://community.homey.app/u/Leon_Van_Poelwijk)\
**Post date:** [June 5, 2021, 1:40pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/355 "2021-06-05T13:40:31Z")

</div>

Hi, i have a issue that some others reported but don’t know what to do. I added switches to the app in homey and all the appliances that i have working in the Smart Life app appear in Honey. However i get a red triangle mark stating service temporary unavailable. It is there for way more than 10 minutes. Reported code is:  
d9434cd2-e4c3-4b5d-991d-575d255c7d74

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 5, 2021, 2:05pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/356 "2021-06-05T14:05:01Z")

</div>

@Leon_Van_Poelwijk Hi Leon, use the Tuya Smart phone app.

> [@Peter\_Kawa](#):
>
> Please try to
> 
> - Change the “Telephone country code” to 31
> 
> ![image1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/b/eb77f06fef0b807f73bfd68220e4d2d4b266a62b.jpeg)
> 
> - If 31 doesn’t give results, try 528  
> ( see message 56 in this thread: [Tuya Cloud app - #56 by Patrick\_B](https://community.homey.app/t/tuya-cloud-app/21313/56)  
> )
> 
> OR if the info above does not help:
> 
> - remove the SmartLife app from phone.
> - reboot phone
> - install Tuya app on phone
> - log on (or create) to Tuya account on your phone (NOT by using google/fb account)
> - Connect 1 light
> - On Homey: Change “business” in Tuya Cloud app to Tuya
> - Log on with exactly the same credentials as used with Tuya app on phone  
> After 10 mins. you should be able to add new devices from Tuya Cloud app.
> 
> Please let me know if it was of any use.

---

<div class="post-metadata">

**Author:** ![Leon\_Van\_Poelwijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leon_van_poelwijk/32/33899_2.png) [@Leon\_Van\_Poelwijk](https://community.homey.app/u/Leon_Van_Poelwijk)\
**Post date:** [June 5, 2021, 3:25pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/357 "2021-06-05T15:25:27Z")

</div>

I tried to reset my password in the smartlife app and now it works somehow. Thanks

---

<div class="post-metadata">

**Author:** ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)\
**Post date:** [June 11, 2021, 6:47pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/358 "2021-06-11T18:47:02Z")

</div>

Our cloud connection seems to be gone. Anyone who has a clue? The credentials seem to be correct. The devices are accessible through the native app.

Log: b1f9d8b5-b6e2-40f0-9381-87b34e1f450b

---

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [June 11, 2021, 7:46pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/359 "2021-06-11T19:46:33Z")

</div>

> [@Joep\_Vullings](#):
>
> loud connection seems to be gone. Anyone who has a clue? The credentials seem to be correct. The devices are accessible through the native app.
> 
> Log: b1f9d8b5-b6e2-40f0-9381-87b34e1f450b

Had a similar issue lastnight with the smartlife app, unable to connect though Homey, but through the Smartlife app everything worked. Restarted homey and devices, nothing worked. When I woke up this morning everything was back to normal and working, so maybe they had server issues?

Can you still use your items through the tuya or smartlife app?

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [June 12, 2021, 9:01am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/360 "2021-06-12T09:01:47Z")

</div>

@Joep_Vullings , I saw in your that your credentials are not correct. See log below. As told multiple times, the Tuya Cloud API allows only discover devices once in 10 minutes and authentication once in a minute. So you can only try to reauthenticate once a minute and adding new devices once in 10 minutes.

@Chris_nl , you are also correct. There was a problem with Tuya servers and they did not respond correctly. a number of users did send logs where I could see that the servers where not working.

```auto
	A user has submitted a diagnostics report for com.tuya.cloud (v0.0.13).

You can reply to this e-mail to get in touch with the user. Note that the user will be able to see your e-mail address.
Note: this log has been manually submitted by a user.
Log ID: b1f9d8b5-b6e2-40f0-9381-87b34e1f450b

User Message:
Suddenly no connection to cloud

---- stdout ----
2021-06-11 20:41:54 [log] [TuyaCloudApp] Start connection to cloud.
Discover devices
2021-06-11 20:41:54 [log] [TuyaCloudApp] Tuya cloud App has been initialized
2021-06-11 20:41:54 [log] [ManagerDrivers] [cover] Tuya Cover Driver has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [light] Tuya Light Driver has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [light] [0] Tuya Light Lotek has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [light] [1] Tuya Light lamp bij TV has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [light] [2] Tuya Light Bank lamp links has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [light] [3] Tuya Light Bank lamp rechts has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] Tuya Switch Driver has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [0] Tuya switch Lamp serre bij bank has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [1] Tuya switch Lampen boven boeken has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [2] Tuya switch Tuinhuis binnen has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [3] Tuya switch Waterbollen spot has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [4] Tuya switch Luifel tuinhuis has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [5] Tuya switch Raam lampen voor has been initialized
2021-06-11 20:41:58 [log] [ManagerDrivers] [switch] [6] Tuya switch Stroom TV hoek has been initialized
{"responseStatus":"error","errorMsg":"Get accesstoken failed. Username or password error!"}
2021-06-11 20:41:58 [log] [TuyaCloudApp] Connected to cloud.

---- stderr ----
Get accesstoken failed. Username or password error!

```

---

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [June 12, 2021, 9:17am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/361 "2021-06-12T09:17:07Z")

</div>

Had the same issue again last night for about 45 minutes, Tuya servers not responding, resolved itself again and everything works fine now. Think they are doing some big maintenance

---

<div class="post-metadata">

**Author:** ![Joep\_Vullings](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joep_vullings/32/9293_2.png) [@Joep\_Vullings](https://community.homey.app/u/Joep_Vullings)\
**Post date:** [June 12, 2021, 9:54pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/362 "2021-06-12T21:54:41Z")

</div>

New credentials and after that all devices powered off and on. Everything fine again.

---

<div class="post-metadata">

**Author:** ![Fred\_Boogaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_boogaard/32/17313_2.png) [@Fred\_Boogaard](https://community.homey.app/u/Fred_Boogaard)\
**Post date:** [July 11, 2021, 9:27am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/363 "2021-07-11T09:27:19Z")

</div>

Since two days the trigger scene command does not always work. When I test the flow a read ECONNRESET error pop up.

Any ideas what is causing this issue?

[Previous page](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313.md?page=17)

[Next page](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313.md?page=19)
