# \[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:** 1\
**Showing post:** 2290

<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`

---

_[View the full topic](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313)._
