# \[APP\] Tuya - Connect any Tuya device with Homey (by Tuya Inc. / Athom)

**URL:** <https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779>\
**Category:** Apps\
**Tags:** app\
**Created:** [March 21, 2024, 3:55pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779 "2024-03-21T15:55:42Z")\
**Posts on this page:** 20\
**Page:** 6

<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:** [June 11, 2024, 11:10pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/103 "2024-06-11T23:10:47Z")

</div>

Hi Paulo,

You can ask someone who can write app code to add a driver per github PR.  
Or, buy a €15,- Tuya/Tuya whitelabel zigbee gateway, like the one sold by Lidl.

---

<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:** [June 12, 2024, 5:14am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/104 "2024-06-12T05:14:33Z")

</div>

> [@Peter\_Kawa](#):
>
> > [@Rudi\_Hendrix](#):
> >
> > how to prevent that the Tuya app is uninstalled from my Homey Pro after closing the CLI
> 
> When you don’t need the CLI error log, you’d use  
> `homey app install`  
> instead of  
> `homey app run`
> 
> But it’s not necessary anymore, it’s available in the store [https://homey.app/a/com.tuya/test](https://homey.app/a/com.tuya/test)

I know about the test version of the app and as instructed if you want to request support for a new device or have an issue, you can log bugs here:  
[https://github.com/athombv/com.tuya/issues](https://github.com/athombv/com.tuya/issues)

So, I opened this one: [https://github.com/athombv/com.tuya/issues/13](https://github.com/athombv/com.tuya/issues/13)  
And then after some guidance: [https://github.com/athombv/com.tuya/issues/15](https://github.com/athombv/com.tuya/issues/15) (that’s where I needed the CLI)  
And while I was at it I thought of requesting support for my Infrared panel: [https://github.com/athombv/com.tuya/issues/16](https://github.com/athombv/com.tuya/issues/16)  
And I thought of the bug that I had with some other Tuya light bulbs:  
[https://github.com/athombv/com.tuya/issues/17](https://github.com/athombv/com.tuya/issues/17)

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 12, 2024, 8:50am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/105 "2024-06-12T08:50:30Z")

</div>

It’s really great to see everyone doing their best to help us with this! I’ve also requested samples from every Tuya brand I know. Together we’ll make this work! 🙌

---

<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:** [June 12, 2024, 11:14am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/106 "2024-06-12T11:14:31Z")

</div>

Thanx Rudi.  
Which brought me to the idea of in-app log info, so CLI install isn’t needed → requested @ [github](https://github.com/athombv/com.tuya/issues/19)

---

<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:** [June 12, 2024, 11:18am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/107 "2024-06-12T11:18:30Z")

</div>

Abe, is it possible to publish some kind of howto, for adding device types as PR by users who’d like to (and think they’re able to)?

1. howto PR
2. howto add which info to which files

Ty

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 12, 2024, 11:37am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/108 "2024-06-12T11:37:31Z")

</div>

We are planning to publish a knowledge base article that includes all this information 😉

---

<div class="post-metadata">

**Author:** ![Marcelo\_Leite](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelo_leite/32/79656_2.png) [@Marcelo\_Leite](https://community.homey.app/u/Marcelo_Leite)\
**Post date:** [June 12, 2024, 12:18pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/109 "2024-06-12T12:18:12Z")

</div>

How to insert data into the code bank?

---

<div class="post-metadata">

**Author:** ![deejayreissue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deejayreissue/32/81912_2.png) [@deejayreissue](https://community.homey.app/u/deejayreissue)\
**Post date:** [June 12, 2024, 4:01pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/110 "2024-06-12T16:01:32Z")

</div>

> **[Buy Your Smart Switches for Home Automation Online | MOES](https://moeshouse.com/collections/smart-switch)**
>
> Experience the ultimate in home automation with MOES Smart Switch. Streamline your daily routines and enhance convenience with our meticulously crafted smart switches.

Moes have some very popular products here in the UK.  
The Star Ring grey switches especially, as not everyone wants plain white switches.

---

<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:** [June 13, 2024, 10:48am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/111 "2024-06-13T10:48:25Z")

</div>

[Mycket socket](https://www.amazon.co.uk/dp/B08L7DJ3HR) added successfully. Thanks for the work on this.

Andy

---

<div class="post-metadata">

**Author:** ![deejayreissue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deejayreissue/32/81912_2.png) [@deejayreissue](https://community.homey.app/u/deejayreissue)\
**Post date:** [June 13, 2024, 9:18pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/112 "2024-06-13T21:18:57Z")

</div>

Why can’t we use the ‘Other’ driver as a ‘When’ card?

I want to send Tuya codes using scene switches, but it’s not possible if the card can’t be a when card, as switches are always the first command.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [June 14, 2024, 8:06am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/113 "2024-06-14T08:06:37Z")

</div>

The only thing when I do it with this that the app is not updating the real state when manually up or down the blinds

---

<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:** [June 14, 2024, 4:32pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/114 "2024-06-14T16:32:47Z")

</div>

This is because there’s no WHEN cards for receiving values and status updates by Tuya devices (yet).  
Meaning, the curtain publishes its state, but Homey can’t receive it (yet).

This functionality has been requested @ [github # 20](https://github.com/athombv/com.tuya/issues/20)  
(Also FYI @deejayreissue )

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [June 14, 2024, 5:40pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/115 "2024-06-14T17:40:23Z")

</div>

Alright

So I’ll have to wait and wait that curtains officially supported

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 14, 2024, 6:04pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/116 "2024-06-14T18:04:16Z")

</div>

As previously mentioned, this app is still in development. We are continuously iterating and adding support for more device types.

To ensure we can include support for these blinds in a future update, please provide us with the necessary information by following [these instructions](https://github.com/athombv/com.tuya/blob/master/.github/ISSUE_TEMPLATE/new-device-request.md). 🙏

---

<div class="post-metadata">

**Author:** ![Paulo\_Dias](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paulo_dias/32/79087_2.png) [@Paulo\_Dias](https://community.homey.app/u/Paulo_Dias)\
**Post date:** [June 17, 2024, 6:15am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/117 "2024-06-17T06:15:53Z")

</div>

Hi there,  
For all Tuya devices do we still need to have a separate Tuya gateway and network, or will be possible to make use of the Homey Pro Zigbee on the long run? Having 2 separate network might be an hassle. Cheers

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 17, 2024, 6:30am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/118 "2024-06-17T06:30:42Z")

</div>

This specific App aims to create an integration with the Tuya Cloud. For Zigbee devices this means that you need a Tuya Zigbee gateway to connect your devices.

For now you can use the [community Tuya Zigbee App](https://homey.app/a/com.tuya.zigbee/test) to connect directly with Homey over Zigbee.

---

<div class="post-metadata">

**Author:** ![Paulo\_Dias](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paulo_dias/32/79087_2.png) [@Paulo\_Dias](https://community.homey.app/u/Paulo_Dias)\
**Post date:** [June 17, 2024, 6:40am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/119 "2024-06-17T06:40:20Z")

</div>

Understood, will the community app somehow take the advantage of all these Zigbee connections to make support for more devices? To be honest here, I kind of lost faith on that development from the community app.

---

<div class="post-metadata">

**Author:** ![deejayreissue](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deejayreissue/32/81912_2.png) [@deejayreissue](https://community.homey.app/u/deejayreissue)\
**Post date:** [June 17, 2024, 11:40am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/120 "2024-06-17T11:40:13Z")

</div>

Are there any gateways in particular that you would recommend for use with Homey to achieve a strong mesh network?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [June 17, 2024, 6:27pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/121 "2024-06-17T18:27:25Z")

</div>

> [@Doekse](#):
>
> To ensure we can include support for these blinds in a future update, please provide us with the necessary information by following [these instructions](https://github.com/athombv/com.tuya/blob/master/.github/ISSUE_TEMPLATE/new-device-request.md). 🙏

Are there already more instructions available by any chance, @Doekse?

After I put in:  
_git clone [git@github.com](mailto:git@github.com):athombv/com.tuya.git_  
I get the following error:  
_[git@github.com](mailto:git@github.com): Permission denied (publickey)._  
_fatal: Could not read from remote repository._  
_Please make sure you have the correct access rights_  
_and the repository exists._

Can someone help me out; what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Doekse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/doekse/32/109415_2.png) [@Doekse](https://community.homey.app/u/Doekse)\
**Post date:** [June 17, 2024, 6:43pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/122 "2024-06-17T18:43:48Z")

</div>

What also works is just downloading the source folder from GitHub and starting the terminal window from within the “_com.tuya_” folder. The first command basically just downloads the files from GitHub.

We are working on the knowledge base article! 🙏

[Previous page](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779.md?page=5)

[Next page](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779.md?page=7)
