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

<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:49pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/164 "2024-07-10T13:49:45Z")

</div>

Apparently no…

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

---

<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:52pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/165 "2024-07-10T13:52:39Z")

</div>

Tried ‘Switch region’?

---

<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:53pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/166 "2024-07-10T13:53:40Z")

</div>

yes, but China doesn’t work, and I’m pretty sure I’m on international…

---

<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, 2:04pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/167 "2024-07-10T14:04:56Z")

</div>

I never saw that screen. No you’d not select China. Is International the only other option?  
I’d also recommend to file an issue @ [https://github.com/athombv/com.tuya/issues/new](https://github.com/athombv/com.tuya/issues/new)

---

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

</div>

Peter,

It is precisely with the commands below that things go wrong:

I can log in to Homey:

 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ace0cd67e4c46f2994fe0ce76533f6b0dbf34b89.png)

But when I then try to execute the commands below, I only get error messages. Apparently my knowledge is too limited and something else needs to be done, but I have no idea how.

![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85016faae41417770eb7446e81cc3c122eba1e43.png)

I’ve tried different ways, but I only get error messages. I also tried installing the app from a local directory, but this won’t work either.

With regard,

Ron Moné

**Verzonden:** maandag 8 juli 2024 19:53

> ![](https://sea1.discourse-cdn.com/flex015/user_avatar/community.homey.app/peter_kawa/45/109090_2.png)  
>   
> |   
>   
> [**Peter\_Kawa**](https://community.homey.app/u/peter_kawa) Regular  
> July 8  
>   
> |
> 
> - | - |

Ron,

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

> ![](https://sea1.discourse-cdn.com/flex015/user_avatar/community.homey.app/peter_kawa/48/109090_2.png)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.

```auto
$ git clone [git@github.com:athombv/com.tuya.git](mailto:git@github.com:athombv/com.tuya.git)

```

```auto
$ cd com.tuya

```

```auto
$ 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:** ![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, 2:27pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/169 "2024-07-10T14:27:28Z")

</div>

You can also download the app

> ![Screenshot_20240710-162500_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/f/ff698d93f28bd2d53270609d6895ba9e5525f19e.jpeg)

- Direct Link [here](https://github.com/athombv/com.tuya/archive/refs/heads/master.zip)

- Unzip the downloaded zip file

- then open a cmd screen and change directory to the unpacked tuya.com-master directory  
`cd /path/to/tuya.com-master`

- And then:  
`homey app run`

---

<div class="post-metadata">

**Author:** ![HScholing](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hscholing/32/106813_2.png) [@HScholing](https://community.homey.app/u/HScholing)\
**Post date:** [July 12, 2024, 1:35pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/170 "2024-07-12T13:35:42Z")

</div>

Will energy consumption being added for Smartplugs? This is visible in my Tuya app, but not in this app.

---

<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 12, 2024, 1:47pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/171 "2024-07-12T13:47:08Z")

</div>

Should be available in the first [stable release](https://homey.app/a/com.tuya/) 😉

---

<div class="post-metadata">

**Author:** ![Alexander\_Jeppsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alexander_jeppsson/32/79352_2.png) [@Alexander\_Jeppsson](https://community.homey.app/u/Alexander_Jeppsson)\
**Post date:** [July 12, 2024, 2:17pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/172 "2024-07-12T14:17:05Z")

</div>

Is there any way to change the setting in the cloud project that is created when linking the tuya account? I have an aircon which gives me some options for flows when used a “other” device.  
But it´s missing a few. I have my own project for the tuya cloud app and in the project I can change the settings for the device in the Configure Control Instruction Mode to be DP Instruction which gives me all options available…

---

<div class="post-metadata">

**Author:** ![HScholing](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hscholing/32/106813_2.png) [@HScholing](https://community.homey.app/u/HScholing)\
**Post date:** [July 12, 2024, 2:50pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/173 "2024-07-12T14:50:34Z")

</div>

Already running 1.0 stable version but no energy consumption visible. I will try again installing this version again as I installed it directly and did not remove the testversion first. Maybe something is going wrong here. Thanks for the update!

---

<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 12, 2024, 4:21pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/174 "2024-07-12T16:21:11Z")

</div>

In my case after installing 1.0 a lot wasn’t responding. Restarted the Homey and everything seems to be fine.

---

<div class="post-metadata">

**Author:** ![Christopher\_Charpent](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christopher_charpent/32/82452_2.png) [@Christopher\_Charpent](https://community.homey.app/u/Christopher_Charpent)\
**Post date:** [July 12, 2024, 4:31pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/175 "2024-07-12T16:31:54Z")

</div>

Using stable 1.0  
Cannot authentify when trying to add device when you are supposed to open the authentication for Tuya api  
Get the message : {“success”:false,“message”:“OAuth2 Session Already Used”}

---

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

</div>

Will there also be coming support for roller blinds / curtains motors like a roller shutter _Roller shutter with string_

---

<div class="post-metadata">

**Author:** ![Marius\_Stensrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_stensrod/32/56540_2.png) [@Marius\_Stensrod](https://community.homey.app/u/Marius_Stensrod)\
**Post date:** [July 12, 2024, 5:42pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/177 "2024-07-12T17:42:57Z")

</div>

I get a similar message @Christopher_Charpent when using “my.homey.app”:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0d3966e28474fe98076f224108d2051d4c5f750.png)

When using the mobile app, I log-in and agree to the terms to share information with Homey, it says I can close the window and the app still “spins the wheel” for Log-in to Tuya.

As a information, i use Smartlife.

@Doekse , there has to be a bug somewhere. I have tried on the latest “experimental” and now the “Stable” 1.0.0, same experience.

---

<div class="post-metadata">

**Author:** ![calabuta](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/calabuta/32/80178_2.png) [@calabuta](https://community.homey.app/u/calabuta)\
**Post date:** [July 12, 2024, 9:49pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/178 "2024-07-12T21:49:47Z")

</div>

Had the exact same problem

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [July 12, 2024, 9:57pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/179 "2024-07-12T21:57:08Z")

</div>

I’m also having problems logging in.  
with the Android app I am able to connect to Smart Life and receive messages now you can close this window, but if I close the browser the app remains waiting for the connection. if I use the browser app I get the message that something went wrong and that’s it. Anyone have any suggestions? I tried with different browsers, in private mode and not, but nothing changes

---

<div class="post-metadata">

**Author:** ![Johanneso](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanneso/32/70273_2.png) [@Johanneso](https://community.homey.app/u/Johanneso)\
**Post date:** [July 12, 2024, 10:54pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/180 "2024-07-12T22:54:47Z")

</div>

I had the same issue. A reboot of the Tuya app solved it.

---

<div class="post-metadata">

**Author:** ![Marius\_Stensrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_stensrod/32/56540_2.png) [@Marius\_Stensrod](https://community.homey.app/u/Marius_Stensrod)\
**Post date:** [July 13, 2024, 5:54am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/181 "2024-07-13T05:54:29Z")

</div>

I have tried reboot of both the app and Homey, before I made the post.

---

<div class="post-metadata">

**Author:** ![HScholing](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hscholing/32/106813_2.png) [@HScholing](https://community.homey.app/u/HScholing)\
**Post date:** [July 13, 2024, 12:58pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/182 "2024-07-13T12:58:56Z")

</div>

Update: still not visible at my side. Anybody else where this is working?

---

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

</div>

Nope. Also here. used to be functional in 0.7. with 1.0 I can’t log in anymore

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

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