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

<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 21, 2019, 10:34am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/41 "2019-12-21T10:34:15Z")

</div>

@Dennis93, this is not possible yet. The Api this app uses is not returning these values

---

<div class="post-metadata">

**Author:** ![Robinjo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robinjo/32/2656_2.png) [@Robinjo](https://community.homey.app/u/Robinjo)\
**Post date:** [December 22, 2019, 10:37am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/42 "2019-12-22T10:37:33Z")

</div>

Hi Jurgen,

I like your app very much!  
I was able to connect my light bulb with the cloud app. What is the different between de Tuya and the Cloud app?

How can i found on a simple way the key of my light bulb with a iPhone for the Tuya 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 22, 2019, 12:43pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/43 "2019-12-22T12:43:30Z")

</div>

@Robinjo. This app uses an undocumented cloud API for Home Assitant and is easier to install, but needs internet connection( devices can always operated localy with Smart life/Tuya app). The other app is difficult to configure and setup but uses local connection, supports color for ledstrips and supports energy reading.

---

<div class="post-metadata">

**Author:** ![Annie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/annie/32/14900_2.png) [@Annie](https://community.homey.app/u/Annie)\
**Post date:** [December 25, 2019, 7:35am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/44 "2019-12-25T07:35:52Z")

</div>

When the business in the app is set to Smart Life, it cannot be configured.

Error: Get accestoken failed. Username or password error.

When business is set to Tuya, configuration succeeds.

---

<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 25, 2019, 9:35am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/45 "2019-12-25T09:35:27Z")

</div>

@Annie, did you configure Smart life app? Looks like you only have setup Tuya app. Both app’s uses different credentials. Error message is comming directly from Tuya.

---

<div class="post-metadata">

**Author:** ![Annie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/annie/32/14900_2.png) [@Annie](https://community.homey.app/u/Annie)\
**Post date:** [December 25, 2019, 10:21am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/46 "2019-12-25T10:21:52Z")

</div>

Hi Jurgen, happy Xmas!

I set up The LSC app instead of the Smart Living app… thanks!

---

<div class="post-metadata">

**Author:** ![Jordi\_Visbeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jordi_visbeen/32/27957_2.png) [@Jordi\_Visbeen](https://community.homey.app/u/Jordi_Visbeen)\
**Post date:** [December 26, 2019, 9:56pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/47 "2019-12-26T21:56:44Z")

</div>

Tuya cloud app works great, many thanks!  
It immediately saw my devices and scenes.

Only thing is that when in a flow a scene is called to turn on devices, the tile of the devices appears not to be on in the Devices tab in homey (tile is dark).  
So this is not (yet) synchronized, or should it be?

Other thing is that I’m not sure about the presented colour for the filament bulbs, but maybe I have to play a bit with the hue colour map.

---

<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 27, 2019, 5:45pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/48 "2019-12-27T17:45:06Z")

</div>

@Annie, I did not expect this app worked with LSC android app.  
@Jordi_Visbeen, the status is not always correct, I am working on a fix for that.

---

<div class="post-metadata">

**Author:** ![Annie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/annie/32/14900_2.png) [@Annie](https://community.homey.app/u/Annie)\
**Post date:** [December 27, 2019, 6:25pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/49 "2019-12-27T18:25:44Z")

</div>

Hi Jurgen, it does not work wit the LSC app because the registration fails. Maybe you can add LSC to the business choices.

---

<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 27, 2019, 6:36pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/50 "2019-12-27T18:36:58Z")

</div>

Not possible, only Smart life and the Tuya android apps are currently supported by the API.

---

<div class="post-metadata">

**Author:** ![Brosj72](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brosj72/32/17387_2.png) [@Brosj72](https://community.homey.app/u/Brosj72)\
**Post date:** [January 4, 2020, 4:42pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/51 "2020-01-04T16:42:02Z")

</div>

Hi all,

i am very new to Home Automation and had struggling some days to get my plugs and Smart Strip Light from LSC/Tuya working. Thx to the great Tuya Cloud app its is working now. Is it normal that there are just On/Off possibilities instead in the Smartlife app you can manage timers etc… For the Smart Strip Light i only can turn on and off an set the brightness, no colors, no fade, no blinking? Is this normal or do i have to do something else?

Many thx

---

<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:** [January 20, 2020, 6:52pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/52 "2020-01-20T18:52:34Z")

</div>

@Brosj72, Color mode is not supported for led strips, only brightness and color temperature. By caling a scene in a Homey flow, you can trigger Cloud app tap to run scenes.

---

<div class="post-metadata">

**Author:** ![Patrick\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_b/32/18455_2.png) [@Patrick\_B](https://community.homey.app/u/Patrick_B)\
**Post date:** [January 24, 2020, 10:47am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/53 "2020-01-24T10:47:58Z")

</div>

Okay, im getting very frustrated now.  
it is said that you simply enter your username as given with the first login in the tuya app.  
I didn’t have to?

just my phonenumber and a password.  
and when I use my phonenumber as username it’s not accepted.

---

<div class="post-metadata">

**Author:** ![Odechr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/odechr/32/14691_2.png) [@Odechr](https://community.homey.app/u/Odechr)\
**Post date:** [January 24, 2020, 10:50am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/54 "2020-01-24T10:50:06Z")

</div>

Just go to the settings of the app and add a username.

---

<div class="post-metadata">

**Author:** ![Patrick\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_b/32/18455_2.png) [@Patrick\_B](https://community.homey.app/u/Patrick_B)\
**Post date:** [January 24, 2020, 10:53am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/55 "2020-01-24T10:53:23Z")

</div>

@Odechr

did that already.  
besides the fact that that username seems only for local offline in-app usage (you can give any name you want, it doesn’t conflict with any already given username) it does not work as an username in the Tuya Cloud Settings for Homey.

The only thing I can imagine is that my Tuya account is too new and first need to be enrolled in the network within the first few hours?

---

<div class="post-metadata">

**Author:** ![Patrick\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_b/32/18455_2.png) [@Patrick\_B](https://community.homey.app/u/Patrick_B)\
**Post date:** [January 24, 2020, 11:09am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/56 "2020-01-24T11:09:53Z")

</div>

Okay,

You are not gonna believe this 🤣 😂 🤣  
I went to Github and looked into the code of the app as made by Jurgen.  
What I saw:

`The Countrycode for The Netherlands is set as 528` 🤣

The correct code is 31.  
This one is given too Azerbaijan. 🙄  
I simply selected Azerbaijan to login and voila!

---

<div class="post-metadata">

**Author:** ![Odechr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/odechr/32/14691_2.png) [@Odechr](https://community.homey.app/u/Odechr)\
**Post date:** [January 24, 2020, 11:11am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/57 "2020-01-24T11:11:53Z")

</div>

Haha, very logic indeed _facepalm_ 😛

Im using the smart Life app. I just never registered the phone number. But there is three things:  
Username (probably just locally)  
Email: Thats what im using for login. (if you havent added email, maybe that could work?)  
Phone: never added.

---

<div class="post-metadata">

**Author:** ![Matz\_R](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matz_r/32/17475_2.png) [@Matz\_R](https://community.homey.app/u/Matz_R)\
**Post date:** [February 25, 2020, 2:32pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/58 "2020-02-25T14:32:22Z")

</div>

Nice app, easy to configure, but it looks like it’s not reading The status of the switch, I have added a wall switch with two Buttons, the app does not seem to read The current status, if I for example turn The switch on manually it does not show in the Homey app, if I turn the switch on or off in the smart life app the status does not change in the Homey app

---

<div class="post-metadata">

**Author:** ![Jordi\_Visbeen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jordi_visbeen/32/27957_2.png) [@Jordi\_Visbeen](https://community.homey.app/u/Jordi_Visbeen)\
**Post date:** [February 28, 2020, 12:01pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/59 "2020-02-28T12:01:49Z")

</div>

This is work in progress from Jurgen Heine:

> [@\[App\]\[Pro\] Tuya Cloud](https://community.homey.app/t/tuya-cloud-app/21313/48):
>
> @Annie, I did not expect this app worked with LSC android app. @Jordi_Visbeen, the status is not always correct, I am working on a fix for that.

---

<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:** [February 29, 2020, 10:47am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/60 "2020-02-29T10:47:10Z")

</div>

@Patrick_B, late reaction, I was verry bussy. The code table I used was the country code table ISO 3166-1 on Wikipedia: [https://en.wikipedia.org/wiki/ISO\_3166-1\_numeric](https://en.wikipedia.org/wiki/ISO_3166-1_numeric) . In this table 31 is indeed asigned to Azerbeidjan. I live also in the Netherlands, and the telephone code is 31 for Netherlands. So this is different then the ISO country codes. If I look at table for telephone codes, it’s a mess, so selecting number with country dropdown is hard to accomplish. In one of the next updates I will remove dropdown en let user enter the number directly. I looked futher at the country code, if you use email the field is required, but it doesn’t matter what put in. But when using telephone number, the field has to be correct. I only tested with email.

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

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