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

<div class="post-metadata">

**Author:** ![Dietrich\_Kassner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dietrich_kassner/32/176924_2.png) [@Dietrich\_Kassner](https://community.homey.app/u/Dietrich_Kassner)\
**Post date:** [July 13, 2024, 3:56pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/184 "2024-07-13T15:56:47Z")

</div>

Before yesterday everything works fine. After the update to 1.0 nothing works anymore. Uninstalled the experimental version and installed the first official one, I can’t log into the tuya site. Also tried to change the password and get only ‘Server busy’.

---

<div class="post-metadata">

**Author:** ![johbiraus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johbiraus/32/78856_2.png) [@johbiraus](https://community.homey.app/u/johbiraus)\
**Post date:** [July 13, 2024, 5:22pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/185 "2024-07-13T17:22:57Z")

</div>

Hi,

Until stable version 1.0, all my Tuya devices worked just fine. But now, after the automatic update to stable, all my socket switches have stopped responding with the error message “tuyaSwitches is not iterable”. Bulbs work as expected, but not sockets. Is there anything I can do at my end? I’ve tried restarting the app, as well as rebooting Homey, without luck. I would appreciate not removing any device or reinstalling the app as my devices are already part of somewhat complex flows.

 ![Screenshot_20240713-191829](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/76cd6f3721fa2e7166ea68b13e0c19b493104ff5.png)

---

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

</div>

Nope! Does not work !

Christopher Charpentier

---

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

</div>

I had to remove and re-add the devices.  
It’s not smart to start using devices in your real home set-up from a _test_ app, which doesn’t had a live app yet.

But, no disaster:  
When you save the exact device names before removing them, you can fix your flows with use of this brilliant script:

> [@\[HOW-TO\]\[Pro\]\[Cloud\] - Tool to FIX (advanced) flows after removing and re-adding devices](https://community.homey.app/t/how-to-pro-cloud-tool-to-fix-advanced-flows-after-removing-and-re-adding-devices/65018):
>
> rotating_lightwarning Use at own risk! warning rotating_light Hi, So I just go a new house and wanted to make my Zigbee network a bit better by removing an re-adding my devices so I get a stable network. But the issue with this is you have to fix all your flows. (Ofcourse [Flow Checker App for Homey | Homey](https://homey.app/a/com.athom.flowchecker/) can indicate the broken flows) I made a small script which can help with fixing the flows. So what do you need: Device ID you would like to update - You can get this via t…

I prefer to use this over the"device" ID way.  
Script saved my ass many times!

> [@\[HOW-TO\]\[Pro\]\[Cloud\] - Tool to FIX (advanced) flows after removing and re-adding devices](https://community.homey.app/t/how-to-pro-cloud-tool-to-fix-advanced-flows-after-removing-and-re-adding-devices/65018/1):
>
> [**scripts based on device Name**](https://gist.github.com/martijnpoppen/dcf0b8fd3f7fe63dec087c87dbc66090#file-fix-flows-by-name-js) (Make sure to use unique device names!)

---

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

</div>

Hi,

Can we please at least get a short statement (or a timeline) for when devices that we’ve submitted, will start being added to the app, now that we’ve reached a stable release?

We also desperately need ‘when’ cards for switches.

---

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

</div>

To anyone who can’t login, but ~~refuses to~~ can’t read some older posts, this might work:

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

---

<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, 9:28pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/190 "2024-07-13T21:28:02Z")

</div>

opened it through an incognito tab. still continuously tells me password is incorrect and asks me to switch region

---

<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 13, 2024, 11:25pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/191 "2024-07-13T23:25:36Z")

</div>

Hi Patrick,

The region thing seems to be a new part of the issue.  
Don’t know any tricks for now.

Matteo didn’t mention a password error btw, so you might double check (leading or trailing whitespaces, first letter auto-capitalized by ‘smart’ keyboards).

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

---

<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 14, 2024, 7:37am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/192 "2024-07-14T07:37:38Z")

</div>

Peter,

Thanks for the information. I now have the Homey CLI working, and when I start it I get the accompanying log overview.

In the log overview I also get the switching of the devices that are recognized in the Homey app, but the installation of a new device in Smart Life is not shown in the file.

I have no idea how to proceed. I would like to try to provide Homey with information about the devices so that I can use them in Homey, but also because it may be useful to others.

Yours sincerely,

Ron Mone

**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.

(Attachment Listing.txt is missing)

---

<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 14, 2024, 7:51am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/193 "2024-07-14T07:51:37Z")

</div>

Peter,

Unfortunately, the text was not yet complete and I sent it too early, just an addition.

When I try to add it in Homey, I get the attached addition to the log file. However, it doesn’t seem like this is what is being asked.

Is that correct or is this correct?

Yours sincerely,

Ron Mone

(Attachment Listing\_2.txt is 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:** [July 14, 2024, 12:39pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/196 "2024-07-14T12:39:55Z")

</div>

> [@Ron\_Mone](#):
>
> The email with the two listings was also rejected,

No clue what you mean there. Email, in any possible way, is not involved.  
Did you follow [this](https://community.homey.app/t/tuya-has-officially-joined-the-talks-with-homey-program/106779/169) howto?  
It skips the `git clone` line on purpose, instead you just download the zip (containing the app code) yourself.

I do see when you quote my post, somewhere some software changes the original line:  
`$ git clone git@github.com:athombv/com.tuya.git`

into this line with the made up email link. This is unusable and does NOT work  
`$ git clone [git@github.com:athombv/com.tuya.git](mailto:git@github.com:athombv/com.tuya.git)`

This wouldn’t happen if you put code between a set of ````` signs

It’s also insertable with this button:

> ![Screenshot_20240714-143637_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/b/bb6af45ff252c35d02e3fc478c7a86375e2024d4.jpeg)

Hit the sprocket when it’s not visible:

> ![Screenshot_20240714-143536_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/81ab8dcbd35447056884e87dcc841eee894a77cb.jpeg)

---

<div class="post-metadata">

**Author:** ![CSxx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/csxx/32/79444_2.png) [@CSxx](https://community.homey.app/u/CSxx)\
**Post date:** [July 14, 2024, 3:00pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/197 "2024-07-14T15:00:02Z")

</div>

Hello,  
still the problem to log in to import devices. I have tried all possilbe browsers, private window, restarting of homey device, restarting of new tuya app (including new installation), etc.  
No chance. I am getting the message in a new window that something was getting wrong. Go back to…  
But I have also remarked, that the page [https://openapi.tuyaus.com/](https://openapi.tuyaus.com/) in a separate window is also not accessible for me …  
What is wrong ?  
Thanks a lot for any new ideas…

---

<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 15, 2024, 7:14am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/198 "2024-07-15T07:14:44Z")

</div>

Peter,

Sorry for the confusion, I just replied to the email I received, apparently that didn’t go well. I have the CLI working. When I start adding a new device, I see a large portion of the devices installed in my house in the log file.  
The lines will then look like the ones below, is that the correct format for Homey to include it in the app? I have the impression so, but I had the idea that I would only see one device per installation.  
Yours sincerely,  
Ron Mone

‘’‘2024-07-15T06:55:17.347Z [log] [ManagerDrivers] [Driver:light] Device: {“active\_time”:1613844855,“biz\_type”:18,“category”:“tgq”,“create\_time”:1613844855,“icon”:“smart/device\_icon/eu1612681271073EzPz5/bf4994fadf5414d960gg1m16344574292642.png”,“id”:“bf4994fadf5414d960gg1m”,“ip”:“86.93.121.228”,“lat”:“52.5137”,“local\_key”:“885ce1bf8ffed42e”,“lon”:“5.0739”,“model”:“105B “,“name”:“Keuken/Eettafel”,“online”:true,“owner\_id”:“25513371”,“product\_id”:“kqm0mqzb5zazewsb”,“product\_name”:“WiFi 2Gang Dimmer Module”,“status”:[{“code”:“switch\_led\_1”,“value”:false},{“code”:“bright\_value\_1”,“value”:590},{“code”:“brightness\_min\_1”,“value”:249},{“code”:“led\_type\_1”,“value”:“LED”},{“code”:“switch\_led\_2”,“value”:false},{“code”:“bright\_value\_2”,“value”:296},{“code”:“brightness\_min\_2”,“value”:250},{“code”:“led\_type\_2”,“value”:“LED”},{“code”:“countdown\_2”,“value”:0},{“code”:“work\_mode”,“value”:“white”}],“sub”:false,“time\_zone”:”+01:00”,“uid”:“eu1612681271073EzPz5”,“update\_time”:1721020805,“uuid”:“8fa70e00ab821cc3”}’‘’

---

<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 15, 2024, 9:54am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/199 "2024-07-15T09:54:05Z")

</div>

> [@Ron\_Mone](#):
>
> I just replied to the email I received

Gotcha  
Probably the forum engine auto-created an email link from the git clone command

About what to filter out of the logs, this is all there is to it:

> [@Peter\_Kawa](#):
>
> 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.

It is just the common app log we use here, not a tool; so all of your devices can show up in there.

To me it looks you found the needed JSON code, and should be ok to add to a device request at github

---

<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 15, 2024, 11:26pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/200 "2024-07-15T23:26:00Z")

</div>

20 days since this post about a development agency helping with additional devices, but none are actually being added.

Can you explain what this means from an operational perspective please?

Why bother telling us about the ‘agency’ in the first place? Why not just wait until there was a process in place that could actually be delivered within a practical time frame.

---

<div class="post-metadata">

**Author:** ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)\
**Post date:** [July 16, 2024, 1:55pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/201 "2024-07-16T13:55:50Z")

</div>

Have you check the GIT and do a CLI install to see if your device is added, or submit a device report for them to integrate. Unless your device is common, and they have access to it now, it will take some time to implement it. Consensus is to integrate the first few typical lights and switches, then the other more specialised items. You can try adding a TUYA “other” device type and send code to test it out first.

If you are expecting a stable release, I think it’s fair to wait till the beta testers have a go at it.

---

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

</div>

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

Aaaahhh, It’s a slightly transparent screen. Behind it, it says  
**“The account password does not match. Please re-enter the password or try to switch the version”**

With “version”, they mean TuyaSmart or SmartLife probably  
It had been a good idea when you added that info right away.

So, did you select the correct corresponding mobile app?  
Also make sure no whitespaces exist in front or at the end of the entered pw  
Make sure the first letter hasn’t been auto-corrected to a capital.  
Else,  
temporarily change the password to a really simple one, like `123abc` and try again.  
If login succeeds now, you know what the problem was.

---

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

</div>

Four days ago, we launched the first release of the Tuya App for Homey, which includes numerous bug fixes developed by the agency. 😉

> [@Doekse](#):
>
> 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.

As mentioned last week, our first priority was to ensure that the current devices operate as expected.

We are now developing a method to handle device requests without requiring Homey CLI installation. Our current plan is to publish the log to the advanced device settings, but this is still a work in progress.

Once this is completed, we will begin adding more device types, starting with those we have samples of, as we can test these devices before updating the app.

Following that, we will address the various device requests submitted on GitHub. Since we can’t test these devices during development, we will likely publish them to a test version of the app for community testing. Based on your feedback, we will then push the updates live. 🙌

Please note that with summer holidays approaching, our development pace might slow down until mid-August. I will be out of the office myself from July 24th to August 14th. 🙏

---

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

</div>

I changed the password, I even used the QR code login, and yes I selected the right app (smart life) it simply doesn’t work.

---

<div class="post-metadata">

**Author:** ![Dietrich\_Kassner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dietrich_kassner/32/176924_2.png) [@Dietrich\_Kassner](https://community.homey.app/u/Dietrich_Kassner)\
**Post date:** [July 16, 2024, 8:25pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/205 "2024-07-16T20:25:10Z")

</div>

Same here. Also tryed to change password. Only get 'Server busy '.

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

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