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

<div class="post-metadata">

**Author:** ![zxxxy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zxxxy/32/112490_2.png) [@zxxxy](https://community.homey.app/u/zxxxy)\
**Post date:** [August 17, 2024, 8:53pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/339 "2024-08-17T20:53:08Z")

</div>

Hi all,

I’ve recently just bought a Homey Pro (moving from Habitat). I have a bunch of Zigbee Tuya devices which until now have worked under a general Tuya Zigbee hub.

I know there’s now an official Tuya app, which I’ve managed to connect to on my Homey Pro, and I can add my Tuya devices with no issues, but… :

- there are no controls to them whatsoever - it says “This device works fine but you can not control it.”
- my Tuya scenes do not come up at all
- and whenever I try to create a flow within Homey with a trigger based off a Tuya device, the only options I get are code for Boolean, JSON, number value or string value, and when I click on any of those there are no values/codes to pick from.

The above applies to every single device I have from Tuya.

I don’t have issues with app connectivity, I’ve restarted it, reinstalled it etc. and if I can add the devices from Tuya onto Homey then surely I have connected it correctly, but there is just no way to control them, or get any input from them at all

Could someone shed some light if I’m missing something?

Thank you!

---

<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:** [August 18, 2024, 3:24pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/341 "2024-08-18T15:24:40Z")

</div>

> [@zxxxy](#):
>
> my Tuya scenes do not come up at all

It’s not in the “live” version yet

> [@Peter\_Kawa](#):
>
> Install the test version of the Tuya app to see if this solves your issue:  
> [https://homey.app/a/com.tuya/test/](https://homey.app/a/com.tuya/test/)
> 
> See changelog:
> 
> > ![1000033044](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f05fb3701b632c9daf44da79cc837a7b068a223f.jpeg)

---

<div class="post-metadata">

**Author:** ![GERMAN.MIQUEL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/german.miquel/32/78628_2.png) [@GERMAN.MIQUEL](https://community.homey.app/u/GERMAN.MIQUEL)\
**Post date:** [August 19, 2024, 7:52am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/342 "2024-08-19T07:52:43Z")

</div>

Good morning,

since my fan can’t be found on the list, how could I get the JSON code so I can add a device request in Github?

Thank you!

---

<div class="post-metadata">

**Author:** ![El\_Capitan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/el_capitan/32/92941_2.png) [@El\_Capitan](https://community.homey.app/u/El_Capitan)\
**Post date:** [August 19, 2024, 7:55am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/343 "2024-08-19T07:55:49Z")

</div>

You can find it in the advanced settings of the fan, if you use a browser.

---

<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:** [August 19, 2024, 7:00pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/344 "2024-08-19T19:00:44Z")

</div>

It’s all explained in the template of the device request, just open it  
[https://github.com/athombv/com.tuya/issues/new?assignees=&labels=device+request&projects=&template=device-request.yml&title=%5BDevice+request%5D%3A+](https://github.com/athombv/com.tuya/issues/new?assignees=&labels=device+request&projects=&template=device-request.yml&title=%5BDevice+request%5D%3A+)

---

<div class="post-metadata">

**Author:** ![Erikje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erikje/32/8240_2.png) [@Erikje](https://community.homey.app/u/Erikje)\
**Post date:** [August 19, 2024, 7:39pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/345 "2024-08-19T19:39:11Z")

</div>

When I try to install my sockets I get the following error message. Do more people have this error message? For example, when I add a lamp, the lamps all appear

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

This error message also occurs in the test version

---

<div class="post-metadata">

**Author:** ![Janko\_van\_der\_Baan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janko_van_der_baan/32/78909_2.png) [@Janko\_van\_der\_Baan](https://community.homey.app/u/Janko_van_der_Baan)\
**Post date:** [August 19, 2024, 5:45pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/346 "2024-08-19T17:45:27Z")

</div>

I managed to get the Tuya Wifi light sensor connected in the Homey Pro.  
Now I want to use this light sensor to switch on and off our exterior lights.  
So the Homey recognise the device but I get no options in Flows

 ![Tuya light sensor Flow](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1b3b2e4ef8d0aca5c96849dc2efdcc51201a599b.jpeg)

Can anyone help me how I should add the Lux number in order to activate the lights?

---

<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:** [August 19, 2024, 9:39pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/347 "2024-08-19T21:39:52Z")

</div>

“Bright\_value” is the lux value.

Something like this:  
When…  
-status Bright\_value gets a new number value  
And…  
-logic card "[number tag of “Dag nacht sensor”] is less than 50  
Then…  
-turn on exterior lights

(_50 is just an example lux value_)

> [@How to use tags in a flow](https://community.homey.app/t/how-to-use-tags-in-a-flow/9285):
>
> How to use tags in a flow on 2.0.x There are a lot of questions about using the tags in the 2.0.x firmware of Homey. So here i give you a simple explanation of using tags in 2.0.x. We start with the WHEN part When making a flow you select a device in the WHEN part of the flow. In this example i used a Fibaro plug. When selecting the device you get the option to choose “The power changed” f.e. When clicked you will see the tag(s) coming with this card. We gonna use that tag later, no need in…

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/4/441f03af3920e71d7e4c61ca60dcdde612a747a8.jpeg "Homey: how to pick a tag from a certain device") ](https://www.youtube.com/watch?v=X-9zO9khx_E)

---

<div class="post-metadata">

**Author:** ![Simon\_Kai](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_kai/32/79941_2.png) [@Simon\_Kai](https://community.homey.app/u/Simon_Kai)\
**Post date:** [August 20, 2024, 8:01am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/348 "2024-08-20T08:01:05Z")

</div>

I think you can use the map below. (Get a new string value)  
Take a look at the options you have for code.  
Then you should actually get a variable number for Lux, which you can then continue to use

---

<div class="post-metadata">

**Author:** ![Futero](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/futero/32/16515_2.png) [@Futero](https://community.homey.app/u/Futero)\
**Post date:** [August 20, 2024, 12:11pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/349 "2024-08-20T12:11:45Z")

</div>

You are welcome. Glad it helped you out, at least for the first part. I did not had any authentication issues after that. Now I can just add a new device as long as I first add them to my Tuya Smart app.

---

<div class="post-metadata">

**Author:** ![GERMAN.MIQUEL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/german.miquel/32/78628_2.png) [@GERMAN.MIQUEL](https://community.homey.app/u/GERMAN.MIQUEL)\
**Post date:** [August 21, 2024, 10:48am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/350 "2024-08-21T10:48:51Z")

</div>

Hi @Peter_Kawa I took a look to the template before asking 🙂, but one of the steps is " \* Add your device if you didn’t already" and that’s my problem. I’m no able to add the device so I can’t find the JSON.  
I thought this was a templeate to request the inclusion of a new device. Am I wrong?

Thank you!

---

<div class="post-metadata">

**Author:** ![Janko\_van\_der\_Baan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janko_van_der_baan/32/78909_2.png) [@Janko\_van\_der\_Baan](https://community.homey.app/u/Janko_van_der_Baan)\
**Post date:** [August 21, 2024, 1:56pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/351 "2024-08-21T13:56:09Z")

</div>

Dear Peter,

Thanks a lot for your support. The system is up and running!

Kind regards,  
Janko

---

<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:** [August 21, 2024, 9:05pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/352 "2024-08-21T21:05:15Z")

</div>

> [@GERMAN.MIQUEL](#):
>
> ’m no able to add the device so I can’t find the JSON.

Hi German,  
When you cannot add your device as “other” device,

> ![1000033240](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/7/57e1fd2033e8b5b4145a04f52019144c8c491775.jpeg)

it is most probably not yet added to your smartphone app you use, TuyaSmart or Smartlife.

---

<div class="post-metadata">

**Author:** ![GERMAN.MIQUEL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/german.miquel/32/78628_2.png) [@GERMAN.MIQUEL](https://community.homey.app/u/GERMAN.MIQUEL)\
**Post date:** [August 22, 2024, 7:54am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/353 "2024-08-22T07:54:03Z")

</div>

Hi Peter,

but they are both added to my SmartLife app. 🤔 That’s why I don’t understand why can’t I add them to Homey… 🤨

 ![Fan imagen](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb2deda5a3eae1e98505c402404c26c05d7eff1f.jpeg)

Thanks for your help!

---

<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:** [August 22, 2024, 1:02pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/354 "2024-08-22T13:02:56Z")

</div>

YW!

I see. I don’t know what’s wrong there.  
What if you test this:  
delete one of them and add it again? Maybe Homey finds it this time.  
Just a brainfart…  
Or restarting the Tuya app @ Homey, or Homey itself might help.

---

<div class="post-metadata">

**Author:** ![GERMAN.MIQUEL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/german.miquel/32/78628_2.png) [@GERMAN.MIQUEL](https://community.homey.app/u/GERMAN.MIQUEL)\
**Post date:** [August 23, 2024, 8:21am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/356 "2024-08-23T08:21:41Z")

</div>

Thank you Peter!  
once I deleted the fans and added them again in Smartlife it solved the problem!  
I have sent the request to add a new device.

Thank you for your help! Have a fantastic day

---

<div class="post-metadata">

**Author:** ![Ewen\_Le\_guennec](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ewen_le_guennec/32/25503_2.png) [@Ewen\_Le\_guennec](https://community.homey.app/u/Ewen_Le_guennec)\
**Post date:** [August 24, 2024, 8:20am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/357 "2024-08-24T08:20:00Z")

</div>

Hello everyone ,i have a problem with the connexion process,it open the web page of tuya,i enter my mail and password,and say"you can now close this window",but in homey it stay at the page “connect to the website” and nothing happen…

 ![Screenshot_20240824_101929_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7a00bca2d85e63f5efa5786be7e31bd19a3bc988.jpeg)

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [August 24, 2024, 9:06am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/358 "2024-08-24T09:06:51Z")

</div>

@Doekse, should we update the title and category of this topic or even create a new app specific topic?  
The discussion has become more of app support than the original topic.

---

<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:** [August 24, 2024, 9:24am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/359 "2024-08-24T09:24:49Z")

</div>

Good point, thanks for the suggestion! I think we could change te title of this topic. I can also adjust the first post 👍

Will do that today 🙌

---

<div class="post-metadata">

**Author:** ![Alex069](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alex069/32/79555_2.png) [@Alex069](https://community.homey.app/u/Alex069)\
**Post date:** [August 24, 2024, 11:31am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/360 "2024-08-24T11:31:54Z")

</div>

any plans for the Zigbee version?

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

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