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

<div class="post-metadata">

**Author:** ![Givemelove](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/givemelove/32/85370_2.png) [@Givemelove](https://community.homey.app/u/Givemelove)\
**Post date:** [June 6, 2024, 8:23pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/81 "2024-06-06T20:23:57Z")

</div>

I have the exact same req. Just submitted an issue with the requested info. Thanks y’all.

---

<div class="post-metadata">

**Author:** ![Emile](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emile/32/115314_2.png) [@Emile](https://community.homey.app/u/Emile)\
**Post date:** [June 7, 2024, 8:54am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/82 "2024-06-07T08:54:00Z")

</div>

Hey all!

Feel free to test the Tuya app by installing it from the Homey App Store: [https://homey.app/a/com.tuya/test/](https://homey.app/a/com.tuya/test/)

If you find any issues, please report those on GitHub: [GitHub - athombv/com.tuya: Tuya app for Homey](https://github.com/athombv/com.tuya)

P.S. I’ve also added an ‘Other’ driver so you can send any Tuya code from a Flow. Hopefully this bridges the gap where some device type isn’t added to the app yet, but you’d still want to use it.

 ![Screenshot 2024-06-07 at 10.39.48](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/e/dea84bfe8a6333cf80451bb0c107809d8da8d375.png)

Thank you all for your patience! \<3

---

<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 7, 2024, 5:53pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/83 "2024-06-07T17:53:41Z")

</div>

Sorry Emile, but it’s impossible to login with v0.3.0 …  
See [Git issue 11](https://github.com/athombv/com.tuya/issues/11)

_Workaround_: CLI install v0.2.0 → logon → and then install v0.3.0

> [@Emile](#):
>
> P.S. I’ve also added an ‘Other’ driver so you can send any Tuya code from a Flow. Hopefully this bridges the gap where some device type isn’t added to the app yet, but you’d still want to use it.

🥳 Can’t wait to try, but I can’t get to [working examples the needed codes](https://github.com/athombv/com.tuya/issues/12)

---

<div class="post-metadata">

**Author:** ![Hielke\_de\_Jong](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hielke_de_jong/32/79029_2.png) [@Hielke\_de\_Jong](https://community.homey.app/u/Hielke_de_Jong)\
**Post date:** [June 7, 2024, 7:05pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/84 "2024-06-07T19:05:50Z")

</div>

Not impossible; I did not have any problem to login.

---

<div class="post-metadata">

**Author:** ![John](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john/32/157_2.png) [@John](https://community.homey.app/u/John)\
**Post date:** [June 7, 2024, 7:22pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/85 "2024-06-07T19:22:08Z")

</div>

Classic, install app, restart app then it works.

---

<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 7, 2024, 7:35pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/86 "2024-06-07T19:35:16Z")

</div>

Great stuff! Really happy with this!

Is Github also the place to add feedback like: “I am able to control the Action Battletron light in Homey now, but there is no brightness slider and as soon as I do something with the light, the brightness goes to 0%”?

---

<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 7, 2024, 8:29pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/87 "2024-06-07T20:29:54Z")

</div>

Most likely, Rudi. Seems to be a bug.

---

<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 10, 2024, 8:09pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/89 "2024-06-10T20:09:09Z")

</div>

Roller blinds motort would be fine to support  
Have 4 of them

Like this one  
[https://a.aliexpress.com/\_EIUtQiR](https://a.aliexpress.com/_EIUtQiR)

---

<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 10, 2024, 9:39pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/90 "2024-06-10T21:39:43Z")

</div>

For (still) unsupported devices, and if they’re paired to the TuyaSmart / SmartLife phone app, you can install them as “Other” Tuya device

> ![Screenshot_20240610-234735_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63def0cf195d791cd83517076a64e382d4ed2cb8.jpeg)

and control them with an [advanced virtual device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) and some flows.

#### Example for curtains/blinds/roller shutters

Adv. virtual device:  
I created one with an Off/On control for Open/Close, and a slider control for position

> ![Screenshot_20240610-233821_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/f/7fe78c2c137d611453210405b709d6ec82665769.jpeg)

Device settings:

> ![Screenshot_20240610-232700_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/1/2153b6e3a1af1289076d38045ac703cd86653ae4.jpeg)

Flows

> ![Screenshot_20240610-233413_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e073565511ea92130817e9cc6eb51ff1557dd41b.jpeg)

> ![Screenshot_20240610-233534_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/d/7d07122ae5fd1660b7572f0fd8f68f51c2dbaab4.jpeg)

---

<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 11, 2024, 6:33am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/91 "2024-06-11T06:33:33Z")

</div>

I have a short question If I may.  
I have a Garage Door with a wireless sensor zigbee device screaming to be used, but I cannot added to the Tuya App because I need a Zigbee gateway, is there a work around to get this going with Homey Pro?

---

<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 11, 2024, 6:45am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/92 "2024-06-11T06:45:24Z")

</div>

You can try the [Community Tuya Zigbee App](https://homey.app/nl-nl/app/com.tuya.zigbee/Tuya-Zigbee/test/) in the Homey App Store for a direct connection 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 11, 2024, 7:08am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/93 "2024-06-11T07:08:17Z")

</div>

Thanks for the reply, but I have already done that and it doesn’t work, besides of also making contribution to GitHub and also supporting the author of the app with a small contribution, I had no luck at all.

---

<div class="post-metadata">

**Author:** ![Ruud\_Braat](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruud_braat/32/79135_2.png) [@Ruud\_Braat](https://community.homey.app/u/Ruud_Braat)\
**Post date:** [June 11, 2024, 8:27am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/94 "2024-06-11T08:27:39Z")

</div>

Hi everyone, is there a way to get energy data from the socket plugs. I now can only control the on/off button

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [June 11, 2024, 5:54pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/96 "2024-06-11T17:54:28Z")

</div>

Hi Peter,

thanks for the pointers. been trying to replicate and get close, but not complete. After adding the virtual device I started on the flows and got the following warning, when trying to set the tuya device flow:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/9/59c0b74f1b01fd233da8b8d88173ab51e8e3017a.png)  
Any idea what I am doing wrong/missing?

---

<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, 8:25pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/97 "2024-06-11T20:25:39Z")

</div>

Is the code selection list empty, Patrick? Sometimes you can ‘wake’ it by entering a whitespace followed by a backspace.

What if you enter `percent_control` in the [code] field, and `50` in the [value] field. Does it work?

Here you can find the codes and valid values for all kinds of devices:  
[https://developer.tuya.com/en/docs/iot/standarddescription?id=K9i5ql6waswzq](https://developer.tuya.com/en/docs/iot/standarddescription?id=K9i5ql6waswzq)

##### When you’ve opened this webpage:

- scroll all the way down, to this part:

> ![Screenshot_20240611-223253_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b7fce02cf75a487221aceb401f3ee4e865b93d29.jpeg)

- for Curtain devices, click on the topic “Small Home Appliances”
- under “Documentation”, click on “Curtain”  
Now you should see the codes + valid values / value ranges for devices of the curtain type:

> ![Screenshot_20240611-221856_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/b/0b8a09d330d7dda7eaaf343ecea1eab8a353fd7f.jpeg)

Link:  
[https://developer.tuya.com/en/docs/iot/f?id=K9gf46o5mtfyc](https://developer.tuya.com/en/docs/iot/f?id=K9gf46o5mtfyc)

---

<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 11, 2024, 9:01pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/98 "2024-06-11T21:01:57Z")

</div>

This is brilliant to see.

When will smart switches / smart buttons / scene switches / scene controllers be added to the app, please?

Is it just a case of requesting through the github page?

---

<div class="post-metadata">

**Author:** ![Patrick\_Van\_Deursen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/patrick_van_deursen/32/56539_2.png) [@Patrick\_Van\_Deursen](https://community.homey.app/u/Patrick_Van_Deursen)\
**Post date:** [June 11, 2024, 9:10pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/99 "2024-06-11T21:10:01Z")

</div>

it is indeed empty, and entering a space gives the same error. if I paste percent\_control it still gives an error…

---

<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 11, 2024, 9:17pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/100 "2024-06-11T21:17:46Z")

</div>

It was quite a hassle to get GitHub, Docker, Homey CLI and Tuya up and running but it worked. So I requested one new device (LSC panel heater), indicated that dimming is missing from the Action Battletron lights and some other bulbs were change white temperature all of a sudden.

Only thing I need to figure out is how to prevent that the Tuya app is uninstalled from my Homey Pro after closing the CLI

---

<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, 10:56pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/101 "2024-06-11T22:56:05Z")

</div>

> [@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)

---

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

</div>

> [@deejayreissue](#):
>
> Is it just a case of requesting through the github page?

Yes

* * *

> [@Patrick\_Van\_Deursen](#):
>
> it is indeed empty, and entering a space gives the same error. if I paste percent\_control it still gives an error…

I guess it works different when it’s a zigbee device → zigbee gateway → Tuya wifi device  
I"d suggest to create an issue for it

> [@Emile](#):
>
> If you find any issues, please report those on GitHub: [GitHub - athombv/com.tuya: Tuya app for Homey](https://github.com/athombv/com.tuya)

* * *

> [@Ruud\_Braat](#):
>
> Hi everyone, is there a way to get energy data from the socket plugs. I now can only control the on/off button

> [@Emile](#):
>
> If you find any issues, please report those on GitHub: [GitHub - athombv/com.tuya: Tuya app for Homey](https://github.com/athombv/com.tuya)

* * *

> [@Mariomark1541](#):
>
> Roller blinds motort would be fine to support

> [@Emile](#):
>
> Create issue on GitHub: [GitHub - athombv/com.tuya: Tuya app for Homey](https://github.com/athombv/com.tuya)

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

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