# \[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:** 20

<div class="post-metadata">

**Author:** ![Paul\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_w/32/34444_2.png) [@Paul\_W](https://community.homey.app/u/Paul_W)\
**Post date:** [October 11, 2021, 10:38am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/384 "2021-10-11T10:38:35Z")

</div>

Dear all,

I’ve been reading to (most of) this topic but haven’t found an answer so here is my question.

I am using a Tuya TC-500 wifi plug-in thermostat to switch on and off the pump of my floor heating based on wether there is supply of hot CV water. Works fine with the Smarthome app but I would like to control it with Homey. Basically I only want to turn it on and off depending on room temperature from another device.

I have installed the Tuya wifi app but I don’t see my thermostat, not even the “scenes” on/off that I have created. Is this device not supported? Or am I doing something wrong?

Thanks,  
Paul

---

<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:** [October 11, 2021, 12:46pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/385 "2021-10-11T12:46:27Z")

</div>

Don’t you see the tap-to-run scenes? Those scenes are the ones you can use.  
But I’m afraid you can only _control_ tuya devices with that.

---

<div class="post-metadata">

**Author:** ![Paul\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_w/32/34444_2.png) [@Paul\_W](https://community.homey.app/u/Paul_W)\
**Post date:** [October 11, 2021, 1:38pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/386 "2021-10-11T13:38:13Z")

</div>

No, unfortunately not. That list is completely empty when I open it in Homey.

---

<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:** [October 11, 2021, 1:56pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/387 "2021-10-11T13:56:06Z")

</div>

Created any?  
Do other Tuya wifi devices work from Homey? (to eliminate account issues).

- Account issues  
[[App][Pro] Tuya Cloud - #264 by Peter\_Kawa](https://community.homey.app/t/app-pro-tuya-cloud/21313/264)

- Tap-to-run scene how-to  
[[App][Pro] Tuya Cloud - #296 by Peter\_Kawa](https://community.homey.app/t/app-pro-tuya-cloud/21313/296)

---

<div class="post-metadata">

**Author:** ![Paul\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_w/32/34444_2.png) [@Paul\_W](https://community.homey.app/u/Paul_W)\
**Post date:** [October 11, 2021, 3:07pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/388 "2021-10-11T15:07:53Z")

</div>

Hi Peter,

Thanks for the links. This was clear to me. I had created the two “Tab-to-run” tasks to turn the switch on and off and they appear in the home screen of Smart life.

So folowing the steps in #296 I can add the device but when I want to select a scene in Tuya the list is empty. I tried both 31 and 528 country codes.

Would it make sense to try the Tuya Cloud app instead?

---

<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:** [October 11, 2021, 3:30pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/389 "2021-10-11T15:30:23Z")

</div>

Hi Paul, you’re welcome.

It still seems an account issue, if you don’t get to see any created tap-to-run scene.

> [@Peter\_Kawa](#):
>
> Do other Tuya wifi devices work from Homey? (to eliminate account issues).

You say you added any other tuya wifi (light/smartplug/curtain) device to Homey via Tuya Cloud app?  
Can you switch it on/off?

> [@Paul\_W](#):
>
> folowing the steps in #296

Did you select `Business (same as smartphone app)` the Smartlife app, or Tuya?

> [@Paul\_W](#):
>
> Works fine with the Smarthome app

Please migrate the phone app to the [Tuya Smart app](https://play.google.com/store/apps/details?id=com.tuya.smart) for best results.

> [@Paul\_W](#):
>
> Would it make sense to try the Tuya Cloud app instead?

This topic _is_ about the Homey Tuya Cloud app… not sure what you mean.

---

<div class="post-metadata">

**Author:** ![Paul\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_w/32/34444_2.png) [@Paul\_W](https://community.homey.app/u/Paul_W)\
**Post date:** [October 11, 2021, 3:40pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/390 "2021-10-11T15:40:03Z")

</div>

Sorry, everything is called app, both on phone and on Homey.

Would it make sense to try to Install the Tuya app instead of the Smart Life app on my phone and use those credentials in the Tuya Cloud app on Homey?

---

<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:** [October 11, 2021, 3:46pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/391 "2021-10-11T15:46:45Z")

</div>

> [@Paul\_W](#):
>
> Sorry, everything is called app, both on phone and on Homey.

Yes it’s confusing, so let’s be clear and mention phone or Homey talking about Tuya apps.

> [@Paul\_W](#):
>
> Would it make sense to try to Install the Tuya app instead of the Smart Life app on my phone and use those credentials in the Tuya Cloud app on Homey?

Yes, that’s what I really recommend (see steps in #296).  
You’ll have to register a new Tuya account (email/password type) and logon to the phone Tuya app with that. _Don’t use Google/Facebook logon methods_

Then you should be able to logon to Homey Tuya Cloud app with those new Tuya account credentials.  
To be sure, wait for 10 minutes (to eliminate possible sync limitations of Tuya company’s API)

---

<div class="post-metadata">

**Author:** ![Paul\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_w/32/34444_2.png) [@Paul\_W](https://community.homey.app/u/Paul_W)\
**Post date:** [October 11, 2021, 4:55pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/392 "2021-10-11T16:55:11Z")

</div>

Thanks a lot, that worked.

---

<div class="post-metadata">

**Author:** ![Rudi\_Hendrix](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rudi_hendrix/32/31931_2.png) [@Rudi\_Hendrix](https://community.homey.app/u/Rudi_Hendrix)\
**Post date:** [October 12, 2021, 1:20pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/393 "2021-10-12T13:20:07Z")

</div>

Yesterday I installed a LED strip and connected it to the Tuya app.  
Installed the Tuya app and needed to add some keys that I didn’t have  
Installed Tuya cloud app and using that I can add the lights strip, but can only select white balance, no colors.

 ![Screenshot_20211012-151506_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a1723b3ee2a8fce6787bf9b652ffaa8c465fdd08.jpeg)  
 ![Screenshot_20211012-151500_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/a/da74d96dd1c461f99bbb918f103590fe404fbe21.jpeg)

Am I doing something wrong?

I also did try the Tuya app and retrieve the settings there. Although I am doing everything correct, it doesn’t see it as available.

 ![Screenshot_20211012-151450_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85d707846a8a40097ed8147b5b30a27c7a9f80ea.jpeg)

---

<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:** [October 12, 2021, 1:24pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/394 "2021-10-12T13:24:30Z")

</div>

I really recommend you to use this ‘trick’

> [@Peter\_Kawa](#):
>
> Tap-to-run scene how-to  
> [[App][Pro] Tuya Cloud - #296 by Peter\_Kawa](https://community.homey.app/t/app-pro-tuya-cloud/21313/296)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 13, 2021, 7:52am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/395 "2021-10-13T07:52:55Z")

</div>

> [@Jurgen\_Heine](#):
>
> So I guess it’s just a matter of time that Tuya shutdown the API this app uses, then there is no choice anymore

On the HA community forum the rumour is that the old API will be switched off by the end of the year.

---

<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:** [October 14, 2021, 12:59pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/396 "2021-10-14T12:59:30Z")

</div>

This is sooner then I expected.

---

<div class="post-metadata">

**Author:** ![bayrambass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bayrambass/32/41905_2.png) [@bayrambass](https://community.homey.app/u/bayrambass)\
**Post date:** [November 5, 2021, 11:24am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/397 "2021-11-05T11:24:01Z")

</div>

Hi,

I have 1 question and 1 problem regarding this app. Let me first start off with my question:  
Is there a possibility to add power usage of a device to Homey? I can read the power usage in the Smart Life app on phone but when I add it on Tuya Cloud app on Homey it doesn’t add the power usage with my devices. As example my Smart Plug.

And the problem I am having:  
Let me first describe my installation. I have installed a RGB led strip and a power socket. I made sure that the lights are checked if they are on or off every minute. I use my computer as trigger in this automation. I do this with ping through the Net Scan app on Homey. If it detects that the computers is turned off all the lights in Tuya Cloud on Homey automatically turns off. It is always turned off after sunrise and turned on if computer is online after sunset. The lights are always off if computer is turned off.

The problem is is that my Homey was freezing the whole time and this happened after Tuya Cloud on Homey crashes so I needed to hard reset by taking it out the power plug. If I wasn’t home then this was a big problem so I bought a power plug that is connected in Smart Life on phone through wifi so that I could hard reset power of the Homey. I had a long chat with the Homey support and together we concluded that the problem lies with the flow automation in combination with the Tuya Cloud app on Homey. We think that after Tuya Cloud on Homey crashes that the automations are building queues every minutes which results in a lot of errors and eventually overload on Homey which then results in freezing. I fixed it as a work around by adding a flow which automatically restarts the Tuya Cloud app on Homey every 5 minutes. Now my Homey doesn’t freeze anymore and Tuya Cloud app doesn’t crash. Not a permanent fix.

Is this a known problem and can this be fixed?

Yours sincerely,  
Atilla

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [November 6, 2021, 2:42am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/398 "2021-11-06T02:42:00Z")

</div>

Is there a possibility to add power usage of a device to Homey?

No, it seems Tuya does not allow for this.

---

<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:** [November 6, 2021, 10:31am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/399 "2021-11-06T10:31:35Z")

</div>

@bayrambass, You are checking every minute if lights are on or off, Tuya only allows checking status once in 10 minutes. This 10 minutes throttling of Tuya gives a lot of problems. When I made the app this throtttling wasn’t there. So the app wasn’t made for this throttling, so I tried to adapt the code to deal with this. But that’s not always working as expexted. Because this 10 minutes delay, debugging is also hard to do. I advise you to use this app only for controlling devices, because the status can only changed once in 10 minutes. if possible, use scenes instead of controlling devices directly.

@Jan_Peeters, You are correct that the Tuya api currently used doesn’t support power ussage.

---

<div class="post-metadata">

**Author:** ![Morad\_Ahassad](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morad_ahassad/32/9579_2.png) [@Morad\_Ahassad](https://community.homey.app/u/Morad_Ahassad)\
**Post date:** [November 10, 2021, 1:06am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/400 "2021-11-10T01:06:02Z")

</div>

Hi  
Most of my plugs aren’t available in homey. The strange thing is that some of them are.

Issue report:  
7cf57c06-3694-48c6-8424-0c9cc184cdb6

---

<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:** [November 10, 2021, 2:09am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/401 "2021-11-10T02:09:37Z")

</div>

@Morad_Ahassad this might help:

> [@\[APP\]\[Pro\] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud](https://community.homey.app/t/app-pro-tuya-cloud/21313/356):
>
> @Leon_Van_Poelwijk Hi Leon, use the Tuya Smart phone 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:** [December 29, 2021, 8:58pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/402 "2021-12-29T20:58:38Z")

</div>

There is new test version: [Tuya cloud | Homey](https://homey.app/nl-nl/app/com.tuya.cloud/Tuya-cloud/test/). In this version the official API is implemented together with old API( as long the old works).

- Lights and singe socket are tested by myself and should work.
- Multi socket are supported but not tested.
- Switch is not tested
- Cover is not implemented, the official API is a lot different and I don’t own such a device. So have to look how to implement
- Scenes are implemented and tested

The official API is using push messages, so changes to devices should be direct visible, so no more 10 minutes waiting for updates.

To use the new API you should follow the same basic instruction as for Home assistant/ Homebridge.

1. [Tuya IoT Platform Configuration](https://github.com/tuya/tuya-homebridge/wiki/Tuya-IoT-Platform-Configuration-Guide-Using-Smart-Home-PaaS?_source=d8fba44feeef4757f7f22a14c2295f3f)
2. Set the APi to use to both or Official
3. The authorization key acces key and secret from step 1have to be filled in on the settings page.  
The country code is used to determine which datacenter has to be used and must match with your android app and region of your project. [Mappings Between OEM App Accounts and Data Centers-Tuya Developer Platform-Tuya Developer](https://developer.tuya.com/en/docs/iot/oem-app-data-center-distributed?id=Kafi0ku9l07qb)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/2/d284431e137f49d23767f834a662232742b1536c.png)

---

<div class="post-metadata">

**Author:** ![kalpik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalpik/32/28878_2.png) [@kalpik](https://community.homey.app/u/kalpik)\
**Post date:** [December 29, 2021, 9:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/403 "2021-12-29T21:31:39Z")

</div>

Thanks a lot! Although it says the app only works on homey pro?

[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=19)

[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=21)
