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

<div class="post-metadata">

**Author:** ![mralbert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mralbert/32/88408_2.png) [@mralbert](https://community.homey.app/u/mralbert)\
**Post date:** [April 13, 2024, 8:19am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2272 "2024-04-13T08:19:46Z")

</div>

Here exact the same.problem i have do understand with the 6 months but nothing works is there.somebody the.can help

Is working all device on website tuya but in de homey app when I want to install device hé say this every time Who can help me please

 ![IMG_0040](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d052caf86a9cebe884eec76b1d628a3a67faaea6.jpeg)  
 ![IMG_0041](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95dba7b9477a0c4c308634b3c84fcae2b7e4474f.jpeg)

---

<div class="post-metadata">

**Author:** ![Jasper\_Meijrink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jasper_meijrink/32/29849_2.png) [@Jasper\_Meijrink](https://community.homey.app/u/Jasper_Meijrink)\
**Post date:** [April 15, 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/2273 "2024-04-15T11:59:41Z")

</div>

Here the same problem. Older products work perfect. But I can’t add a new product (heater) to Homey. It appears in Tuya-app and in the Tuya-cloud but in Homey i have to configurate the app first.

---

<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:** [April 15, 2024, 5:17pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2274 "2024-04-15T17:17:59Z")

</div>

I have the same problem. The devices give “missing capability listener on/off” error. I tried:

- Reinstalling app
- reinstalling Homey clean
- bring back-up to working date
- reset homey with software update

Nothing works. When i try to reconfigure settings and press save, it gives a “error” popup. And I need to reconfigure app when I try to add device.

The only thing that happened in between is switching from network provider with new modem and then this problem occured. Like something is blocking the connection.

I don’t know what to do anymore. I am using HA for Tuya Cloud at 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:** [April 16, 2024, 12:08am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2275 "2024-04-16T00:08:20Z")

</div>

> [@bayrambass](#):
>
> switching from network provider with new modem and then this problem occured.  
> Like something is blocking the connection.

Most probably your internet IP address changed because of the new provider.

> [@Peter\_Kawa](#):
>
> Also, _if applicable_, did you add/adjust your new internet IP address here on the allow list:
> 
> > ![Screenshot_20240322-203641_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d8a266310223d4452eacc66cfbc6ac3c0e258757.jpeg)

.

> [@bayrambass](#):
>
> - Reinstalling app
> - reinstalling Homey clean
> - bring back-up to working date
> - reset homey with software update

I’m sorry to say, but all that won’t help with Tuya Cloud app issues.  
It has to be configured just right. The devil is in the details.

---

<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:** [April 16, 2024, 12:17am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2276 "2024-04-16T00:17:57Z")

</div>

> [@Jasper\_Meijrink](#):
>
> Older products work perfect. But I can’t add a new product (heater) to Homey. It appears in Tuya-app and in the Tuya-cloud but in Homey i have to configurate the app first.

First make sure you’ve deleted all of your Tuya Cloud devices @ Homey, so nothing uses the old driver anylonger.  
Then select “use official API only” on top of the app config.  
Now add all your Tuya Cloud devices to Homey again.  
Note, there’s a [great script to fix all flows](https://community.homey.app/t/how-to-pro-cloud-tool-to-fix-advanced-flows-after-removing-and-re-adding-devices/65018) involved.

Also make sure your “iot trial period” is not expired , goto [iot.tuya.com](http://iot.tuya.com) to check.

Also, I’ve posted a YT instruction vid several times, just search for “`youtube @Peter_Kawa`” in this topic.

---

<div class="post-metadata">

**Author:** ![Jasper\_Meijrink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jasper_meijrink/32/29849_2.png) [@Jasper\_Meijrink](https://community.homey.app/u/Jasper_Meijrink)\
**Post date:** [April 16, 2024, 8:11am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2277 "2024-04-16T08:11:17Z")

</div>

Hi Peter,  
I did that i few months ago, but now it looks like everything is reset to the old situation. But it is just simply delete all Tuya-devices in Homey (also the app or not?) and add them again?

---

<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:** [April 16, 2024, 10:44am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2278 "2024-04-16T10:44:52Z")

</div>

App doesn’t need to be removed / reinstalled.  
Delete all Tuya devices in Homey, and

> [@Peter\_Kawa](#):
>
> Then select “use official API only” on top of the app config.  
> Now add all your Tuya Cloud devices to Homey again.

 ![Screenshot_20240416-124111_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/f/6f2f2f5f4dcdc3c4866c8c97771a755ce1cac94b.jpeg)

Restarting the app after each config change can’t hurt.

Also make sure to enter the Telephone Country Code in the right format, `31` for NL.  
And select which phone app you use, Tuya Smart, or Smart Life:

 ![Screenshot_20240416-124130_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9f3b704df40fb934d002cdd30ede15a2af2b37c3.jpeg)

If you still get “configure app first” errors, hit the `save` or `reload scenes` button in app settings.  
It should return an error ID.

Then search this topic for that ID to find the culprit.

---

<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:** [April 16, 2024, 8:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2279 "2024-04-16T20:31:34Z")

</div>

I mentioned it myself that the modem switched so aswell the IP ofcourse. I had to change the white list IP. My bad dumb mistake.

Thanks for your advice @Peter_Kawa !

Also for mentioning. When you try to configure settings through mobile app it just says “Error”. But when reconfiguring through web app it says "Error, IP (xx.xxx.xxx.xx) not whitelisted. If i just tried that earlier… 🤪

---

<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:** [April 17, 2024, 2:16am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2280 "2024-04-17T02:16:31Z")

</div>

> [@bayrambass](#):
>
> I had to change the white list IP.

Ah, glad to see that was the culprit. But it’s not dumb.  
How many times I locked myself out of a server, by applying/removing the wrong firewall rule 😇🤣

> [@bayrambass](#):
>
> But when reconfiguring through web app it says "Error, IP (xx.xxx.xxx.xx) not whitelisted. If i just tried that earlier… 🤪

Oh that’s great info, I didn’t know that! Thanx!  
It’s very odd there’s that much of a difference though.

---

<div class="post-metadata">

**Author:** ![Per\_Svegre](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/per_svegre/32/78879_2.png) [@Per\_Svegre](https://community.homey.app/u/Per_Svegre)\
**Post date:** [April 20, 2024, 9:00am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2281 "2024-04-20T09:00:17Z")

</div>

Hi,

After some homey updates, all my tuya devices lost connection with homey. I have reset the tuya cloud development link and deleted and installed tuya cloud again. But it seems no matter what I do, I cannot connect devices again.

This message “Please configure the app first” when “Add device” - “Tuya Cloud”… It will not go away.

And I have configured the app several times.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/d/8de6dc8b48030aa50c09e1361c9153bf875fdd68.png)

Here I even tried to set the regional number to sweden to check if it matters.

Can someone help me with this?

I can see that there is other posts related to this problem but in other language than I know. So that will not help me much.

Thankful for any help with this problem. It is driving my wife crazy, since we have light switches that is connected to homey in order to operate the tuya lights. And now it is not working anymore.

---

<div class="post-metadata">

**Author:** ![David\_Wessman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_wessman/32/83399_2.png) [@David\_Wessman](https://community.homey.app/u/David_Wessman)\
**Post date:** [April 22, 2024, 6:51pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2282 "2024-04-22T18:51:28Z")

</div>

I just had the same problem. Renew your free trail subscription for the tuya iot cloud. It last for one year then you have to reactivate it. You can only do it for 6 months at a time.

---

<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:** [April 26, 2024, 11:27am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2283 "2024-04-26T11:27:53Z")

</div>

Hi all,

I have an Airconditioner with smart life wifi, added as tuya device in homey. It works all fine however it seems the temperature is one decimal off. Instead of 20 c, it reads 200 c. Anyone any idea how to fix this?

 ![IMG_6057](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5fd45b81e20cf398a1c59163303cdbff109bfa14.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:** [April 26, 2024, 1:06pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2284 "2024-04-26T13:06:20Z")

</div>

It should work according to this fix by Ronny

> The scale factor seems to be dependent on the amount of decimals defined by the device manufacturer

So, maybe your airco device uses a still undefined amount of decimals, and you could ask Ronny if he can take a look

> [@\[App\]\[Pro\] Tuya Cloud](https://community.homey.app/t/app-pro-tuya-cloud/21313/1114):
>
> @Jurgen_Heine I made a new PR including a scale factor for heater/thermostat devices. This way, every device can use its scale factor which defines the amount of decimal places and the correction factor for read/set values. The scale factor seems to be dependent on the amount of decimals defined by the device manufacturer. @all users using heater or thermostat device: This change will break all devices not using the default 1 decimal version (e.g. Duux heater). If you are experiencing no ch…

---

<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:** [April 27, 2024, 5:38pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2285 "2024-04-27T17:38:35Z")

</div>

Hi Ronny,

Seems mine is not working correctly for my airco. Any idea what I should do?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [April 27, 2024, 6:19pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2286 "2024-04-27T18:19:51Z")

</div>

I don’t think that this app is still maintained. We should wait for the “official” Athom version.

> [@Tuya has officially joined the “Talks With Homey” program](https://community.homey.app/t/tuya-has-officially-joined-the-talks-with-homey-program/106779):
>
> Hi all, just as a heads-up; as of today Tuya has officially joined the “Talks With Homey” program. Which is great news! They are currently working on API endpoints that would enable us to built an official integration without the need to dive into developer accounts. We are hoping to launch the official App later this year! Keep you posted! raised_hands Moved from Topic about the Community App: [[App][Pro] Tuya Cloud - #2197 by Dijker](https://community.homey.app/t/app-pro-tuya-cloud/21313/2197)

---

<div class="post-metadata">

**Author:** ![Tim\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tim_s/32/56366_2.png) [@Tim\_S](https://community.homey.app/u/Tim_S)\
**Post date:** [April 29, 2024, 12:34pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2287 "2024-04-29T12:34:45Z")

</div>

Hi, what information would you need to add a inverter pool heat pump, i have it working in Tuya cloud, but as the device is not listed in your app i can not use 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:** [April 29, 2024, 2:55pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2288 "2024-04-29T14:55:48Z")

</div>

> [@Tim\_S](#):
>
> but as the device is not listed in your app i can not use it in homey…

Hi Tim,

> [@\[App\]\[Pro\] Tuya Cloud](https://community.homey.app/t/app-pro-tuya-cloud/21313/2112):
>
> Post 1 is the gift that keeps on giving slight_smile that- and the patient reminders of @Peter_Kawa that really- you should read post 1. Went through the learning curve myself as well slight_smile

When you have read post #1 of this topic, you now know:

- The app isn’t maintained
- Which is not necessarily a bad thing, while you can control almost every Tuya device from Homey / almost every Tuya device can control Homey.  
Which you found out by reading the mentioned howto’s “tap-to-run” and “RAW commands” 😉

When you can’t get it to work anyway, just ask.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [May 1, 2024, 1:58pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2289 "2024-05-01T13:58:07Z")

</div>

Hi @Peter_Kawa

I just received my 8 station smart sprinkler / irrigation controller from Ali 🙂  
With Tuya cloud I can execute scenes eg. to open valve 1, but I cannot detect RAW events from this device (I get events from others).

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

Is there still an option to add this new (class) of device to the Tuya Cloud app so I get events?  
What is needed to do that?

Central Europe Datacenter  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b0e59de791650332e6737671cca5af24764f378.png)

Device log

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

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7da6ca851b891abf796538eeb0a3c0787dfad45.png)

These are the instructions in:

> **[Tuya Smart Developer Center](https://auth.tuya.com?from=http%3A%2F%2Fiot.tuya.com%2Fcloud%2FsetMode%3Fid%3Dp1660392066491djwuum%26pid%3Dkrvsermlavj3lypv)**
>
> Full range of smart device development tools, downloads and documentations.Connect your devices and products to the Internet of Things.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/9/997ff710d55b00922d426ee2aa85092d90a913ac.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:** [May 1, 2024, 8:35pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2290 "2024-05-01T20:35:57Z")

</div>

Hi Rrrr,

First try enabling DP instruction, the RAW events _should_ be sent in theory.

My knowledge on how to add device types to this app is zero.  
Take a look at the github commits to start with:  
[https://github.com/jurgenheine/com.tuya.cloud](https://github.com/jurgenheine/com.tuya.cloud)

> [@Rrrr](#):
>
> Is there still an option to add this new (class) of device to the Tuya Cloud app so I get events?  
> What is needed to do that?

You’ll need to know the ‘product category’

```auto
{
            "type": "socket",
            "category": ['cz', 'pc']
        },

```

Your device has this one

 ![Screenshot_20240501-223701_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/3/535af923b716983a6f8c4c7fcbce105843c75166.jpeg)

Technically the 8-station sprinkler controller is comparable to an 8-gang relais (also called switch) , maybe that simplifies things, you could use a 2-gang relais driver code as template / starting point.

It’s possible when you write the code (or ask someone to write it) and test it when you merged it with the downloaded app code.  
When you [install it by CLI](https://community.homey.app/t/how-to-cli-install-method/198), you can execute `homey app run` from within the app directory.  
This way it returns all errors at your console.  
When all’s set, install the app by `homey app install`

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [May 1, 2024, 8:51pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/2291 "2024-05-01T20:51:07Z")

</div>

> [@Peter\_Kawa](#):
>
> First try enabling DP instruction, the RAW events _should_ be sent in theory.

Great, this worked and I now receive RAW events. Thank you.

The rest is way too much for my skill set.  
I wish I could test the state of the device valve.

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

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