# \[HOW TO\] Get started with Tuya cloud

**URL:** <https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604>\
**Category:** Tutorials\
**Tags:** tutorial\
**Created:** [February 8, 2021, 8:39am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604 "2021-02-08T08:39:56Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [January 11, 2022, 11:32pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/22 "2022-01-11T23:32:21Z")

</div>

> [@Arvid\_Nystrom](#):
>
> its a wifi smart switch

You wrote that, but [this Tuya app](https://homey.app/a/nl.rebtor.tuya/) is also for wifi devices.

K. How did you add the first “half”? If you add a new device again, doesn’t “the other half” pop up?  
Just a guess

---

<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 14, 2022, 6:03pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/23 "2022-01-14T18:03:29Z")

</div>

The cloud app probably doesn’t support the second dim functionality. You can use scenes to control the second channel. Homey API supports for single channel a lot out of the box. For second channel the developer has to create this self. Besides that it cost more effort, I don’t own such device and can’t debug the functionality.

---

<div class="post-metadata">

**Author:** ![Datageek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/datageek/32/29810_2.png) [@Datageek](https://community.homey.app/u/Datageek)\
**Post date:** [January 15, 2022, 3:19pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/24 "2022-01-15T15:19:57Z")

</div>

I’ve installed the experimental app, but in the Homey app settings its asking me for the API Access ID and Secret. Does anyone know how to find those? I’m using the Smart Life app on iOS with a regular email + password account, I couldn’t find the details in the Smart Life app.

---

<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:** [January 16, 2022, 1:43am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/25 "2022-01-16T01:43:43Z")

</div>

**Edit** My apologies @Datageek  
I mixed the descriptions up 😊  
The TuyaApi, Key and ID of the ‘green’ Tuya app with the Api access ID and secret of the ‘red’ Tuya Cloud app.

~~You’ve installed the other Tuya app.  
The Tuya Cloud app is called exactly **Tuya cloud** in the store 😉 and the opening topic even provided for a link to it.~~

---

<div class="post-metadata">

**Author:** ![Datageek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/datageek/32/29810_2.png) [@Datageek](https://community.homey.app/u/Datageek)\
**Post date:** [January 16, 2022, 8:42am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/26 "2022-01-16T08:42:05Z")

</div>

Please see screenshot below. It’s v0.1.3, installed from the /test page.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c068a4b52e04a59ff582c05c21a1857c3d9c15c.jpeg)

---

<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 16, 2022, 5:54pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/27 "2022-01-16T17:54:02Z")

</div>

[[App][Pro] Tuya Cloud - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-tuya-cloud/21313)

---

<div class="post-metadata">

**Author:** ![PanagiotisManolis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/panagiotismanolis/32/33950_2.png) [@PanagiotisManolis](https://community.homey.app/u/PanagiotisManolis)\
**Post date:** [February 2, 2022, 6:02pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/28 "2022-02-02T18:02:04Z")

</div>

Hello.  
Im trying to add tuya wall switch. But when i go on homey to + add device and then tuya cloud, 1 gang wall switch, it sais first configure the app. But in configuration i set username , password. Only api and api password i set it randomly.

---

<div class="post-metadata">

**Author:** ![Reuvie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/reuvie/32/4479_2.png) [@Reuvie](https://community.homey.app/u/Reuvie)\
**Post date:** [February 5, 2022, 11:59am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/29 "2022-02-05T11:59:38Z")

</div>

im trying to get this app working since yesterday but I need to fill in an official API acces ID and Acces Secret. Anyone got a clue or is this since the update?

---

<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:** [February 5, 2022, 12:04pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/30 "2022-02-05T12:04:36Z")

</div>

It’s all explained in the opening post of the official app topic:

> [@\[HOW TO\] Get started with Tuya cloud](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/27):
>
> [[App][Pro] Tuya Cloud - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-tuya-cloud/21313)

---

<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:** [February 5, 2022, 12:08pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/32 "2022-02-05T12:08:31Z")

</div>

It really is explained there. Screenshot from the opening post:

 ![Screenshot_20220205-130728_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/55959deb7dc71aeceed57677e10727869fae2452.jpeg)

---

<div class="post-metadata">

**Author:** ![Datageek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/datageek/32/29810_2.png) [@Datageek](https://community.homey.app/u/Datageek)\
**Post date:** [February 6, 2022, 9:40pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/33 "2022-02-06T21:40:38Z")

</div>

OK I got it working on my set up with the Tuya IoT dev account linked to my Smartlife account , but it took a few tries as it wasn’t working at first.

The thing that caught me out is the datacenter location for Tuya Cloud project has to be the correct one for the Smartlife account region, but the correspondence mapping on the webpage is out of date, and the correct mapping is not intuitive. In my case my Smartlife region is “Isle of Man / United Kingdom”. So Tuya datacenter should be Western Europe, right? Wrong! It only works with Eastern Europe (the device list wouldn’t populate otherwise).

---

<div class="post-metadata">

**Author:** ![NGH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ngh/32/33100_2.png) [@NGH](https://community.homey.app/u/NGH)\
**Post date:** [February 26, 2022, 4:54pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/35 "2022-02-26T16:54:24Z")

</div>

Hello,  
I am really sorry … but I don’t get it. I’ve read the information provided, but where do I get “official API access ID” and “Official API Access Secret” from?  
I can’t find anything in the Tuya app nor on Tuya website if I log in “[https://myaccount.tuya.com/](https://myaccount.tuya.com/)”

I’d be really nice if you could tell me where to get that.

Regards  
N Hof

---

<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:** [February 27, 2022, 1:31am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/36 "2022-02-27T01:31:15Z")

</div>

Try the official topic of the [Tuya Cloud app](https://community.homey.app/t/app-pro-tuya-cloud/21313).

For most apps, this info can be found at the bottom of the app page:

> ![Screenshot_20220227-023233_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/a/aa14e480383477eb164b294995fb0cbb1a14d17c.jpeg)

---

<div class="post-metadata">

**Author:** ![NGH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ngh/32/33100_2.png) [@NGH](https://community.homey.app/u/NGH)\
**Post date:** [February 27, 2022, 10:40am UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/37 "2022-02-27T10:40:25Z")

</div>

Thanks … I ran through it again and got the API key and secret and all that. Entered it and … tadaaa … NOTHING works anymore, including the legacy stuff. Of course there’s absolutely NO error message, besides “temporarily unavailable” when you click on the devices in Homey.

So again: Everything is entered, including Key and Secret, e-mail and password are correct. The add-on should use legacy and new and this is correctly selected in the app. Why does NOTHING work then? What could be the issue?

[EDIT]: Okay, for some reason, I had to retype the password, then it worked … but here’s the next issue: When trying to add a new device (new method), it says “configure first” … IT HAS BEEN CONFIGURED!!! FFS can’t the addon PLEASE be more explicitly, like telling me what the f… is actually the problem?

I mean if it needs the password again, why doesn’t it say “retype password” and if it needs something else before I can add devices, then it should tell me what it needs!

[EDIT2]: alright, heere we go … thought there might be an issue with the secret … so I retyped that, too … and et voila … fucked up the app again … can’t control the legacy devices again … is it possible that I need to choose? New way OR old way? the app suggest it can handle both at the same time … doesn’t seem so …

---

<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:** [February 27, 2022, 10:38pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/38 "2022-02-27T22:38:58Z")

</div>

I understand your “tone” if you bought the app from a company and paid €100,- for it.  
I know it’s not the easiest setup, but at this moment there’s no other way to connect with Tuya.  
**Please keep in mind, the app developer Jurgen is an independent Homey user, who developed and works on this app in his spare time. You can use it for free. How about that?**

He was forced to add the official API to the app, while Tuya corp. is busy changing things.  
If he didn’t, you (and other Tuya Cloud users) end up with a dead app.

About your struggles:  
I’m very sorry, I just followed the instructions and it works fine with my Homey.  
Did you perform the QR code action?

> ![Screenshot_20220225-235401_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/3/93e546d5d7a91dd7c672192deb6b9b1c7bb7475d.jpeg)

You should be able to enter the legacy account user & pass by selecting “Use legacy only”.  
Restart app.  
If you didn’t change your email and/or password, all your devices should be present.  
Use the same email & pass as with the Tuya mobile app.

If all’s fine, enter your officiap API key and secret, en select “Use legacy and official”  
Restart app.  
Add a new device (non-legacy ones).  
If a "configure app first’ notification is shown, your API key or secret or both is incorrect.  
If you like an other error description; there’s nothing you can configure but your credentials. So…

> [@NGH](#):
>
> “temporarily unavailable” when you click on the devices in Homey.

This is default for the legacy api since day 1. Tuya doesn’t sync more often than 4 or three times an hour. YOU JUST HAVE TO WAIT A BIT  
The dev has no influence on the decisions of the Tuya corp.

From the dev in his own words:

> [@\[App\]\[Pro\] Tuya Cloud](https://community.homey.app/t/app-pro-tuya-cloud/21313/625):
>
> You have to follow the guide to the letter, skipping one step, or doing one thing wrong results in non working connection to API. It’s not my choice of how to connect, but this is for now the only way to connect to the official Tuya API for free. The AppId and secret are not required if dropdown is set to legacy, but be aware that support for old API will end.

---

<div class="post-metadata">

**Author:** ![DunLaoghaire](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dunlaoghaire/32/48309_2.png) [@DunLaoghaire](https://community.homey.app/u/DunLaoghaire)\
**Post date:** [March 14, 2022, 9:04pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/39 "2022-03-14T21:04:50Z")

</div>

I am a new user without an access code to the Homey app yet. I’m thinking of getting the new Bridge to get started.with Homey. However, I read that the Tuya app only works with the Homey Pro device as it’s a community supported app which is not usable with the Bridge.

Is there any way of connecting my ZigBee and WiFi Tuya devices and sensors to the Bridge? Or do I have to buy the fairly expensive Pro which I’d love to have but it just feels too expensive for the moment.

---

<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:** [March 14, 2022, 10:50pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/40 "2022-03-14T22:50:01Z")

</div>

> [@DunLaoghaire](#):
>
> Is there any way of connecting my ZigBee and WiFi Tuya devices and sensors to the Bridge?

Wifi Tuya devices: not at the moment.  
If yes, no bridge needed here by the way, just the beta app. It’s cloud to cloud connected.

Zigbee Tuya devices: lights and sockets can (in theory) be controlled (On/Off); for lights there’s only additional dim functionality, no color options.  
No app needed, u can use build-in Generic Zigbee device.

---

<div class="post-metadata">

**Author:** ![Harry\_Dijkstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_dijkstra/32/49275_2.png) [@Harry\_Dijkstra](https://community.homey.app/u/Harry_Dijkstra)\
**Post date:** [May 12, 2022, 8:34pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/41 "2022-05-12T20:34:00Z")

</div>

Hello

New to Homey

Installed the tuya cloud app, filled in username / pass

API ids

31 as country code, selected central europe datacenter

I keep getting please configure your app first

Reset my password several times, its 100% correct  
Restarted the app several times

In Tuya cloud under my project i can see all my devices, how can i get it connected to Homey ? Any ideas? Checked everything over and over again… is there a log or sonething that i can check to troubleshoot?

Harry

---

<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 12, 2022, 9:03pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/42 "2022-05-12T21:03:33Z")

</div>

Probably your API key and/or secret input error. I don’t think it’s pw related.  
Having your devices present on the Tuya cloud project is good news, that’s the hard part.

Did you copy/paste the API Key & secret? Check for leading and/or trailing invisible whitespaces, please, by using f.i. “select all”

And if applicable: Did the first character change into a capital maybe?

Email field: Did you use your Tuya smart email address, and not the Tuya IoT one (if different)?

.  
Maybe this is helpful:

> **['Please configure the app first' melding in Homey? Zo doe je dat zelf](https://zodoejedatzelf.nl/ict/domotica/please-configure-the-app-first/)**
>
> Please configure the app first. Zie jij deze melding ook telkens in de Tuya cloud app van Jurgen Heine? In dit stappenplan de oplossing.

---

<div class="post-metadata">

**Author:** ![Harry\_Dijkstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harry_dijkstra/32/49275_2.png) [@Harry\_Dijkstra](https://community.homey.app/u/Harry_Dijkstra)\
**Post date:** [May 13, 2022, 3:34pm UTC](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604/43 "2022-05-13T15:34:24Z")

</div>

Hello

Wish it was that. Already copy / pasted both around 10 times… no difference unfortunatly, in Tuya cloud everythings seems fine, just can’t get it connected

Harry

[Previous page](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604.md?page=1)

[Next page](https://community.homey.app/t/how-to-get-started-with-tuya-cloud/42604.md?page=3)
