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

<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:** [November 25, 2023, 6:07am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1810 "2023-11-25T06:07:38Z")

</div>

Same here! You’re not alone… 😁  
Also official only….

---

<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:** [November 25, 2023, 7:09am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1811 "2023-11-25T07:09:32Z")

</div>

Strangest thing, the ones that aren’t recognised have wk…. And the one that’s recognised has qn

---

<div class="post-metadata">

**Author:** ![Svajunas\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svajunas_s/32/79712_2.png) [@Svajunas\_S](https://community.homey.app/u/Svajunas_S)\
**Post date:** [November 25, 2023, 3:33pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1812 "2023-11-25T15:33:02Z")

</div>

does this app work?

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 25, 2023, 4:32pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1813 "2023-11-25T16:32:55Z")

</div>

its possible that the ‘wk’ thermostats use the legacy api. I dont have any of those to test myself and dig through the code to actually see if thats the case but you can try.

‘qn’ is a heater device so if all 3 of your devices are identical thats odd.

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 25, 2023, 4:34pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1814 "2023-11-25T16:34:59Z")

</div>

it works fine for nearly all common devices just a few less common dont have the actual code to fully work

---

<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:** [November 25, 2023, 4:49pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1815 "2023-11-25T16:49:41Z")

</div>

If I choose official and legacy they don’t show up either but thanks for suggesting.

---

<div class="post-metadata">

**Author:** ![Svajunas\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/svajunas_s/32/79712_2.png) [@Svajunas\_S](https://community.homey.app/u/Svajunas_S)\
**Post date:** [November 26, 2023, 9:26am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1816 "2023-11-26T09:26:48Z")

</div>

Does the thermostat and smoke detector work or not?

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 26, 2023, 2:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1817 "2023-11-26T14:31:40Z")

</div>

Try it out i dont have any of those. Both smoke and thermostat are in the code. Tuya devices are more or less a mess so might be hit and miss.

---

<div class="post-metadata">

**Author:** ![Vincent\_Verbon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vincent_verbon/32/80597_2.png) [@Vincent\_Verbon](https://community.homey.app/u/Vincent_Verbon)\
**Post date:** [November 26, 2023, 7:58pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1818 "2023-11-26T19:58:04Z")

</div>

@Marcus_Bitterling , @Howchuen_Lee:

- Is the account you’re using for the cloud project also the home-owner in tuya / smart life ?
- Is your Cloud project set-up before may 2021 ? (this might have impact)
- Does your Cloud project correctly reflect the Device Status Notification API authorization ?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b779356e6e0dc6fd5c46cdcbb8059ce2471c3569.png)
- Do you see correct API’s in Cloud - Usage ?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03ec0f7cf8600b72a82cab540d9a909697fe6e90.png)
- Is your project created in the correct datacenter for your region ? and the countrycode set correctly in the configuration of the homey tuya app ? (cross-region API calls are always zapped by Tuya as I understand it)

Just trying to help - so probably you checked 10/10 - but couldn’t hurt to ask.

---

<div class="post-metadata">

**Author:** ![Howchuen\_Lee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/howchuen_lee/32/80378_2.png) [@Howchuen\_Lee](https://community.homey.app/u/Howchuen_Lee)\
**Post date:** [November 27, 2023, 1:50am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1819 "2023-11-27T01:50:56Z")

</div>

Hi Vincent,

Thanks for the suggestions any help is appreciated.

To answer your questions

- Yes the account I’m using is the Home-owner account in the Tuya App
- My Cloud Project was created only a couple of months ago
- Yes I see the Device Status Notification API authorised in my API page
- I do have the same API Usage as the ones you have shown in your screenshot, but I’ve uploaded a screenshot of mine for you to take a look as the message subscription usage is 0. Not sure if this is an issue.  
 ![Screenshot 2023-11-27 at 09.45.41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fee6b0d13e756f3b9e670fc10f8f113cd8c217e1.png)
- My project is created in the correct datacenter. Just to be sure I am in Singapore and the datacenter I’m using is central Europe.

Just wanting to be clear but this has nothing to do with the service that sends sms to my mobile phone right? because that is a paid service and currently i’m not subscribed to it.

Thank you very much for your help

---

<div class="post-metadata">

**Author:** ![JanSten12](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jansten12/32/34037_2.png) [@JanSten12](https://community.homey.app/u/JanSten12)\
**Post date:** [November 27, 2023, 1:35pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1820 "2023-11-27T13:35:18Z")

</div>

Strange things tuya/wifi are happening in homey pro 2019  
I have several flows that have works flawless in several months but latelely more or less is has been miss and hits…  
The strangs is when a flows should start or I just try to trigger a socket its miss ( I have 14 sockets wifi thats tuya related ) Too fix the problem I just go to the tuya smart app and trigger a random socket either on and off, and then go back to homey and trigger a socket or flow then all flows or trigging work again.  
Whats happening?

---

<div class="post-metadata">

**Author:** ![Vincent\_Verbon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vincent_verbon/32/80597_2.png) [@Vincent\_Verbon](https://community.homey.app/u/Vincent_Verbon)\
**Post date:** [November 27, 2023, 3:03pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1821 "2023-11-27T15:03:06Z")

</div>

Singapore maps to central europe indeed.  
One thing I noticed in your screenshot is that your projectname includes spaces. Could this maybe impact the inner workings of the messageflow for raw data ? probably not though- but straws are called straws for a reason. I’m also lost now on options to investigate and remediate. Seriously though- maybe- just maybe it’s worth trying out if creating a new cloud project maybe has some impact. it doesn’t exactly work now- so no big worry about breaking stuff- right ?

---

<div class="post-metadata">

**Author:** ![Dobbyzioso](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dobbyzioso/32/80082_2.png) [@Dobbyzioso](https://community.homey.app/u/Dobbyzioso)\
**Post date:** [November 27, 2023, 3:26pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1822 "2023-11-27T15:26:34Z")

</div>

Hey maybe someone can help me.  
I got an 3-way-switch for my ceiling light. In the Homey App I can control all 3 switches, but when I try to create an flow with my switch I can’t select an button id.

I only receive:

```auto
Cannot read properties of undefined (reading '_onButtonIdAutoComplete')

```

Is there a way to fix this issue ? I’m new to Homey, got my Homey Pro today.

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 28, 2023, 5:47pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1823 "2023-11-28T17:47:52Z")

</div>

Afaik the tuya/smartlife app can connect to devices locally over wifi bypassing the cloud. This tuya cloud app will always go through the tuya cloud. Only have a handfull of appliances tuya enabled wifi only and they have been hit and miss too last 2 weeks. Done a little troubleshooting and in pretty much all cases its tuya cloud replying with garbage.

I worked arround this with advanced flows to set a variable to what it should do and a loop to check device state. If ok do nothing if device state is different then expected attempt to set state properly. But this wont fly for sensors where you want to get reliable notifications from the tuya cloud on sensor state changes.

---

<div class="post-metadata">

**Author:** ![JanSten12](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jansten12/32/34037_2.png) [@JanSten12](https://community.homey.app/u/JanSten12)\
**Post date:** [November 28, 2023, 6:50pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1824 "2023-11-28T18:50:23Z")

</div>

Thanks for answer👍  
Can you publish your advanced flow so I can look at it, I am not an expert in advanced flows, but I have subscriped for that monthly. I have only Sockets that should start in the morning 07.00 on and off kl 10.00 and a other flows for sunrise (on) and ( off)01:30 nighttime

---

<div class="post-metadata">

**Author:** ![RobbanB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robbanb/32/79135_2.png) [@RobbanB](https://community.homey.app/u/RobbanB)\
**Post date:** [November 28, 2023, 8:08pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1825 "2023-11-28T20:08:15Z")

</div>

Hi, I get the “skill ID invalid” even if I have the datacenter set.

 ![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9b2e65c61c66866ed9d997537ec84c2bd7ba04cd.png)

I think I have correct settings in the Tuya Cloud app in Homey also

 ![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/a/fa0c057347dd39e29aa8ec0855834a260170704e.png)

Clicking save give me this

![bild](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/7067ca8c39591ca5312da58d4aa52f9e0457df39.png)

What could be the fault? Thanks!

EDIT! Problem solved! The app wasn’t linked in the project in the IoT platform… 🙂

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 29, 2023, 5:23pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1827 "2023-11-29T17:23:52Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/6/4671383b5cb20a51ced944e90ebb5744f3798548.png)  
Something like this.

Using variables and logic you can go super crazy with flows

---

<div class="post-metadata">

**Author:** ![JanSten12](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jansten12/32/34037_2.png) [@JanSten12](https://community.homey.app/u/JanSten12)\
**Post date:** [November 29, 2023, 6:30pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1828 "2023-11-29T18:30:05Z")

</div>

Thanks for tip👍 I shall try out this.  
But before that maybe I have bigger issue with the Homey Pro hardware or maybe not.  
I have used to restart tuya cloud every 3 hour( not working) and homey pro 2019 every night ( works) because maybe I have wifi issue with the hardware, I can,t explain it in words so I send you some pictures that resolve the problem for a while  
Tuya cloud not working:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/9/89dc31c3ff8b5b100d8d14e2ad3c4717206ef042.jpeg)  
restart:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/0/00a516b1793b50e3caf4c6a2f147d6b28c8e869c.jpeg)  
After restart all just fine:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4b6d04980ab0b5dcc42502af3e02732d2cb7c46b.jpeg)  
After this it,s working for a while…. Weard because my melcloud app in homey ( Mitsubishi heater) thats a wifi connected service works just fine.  
So I,m confused it,s a hardware problem or its a tuya cloud problem?  
I have seperated wifi network thats is 2,4 mhz and 5 mhz , so I think its not the network/router issue

---

<div class="post-metadata">

**Author:** ![Jepke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jepke/32/80488_2.png) [@Jepke](https://community.homey.app/u/Jepke)\
**Post date:** [November 29, 2023, 7:56pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1829 "2023-11-29T19:56:45Z")

</div>

The missing messages coming from tuya cloud might be caused by expired trail or some other wonkey tuya cloud issue.

I’ve had strange messages about missing this and that, turned out my 6 months lapsed in the mean time. But even with the expired trail homey was somehow able to get through on start up.

---

<div class="post-metadata">

**Author:** ![JanSten12](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jansten12/32/34037_2.png) [@JanSten12](https://community.homey.app/u/JanSten12)\
**Post date:** [November 29, 2023, 8:41pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/1830 "2023-11-29T20:41:59Z")

</div>

Okay, thanks👍  
I have also meet the expired half year try out, and I have get on more half year once again, but I have tried this since 2021 I,m tired of this, Its have been good days and bad days, but it,s should not been so.  
So I just thinking just cutting out tuya products in the homey/tuya cloud, and use just tuya smart app for this wifisockets, and never bought similar wifi products again, since z-wave and zigbee have never let me down.  
I have use too much time to get this work in the homey world, I,m think I giving up until someone or ATHOM HOMEY itself get a serious deal with the tuya company so it will be a solution like local control in homey or something else solution thats is steady and trusted, I,m thinking I,m not alone here….😡  
Sorry to hassle with you and every people that tried to give tuya support to me👍

My little excuse I,m have being helping other people in the Homey community… Mill, Melcloud, general flows thing etc…

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

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