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

<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:** [July 3, 2024, 4:14pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/143 "2024-07-03T16:14:23Z")

</div>

So for the Zigbee Tuya devices, you need a Tuya Zigbee hub?

---

<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:** [July 3, 2024, 4:39pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/144 "2024-07-03T16:39:39Z")

</div>

do you have a tuya Zigbee hub? if yes can you share a model?

---

<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:** [July 3, 2024, 6:13pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/145 "2024-07-03T18:13:37Z")

</div>

> [@Alex069](#):
>
> So for the Zigbee Tuya devices, you need a Tuya Zigbee hub?

Yes. Or use the Tuya Zigbee 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:** [July 4, 2024, 6:48pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/146 "2024-07-04T18:48:17Z")

</div>

When should we expect devices that we’ve submitted, to start being added please?

---

<div class="post-metadata">

**Author:** ![Ron\_Mone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ron_mone/32/80913_2.png) [@Ron\_Mone](https://community.homey.app/u/Ron_Mone)\
**Post date:** [July 8, 2024, 9:52am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/147 "2024-07-08T09:52:08Z")

</div>

Doekse,

I have the following Tuya devices in my network that I would like to operate via the Homey:

| **Aantal** | **Functie** | **Device ID** | **Product** | **Online Status** |
| --- | --- | --- | --- | --- |
| **1** | Alarmsystem | bf648ba2f34fd1e519h3j7 | STANIOT智慧安全面板TP型V2.0 CB3S | Online |
| **1** | Camera inside | bfd6963676b0d4f47etcjl | 【FH-8626+2006】-P45DF2 无人型，不支持检测移动 | Online |
| **2** | Dual build in dimmer | bf4994fadf5414d960gg1m | NHZS-105B-2路调光模块 | Online |
| **1** | Dual build in switch | bf9d7f8e5b7a4ff125trhs | NHWZ-两路通断104B双模款 | Online |
| **4** | Single build in dimmer | 321728022462ab4dee7b | NHZS-1路调光模块-105 | Online |
| **7** | Single build in switch | bf094f648f28163f1ebgvb | NHWZ-104 通断器双模–二次升级版 | Online |
| **1** | MiBoxer gateway | bf2d304cdc9568e198hxea | 2.4G Gateway | Online |
| **4** | Smart socket | bf896052ae597a57b6vjpa | Aubess Smart Socket EM | Online |
| **1** | Zigbee gateway | bf8c304f9fef5a758ej1kq | Wired Zigbee gateway | Online |
| **1** | Zigbee inbouwschakelaar | bfac6da9f0bec55ba2kbdw | 1CH Zigbee Switch Module-L | Online |

Now I have installed the Homey CLI with the Docker and Javascript, and can also log in to Homey via the Command prompt. However, that’s where it ends, probably something still needs to be done to retrieve further information from the modules, but I have no idea how.

Can I find that somewhere?

I also have a single switch, a double switch, a single dimmer, a double dimmer and a Zigbee switch as a spare in the house, which I can also send to make the adjustments in the app if that is useful.

Yours sincerely,

Ron Moné

---

<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:** [July 8, 2024, 5:43pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/149 "2024-07-08T17:43:00Z")

</div>

Ron,

Create a new issue here (one for each device seems logical)

> [@Peter\_Kawa](#):
>
> Issues can be reported here: [https://github.com/athombv/com.tuya/issues](https://github.com/athombv/com.tuya/issues)

There’s a guide present in the new issue template

I’ll quote it here fyc:

To request a new device, please run the Tuya app locally using Homey CLI.

```bash
$ git clone git@github.com:athombv/com.tuya.git
$ cd com.tuya
$ homey app run 

```

Then pair a ‘Light’, even if your device is not a light. Watch the logging closely for `Device: ` and copy-paste the JSON in this issue.

Without this information, we cannot add support for your device, and the issue will be closed.

For example:

```auto
2024-06-06T14:11:59.852Z [log] [Homey:xxxxxx] [ManagerDrivers] [Driver:light] Device: {"active_time":1717491339,"biz_type":0,"category":"dj","create_time":1717491339,"icon":"smart/icon/bay1582725542891RIK5/42feb5d93f5e13800cf2ade23ea49459.png","id":"xxxxxx","ip":"xxxxxx","lat":"52.25","local_key":"xxxxx","lon":"6.3","model":"SH.63.204","name":"G95 Gold","online":true,"owner_id":"xxxxx","product_id":"xxxxxx","product_name":"G95 Gold","status":[{"code":"switch_led","value":true},{"code":"work_mode","value":"white"},{"code":"bright_value_v2","value":223},{"code":"temp_value_v2","value":0},{"code":"scene_data_v2","value":"{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}"},{"code":"countdown_1","value":0},{"code":"control_data","value":""},{"code":"remote_switch","value":true}],"sub":false,"time_zone":"+02:00","uid":"xxxxxx","update_time":1717671377,"uuid":"xxxxxx"}

```

Finally, please link to more information about the device, e.g. the manufacturer’s website.

---

<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:** [July 8, 2024, 11:09pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/150 "2024-07-08T23:09:16Z")

</div>

Be prepard to wait a few months and for no one to reply to you with a timeline or any information for that matter, regarding the actual process for adding new devices to the app.

---

<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:** [July 8, 2024, 11:55pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/151 "2024-07-08T23:55:30Z")

</div>

(Note: The [Tuya Cloud app](https://community.homey.app/t/app-pro-tuya-cloud/21313) is still available for daily use imho)

Yeah, the Tuya project it seems a bit lost in “the 💃 with LG” maybe 🤷‍♂️  
And remember, this is still just a test app.

@Doekse Any update about “how to write code for a device driver and how to perform a PR for dummies”? 😉

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2024, 4:42am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/152 "2024-07-09T04:42:14Z")

</div>

> [@Peter\_Kawa](#):
>
> Yeah, the Tuya project it seems a bit lost in “the with LG” maybe

Or perhaps Athom has found out that it takes more than just good intentions to actually write and maintain a Homey app 🤷🏼‍♂️

---

<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:** [July 9, 2024, 5:28am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/153 "2024-07-09T05:28:07Z")

</div>

😛 As I understood they hoped we users will write code for requested devices.  
But now with all those millions going round…  
Not very stimulating.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 9, 2024, 6:59am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/154 "2024-07-09T06:59:54Z")

</div>

> [@Peter\_Kawa](#):
>
> As I understood they hoped we users will write code for requested devices.

Like the users did with the previous app? 😂

While a cursory glance in its forum thread would tell them that most users just post a link to Aliexpress and think that’ll be enough to get a device supported.

---

<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:** [July 9, 2024, 7:23am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/155 "2024-07-09T07:23:59Z")

</div>

> [@Peter\_Kawa](#):
>
> 😛 As I understood they hoped we users will write code for requested devices.  
> But now with all those millions going round…  
> Not very stimulating.

Well let’s just wait and see what happens there. I am not too worried.

> [@robertklep](#):
>
> While a cursory glance in its forum Thread would tell them that most users just post a link to Aliexpress and think that’ll be enough to get a device supported.

I did also share some of the JSON strings in the issues. And looking at Github, I am not the only one. Well, for now it is working for some basic features.

---

<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:** [July 9, 2024, 7:47am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/156 "2024-07-09T07:47:51Z")

</div>

Before any wild theories start circulating, here’s an update:

I just wrapped up a meeting with Tuya, and we’re on track to release the first version of our app by the end of this week or the beginning of next week 🎉

With the app, we will also release knowledge base articles that provide in-depth guidance on connecting devices to Homey and requesting new devices via Homey CLI.

For now, we haven’t added any new devices because we want to ensure that the currently available devices work as expected. We’re still resolving some bugs with the lights and plugs.

We’ve also made progress on integrating cameras, but there are limitations. Tuya doesn’t provide access to their snapshots or streams. So, while you can control camera functions like tilt, pan, siren, and zoom, viewing the feed isn’t possible.

After the first release, we’ll start adding new devices in batches. The first batch will likely include the following:

> [@Doekse](#):
>
> We’ve received samples of some heating panels, fans, lights with built-in motion sensors and built-in modules

Stay tuned for more updates, and thank you for your patience! 🙏

---

<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:** [July 9, 2024, 8:13am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/157 "2024-07-09T08:13:44Z")

</div>

Great work! Thanks for the update! Highly appreciated.

> [@Doekse](#):
>
> We’ve also made progress on integrating cameras, but there are limitations. Tuya doesn’t provide access to their snapshots or streams. So, while you can control camera functions like tilt, pan, siren, and zoom, viewing the feed isn’t possible.

Sounds like the current Eufy functionality, right?

---

<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:** [July 9, 2024, 8:16am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/158 "2024-07-09T08:16:48Z")

</div>

I haven’t used that app myself yet, but its functionality seems very familiar indeed.

---

<div class="post-metadata">

**Author:** ![Matteo\_Sulis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matteo_sulis/32/110774_2.png) [@Matteo\_Sulis](https://community.homey.app/u/Matteo_Sulis)\
**Post date:** [July 10, 2024, 12:33pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/159 "2024-07-10T12:33:20Z")

</div>

Is it normal that if I try to add an “Other” Tuya device, even if I already connected the Tuya account, it keeps asking me to conenct instead of letting me select the device? I can see in the SmartLife app that Homey is correctly connected.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 10, 2024, 12:52pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/160 "2024-07-10T12:52:03Z")

</div>

> [@Doekse](#):
>
> We’ve also made progress on integrating cameras, but there are limitations. Tuya doesn’t provide access to their snapshots or streams. So, while you can control camera functions like tilt, pan, siren, and zoom, viewing the feed isn’t possible.

AFAIK Home Assistant supports snapshots and streams with its official TuYa integration (although streams can be a bit of a hit-or-miss depending on the camera model).

Also, it sounds like you’re suggesting that Homey supports video streams?

---

<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:** [July 10, 2024, 12:57pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/161 "2024-07-10T12:57:34Z")

</div>

With ‘connect’ you mean login, or?  
_btw Login should be a one time action when you’re adding your first Tuya device._

Is it similar to this issue?

> <https://github.com/athombv/com.tuya/issues/36>
>
> Logged in to my Tuya app account through Homey and was then able to add two ligh…ts (logged in through add function) but then when I want to add more devices of a different kind I am told to log in again. 
> At the end of log in process I am told I ant tlog in cause I am already logged in. 
> This happened day before yesterday. 
> Today when I want to use the devices I have added they state "Token missing."
> And now when I try and add new device (the only way I know how to log in) I get "New device found - Token is expired (Code 1010)"

> [@Matteo\_Sulis](#):
>
> I can see in the SmartLife app that Homey is correctly connected.

Interesting, didn’t know that info is visible, also in the Tuya Smart app. Thx!

---

<div class="post-metadata">

**Author:** ![Matteo\_Sulis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matteo_sulis/32/110774_2.png) [@Matteo\_Sulis](https://community.homey.app/u/Matteo_Sulis)\
**Post date:** [July 10, 2024, 1:09pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/162 "2024-07-10T13:09:11Z")

</div>

Yes, connecting the account via logging in.  
In smartlife, if you go under settings, account and security, the 1st item under “Authorization management” (sorry I have the app in Italian so I’m not sure what’s that in english).

thanks for the link, I’ll check. EDIT: no it’s different, I get asked Tuya password again and never was able to select any device.

---

<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:** [July 10, 2024, 1:24pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/163 "2024-07-10T13:24:57Z")

</div>

YW.  
I found it already, but I just never opened that screen apparently 😬

Did you try the workaround anyways (it’s free of charge 🤪 )?

> ![Screenshot_20240710-152427_GitHub](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/d/8d2898c0d6862945cc554c3d67d140e234302c83.jpeg)

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

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