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

<div class="post-metadata">

**Author:** ![Anthony\_Pranger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anthony_pranger/32/68976_2.png) [@Anthony\_Pranger](https://community.homey.app/u/Anthony_Pranger)\
**Post date:** [February 4, 2024, 7:45am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2037 "2024-02-04T07:45:32Z")

</div>

I agree with you, perhaps it sounds easier than it is.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [February 4, 2024, 9:47am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2038 "2024-02-04T09:47:13Z")

</div>

> [@B3rt](#):
>
> I think I am gonna try to switch as much as possible to other devices outside the Tuya cloud, this simply ‘sucks’

FWIW my ‘Tuya’ devices have proved very reliable both with Homey and Amazon devices. Worth setting a reminder to renew every 6 months or so.

If you are keen to bypass that issue, the Amazon skill doesn’t have it so, if you have an Alexa, you can use the Homey Alexa skill instead to link your devices to Homey.

Andy

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 4, 2024, 10:17am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2039 "2024-02-04T10:17:56Z")

</div>

I tried to get my Tuya Power sockets into Homey.  
I did everything as described. The Tuya Cloud app in Homey seems to connect with the smart life app and the cloud (I suppose). It doesn’t give any faults when configuring the app in Homey. Also the smart life app is working fine with the sockets.  
I chose “only use official”  
When I choose add device, it takes some time waiting and than comes back with “Please configurt the app first”  
It is configured as described. When I use a different password and/or a different cloud key it fails, so I know it realy connects with those two.  
I am realy out of options what to try…I hope anyone can help me with this…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c44f03015d9481c9f05e2af2ab89b3ba0f892ec.png)

---

<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 4, 2024, 11:59am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2040 "2024-02-04T11:59:39Z")

</div>

You probably forgot something, @Floris_J , really all info is in the first post. I followed it word by word, and it worked the first time. Not to brag, but to aknowledge the manual is 100% OK.

Floris, maybe this is the issue: people in Western Europe tend to decide for themselves the datacenter they need is ‘West Europe’, but it is ‘Central Europe’ most of the time.

But the manual shows a list of all country(numbers) which Tuya decided to which datacenter they should connect!

If you are in Netherlands, “Central Europe” datacenter should be used

As explained in the manual:

> [@Jurgen\_Heine](#):
>
> 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. Only the number is allowed, no leading zero’s or + sign. Look in the link for correct numbering, it can be different for some countries then the known phone prefix.  
> [**Mappings Between OEM App Accounts and Data Centers-Documentation-Tuya Developer**](https://developer.tuya.com/en/docs/iot/oem-app-data-center-distributed?id=Kafi0ku9l07qb)

But OK, the link name here is a bit obscure 😌

Floris, please show your (anonymized) [iot.tuya.com](http://iot.tuya.com) screens as well here, so I can scan them for input errors.

---

<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 4, 2024, 12:02pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2041 "2024-02-04T12:02:42Z")

</div>

Oh, you do have smoke sensor flowcards! Why do you (need) to use RAW commands?

 ![Screenshot_20240204-130202_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3d6c69a56efc35a9978babcb93c7bb8850879598.jpeg)

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [February 4, 2024, 12:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2042 "2024-02-04T12:31:27Z")

</div>

I requested renewal yesterday evening, today it is renewed until august and working again…

Maybe this problem will also be gone after next Wednesday, there are rumours that Tuya is releasing a new update where you no longer need to get a developer API key and that you can use simply your Tuya app to create and connect a login… (so create i think an API key in the Tuya app and use that for Integration) .

I hope these rumours are correct and they really release this, that would make it much more stable and easier to use, especially for newbies…

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [February 4, 2024, 12:52pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2043 "2024-02-04T12:52:38Z")

</div>

Hi @Peter_Kawa , because the don’t work.

The history of the smoke detector in Homey is also not updated, last value unknown.  
Just tested once more with this card and this card was not triggered.

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

All other flows with cards for the smoke detectors are disabled.  
All info scenes in the Tuya are disabled.

 ![IMG_20240204_133812](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/b/dbf7d1bf89fed38dd68295eb8d772e57ef4182d7.jpeg)

And yet I get this info in my timeline without my doing. This also happens for [my sensor](https://community.homey.app/t/app-pro-tuya-cloud/21313/2021) I added, I keep getting all kind of unwanted info and I have no idea how to stop it.

This is added to the timeline without any kind of flow.  
I know state 1 is alarm and state 2 is recovered alarm but I can’t tell what smoke detector this is.

 ![IMG_20240204_133452](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/876af4abdf4c5dd9526dfa176da84aaff82cd65f.jpeg)

With this flow I receive a timeline notification from a text message and not from the boolean card.  
So I can work with that but I want to stop the other unwanted messages in my timeline.

 ![Capture_1122](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/e/3ee2746a0a3faa1684169e1e2a83d0a104c9aca4.jpeg)  
 ![IMG_20240204_134829](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2b4002404159ac1a0e15462459130cab9a9b5b22.jpeg)

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:** [February 4, 2024, 1:45pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2044 "2024-02-04T13:45:05Z")

</div>

> ![Screenshot_20240204-143630_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/aba624aa85a58c18af79f890ba179d4f764c3766.jpeg)

There’s no other way you still have an active flow somewhere in a dark corner of your Homey.  
Also, the icon in front of it is a Flow icon (sent from flow)!  
These “unknown” messages are one of the reasons why I always add the flowname to any messaging/log flowcards…

The app does **not** send RAW event timeline notifications by itself. Impossible, sorry.

.

> [@Heula](#):
>
> but I can’t tell what smoke detector this is.

The number wich is displayed should match a device in your devices overview @ [iot.tuya.com](https://iot.tuya.com)

---

<div class="post-metadata">

**Author:** ![Heula](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/heula/32/31852_2.png) [@Heula](https://community.homey.app/u/Heula)\
**Post date:** [February 4, 2024, 2:49pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2045 "2024-02-04T14:49:30Z")

</div>

You are right, there was a standard test flow that I created on my phone that I had forgotten about.  
After removing that flow, the messages stopped.

Thanks

---

<div class="post-metadata">

**Author:** ![Marcus\_Bitterling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcus_bitterling/32/80103_2.png) [@Marcus\_Bitterling](https://community.homey.app/u/Marcus_Bitterling)\
**Post date:** [February 4, 2024, 5:14pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2046 "2024-02-04T17:14:28Z")

</div>

As of today it seems Tuya Cloud app stopped working for me. Restart and reloading of scenes doesn’t help. All my scenes are gone and flows broken. More people have this?

---

<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:** [February 4, 2024, 6:00pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2047 "2024-02-04T18:00:18Z")

</div>

Read the past 20 comments or so 😆 It seems renewing the IoT trial subscription fixes the issue

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 4, 2024, 6:15pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2048 "2024-02-04T18:15:26Z")

</div>

Hi Peter, thnx for the reply and goodto hear that it seems that I made some mistake. Than at least we will get this working…😉

Here are the screenshots from the [iot.tuya.com](http://iot.tuya.com)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/f/df28f79bcdd9ebafda617d653c0b94f14ac89a89.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/0142a051666e62af1366ca274699c9ed0b1cd71b.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/d/4ddd770e33f6e8a0f532a8e738b3a2084faa23cf.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb6e814b06268ddc368b643442653bd1a891e205.png)

This is from the smart life app (it runs version 5.9.2 on my android phone.

 ![WhatsApp Image 2024-02-04 at 19.06.21_7cc7448e](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e9a51b56776219c44745a706523d1cf46b04b4c.jpeg)

This is what happens when adding a new device (power socket) via the Tuya cloud app in Homey.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f0573ed1ce844084f2d73550ec85dc1c8c03b733.png)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/d/cded1ede04efb549af3ddba03e4e38a95cf59354.png)

---

<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 4, 2024, 7:56pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2049 "2024-02-04T19:56:28Z")

</div>

YW!  
Did you set the setting below to use both API’s? If yes:

> [@Peter\_Kawa](#):
>
> You should set it to “Use official only”:
> 
> > ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1ea0bb6f40494f689c30fa0e0064849e559cae9e.png)

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 5, 2024, 7:27am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2050 "2024-02-05T07:27:17Z")

</div>

Hi Peter,

I did set it to “official only” as suggested in the first post.  
I don’t get any fault codes when connecting the Homey Tuya Cloud app to the Tuya cloud, so that seems to be working. It is just that it doesn’t show the power socket devices, which are shown in [iot.tuya.com](http://iot.tuya.com) (and the Smart life app).

Some considerations though: The first step in the “manual” it says to create an account (register) via the Smart Life app and than it says to go to the [iot.tuya.com](http://iot.tuya.com) and login there. I first assumed that I should login at the [iot.tuya.com](http://iot.tuya.com) with the same cridentials as used in the Smart life app, but that didn’t work. So I signed up at the [iot.tuya.com](http://iot.tuya.com) with different cridentials (same email as the app and different password). Is that how it should be?

Another thing is that the sockets I use are from Hombli, which basically are rebranded Tuya sockets as I understand. In the Tuya app they work fine. They are recognised as Hombli Sockets. Might that be a problem?

Did you see any other strange things in my screenshots from before ([iot.tuya.com](http://iot.tuya.com) and Smart life app)?

---

<div class="post-metadata">

**Author:** ![Floris\_J](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/floris_j/32/81530_2.png) [@Floris\_J](https://community.homey.app/u/Floris_J)\
**Post date:** [February 5, 2024, 8:58am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2051 "2024-02-05T08:58:32Z")

</div>

Hi Peter, got it working now.  
I didn’t put in the authorization part in the [iot.tuya.com](http://iot.tuya.com), although it is quiet different(outdated) than as described.

In the description from github [Tuya IoT Platform Configuration Guide Using Smart Home PaaS · tuya/tuya-homebridge Wiki · GitHub](https://github.com/tuya/tuya-homebridge/wiki/Tuya-IoT-Platform-Configuration-Guide-Using-Smart-Home-PaaS?_source=d8fba44feeef4757f7f22a14c2295f3f)  
Where is referred to in the manual (as how to subsribe to the [iot.tuyca.com](http://iot.tuyca.com) cloud) it says the following about the authorisation:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/9/a9c3b6c8e4ef3859f7450c6ba443b2c3bcfef5a5.jpeg)

Currently it is quiet different as you can go via “service API” to the authorisations.  
In the screenshot from github, there they mention(highlight) to select the “device status notification” and that the others shown in the screenshot are selected by default.  
Currently it seems nothing is selected by default, and I only could find “IoT Core” and “Device status notification” Service, so I started the trial for both of them.  
After that is is working and I finally can see my power socket and build a flow using it:-).

So do you thing it is correct this way?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12868fed26d22534550dfa7026888cb195b84a57.png)

---

<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, 2024, 1:11pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2052 "2024-02-05T13:11:00Z")

</div>

I don’t understand what you are saying, but when it works it works.

I also don’t how you missed this, 5 services:

> [@Jurgen\_Heine](#):
>
> IOT Core ( Controlling devices from Homey)  
> -Authorization =\> Authorization Token Management (Authentication)  
> -IOT Data Analytics =\> Data Dashboard Service ( See devices in development portal)  
> -Smart Home Scene linkage ( Needed for trigger scenes from Homey)  
> -Device Status Notification ( Needed for getting data from Tuya to Homey)

> ![Screenshot_20240205-140742_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/2/42dbdbd63017430b74bed2feee49dbb282509d1b.jpeg)

.

This is my Service API

> ![Screenshot_20240205-140523_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/0858c9ccc37b893d0c18e05a84aee7babf72b435.jpeg)

.

No need for a reply 😉

---

<div class="post-metadata">

**Author:** ![nickdekorte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nickdekorte/32/78954_2.png) [@nickdekorte](https://community.homey.app/u/nickdekorte)\
**Post date:** [February 5, 2024, 3:56pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2053 "2024-02-05T15:56:23Z")

</div>

Hello everyone,

I configured some switches and outlets via this guide, and worked fine for some months.  
Now I cannot control them anymore via Homey/this app.

When I try to re-add the devices, I get the message I need to configure the app first.  
However the app is configured and it says its okay and need to be restarted for the changes to come into effect.

Via Tuya Cloud app I can still control the devices.

Any idea what might be wrong?

---

<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, 2024, 4:07pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2054 "2024-02-05T16:07:33Z")

</div>

Hello Nick,  
You obviously forgot a step or a setting.  
For example

> [@Jurgen\_Heine](#):
>
> - Go to the setup page in Homey mobile app or Homey develloper portal
> - Set the APi to use to Official

You can try this guy’s nice howto in Dutch:

> [@\[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/532):
>
> Special credits go to @Jurgen_Heine for the app and to @Peter_Kawa for the support. To do something back for the community i wrote a hands-on manual. Hopefully this helps others in the (near) future. Hands-on guidance for the message: [please configure the app first](https://zodoejedatzelf.nl/ict/domotica/please-configure-the-app-first/).

---

<div class="post-metadata">

**Author:** ![nickdekorte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nickdekorte/32/78954_2.png) [@nickdekorte](https://community.homey.app/u/nickdekorte)\
**Post date:** [February 5, 2024, 4:22pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2055 "2024-02-05T16:22:27Z")

</div>

Hi Peter,

I checked everything and all was correct.  
I did see yesterday that my trial had expired and I requested an extension.  
Could the expiration of the trial also cause this?

Seems to work again, and I don’t see the warning that my trial expired…

Cheers, Nick.

---

<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, 2024, 9:11pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2056 "2024-02-05T21:11:18Z")

</div>

Ah, I see. I was focussed on the error “configure the app first” and obviously missed the “it worked for months” part 🤔🙄

When the app suddenly stops working after months, it’s almost always an expired trial.

Unfortunately there’s no warning for an expired trial period.  
I made a agenda item which repeats itself every 6 months to keep me from surprises.

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

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