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

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

</div>

No this is correct. The confusion is Dutch vs English.

7.001 in english is 7, in dutch 7001  
7,001 in english is 7001 in dutch 7

so the 7.313kW is 7313W

Sorry, I also misread (too old here…) it states 7.313W not 7.313kW  
So you are correct it is wrong on the second picture.

The first screen the wording is Dutch, but the notations are English…  
the second screen all is in English, and fully correct

---

<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 20, 2024, 10:08am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/227 "2024-07-20T10:08:29Z")

</div>

Not sure if I understand you correctly, but in the several screen shots sometimes the point is used as a decimal separator and sometimes as a thousands separator. So, yes something is “wrong”. Calling it a major issue is sarcastic in my opinion

---

<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 20, 2024, 11:42am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/228 "2024-07-20T11:42:29Z")

</div>

Of course it won’t speed anything up, but perhaps it will open eyes to the very poor methodology used in this case and it won’t be repeated for further integrations in the future.

---

<div class="post-metadata">

**Author:** ![Bud\_M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bud_m/32/97809_2.png) [@Bud\_M](https://community.homey.app/u/Bud_M)\
**Post date:** [July 20, 2024, 2:17pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/229 "2024-07-20T14:17:51Z")

</div>

> [@Glenn\_Seegers](#):
>
> Yikes, from the wiki you linked, i am glad i don’t have tuya devices😬
> 
> In 2021, multiple media outlets reported an investigation by cybersecurity firm Dark Cubed, suggesting that Tuya’s network-connected devices are subject to China’s [Data Security Law](https://en.m.wikipedia.org/wiki/Data_Security_Law_of_the_People%27s_Republic_of_China), and “are woefully insecure and sending data to China.”

Yes. The cares the bejeebers out of me as well!

---

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

</div>

Good for you

---

<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 21, 2024, 8:30am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/236 "2024-07-21T08:30:33Z")

</div>

Peter,

Thank you very much for the help. I have submitted the data for 8 devices, now let’s wait and see what happens.

Greetings Ron

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [July 21, 2024, 6:11pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/240 "2024-07-21T18:11:39Z")

</div>

Hello,

I can’t login anymore. I tried to switch regions and I get the same error every time.

![Screenshot 2024-07-21 at 21.09.34](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f454f9fe5925393f11d8937984d117ac7ae3eec2.png)

---

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

</div>

Nothing will happen Ron, you’ll be waiting for months like the rest of us.

---

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

</div>

Sorry, but it’s already very clear you are disappointed about Athom not doing what you expect. You don’t have to repeat yourself every day…

> [@deejayreissue](#):
>
> like the rest of us

It’ll be nice when you speak for yourself, and send your griefs and frustrations to homey.app/support.

---

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

</div>

This is a community forum, we should be honest and open with each other.  
I am happy to take on board your criticism in good spirit.

This doesn’t change my point and I felt it was necessary to set Ron’s expectations, as no one else appears willing to do so.

Sending my frustrations to support won’t solve anything. Their customer service team will just have to be on the receiving end of their superior’s lack of operational expertise.

---

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

</div>

A fix is already in the works! When measuring power, each plug uses an undetermined multiplier to show the correct power measurements. For example, the plug “sees” 7313, and the multiplier adjusts that to 7,313 Watts.

However, the Tuya Gods in all their wisdom have decided to use different multipliers for different brands of plugs. The bug fix will allow you to choose the multiplier yourself 😉

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 22, 2024, 3:58pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/245 "2024-07-22T15:58:39Z")

</div>

Afaik the device definition provides the multipler. So it can be used while pairing to preset the value in the device. A setting option would be nice nevertheless.

> <https://github.com/jurgenheine/com.tuya.cloud/blob/master/drivers%2Fheater%2Fdriver.js#L45>

In this example, it’s the scale attribute used to calculate min\_max/step based on the scale. And it’s stored in device store to calculate temperatures.

@Doekse

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [July 23, 2024, 8:12am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/246 "2024-07-23T08:12:57Z")

</div>

nobody can advise on the login issue?

---

<div class="post-metadata">

**Author:** ![Christian\_Mous](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian_mous/32/81900_2.png) [@Christian\_Mous](https://community.homey.app/u/Christian_Mous)\
**Post date:** [July 23, 2024, 9:16am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/247 "2024-07-23T09:16:35Z")

</div>

Also have the same issue. Sometimes it replies with ‘sign in error, contact admin’. Hope there will be a fix soon so i don’t have to use the workaround with Tuya cloud.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [July 23, 2024, 10:20am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/248 "2024-07-23T10:20:32Z")

</div>

FWIW, I tried using the web app to add my first SmartLife device. As previous occasions (with both the web and Android apps) I could not get it to accept my email or phone with the right password. I was about to give up when I decided to try using Chrome instead of Microsoft Edge.

Under Edge I was offered two region choices: International ([tuyaus.com](http://tuyaus.com), I think) and China ([tuyacn.com](http://tuyacn.com)). Neither worked. Under Chrome it went straight to server [tuyaeu.com](http://tuyaeu.com) and I got in!

I don’t think it’s a difference between the two browsers because they share the same engine. It might be because I have NordVPN active for Chrome, but not Edge.

Anyhow, if you registered for Europe, you might try changing the server manually if you don’t see the ‘Europe’ option.

Andy

---

<div class="post-metadata">

**Author:** ![Bruno\_Paques](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bruno_paques/32/79318_2.png) [@Bruno\_Paques](https://community.homey.app/u/Bruno_Paques)\
**Post date:** [July 23, 2024, 10:26am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/249 "2024-07-23T10:26:25Z")

</div>

Tuya Motion detection stay always in “detection” , even 13 Hours after the first one (when i add the device)

 ![Capture d’écran 2024-07-23 à 12.23.33](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9bdb4c93e237393143dc20ccc38530fd7902ca7f.jpeg)  
 ![Capture d’écran 2024-07-23 à 12.23.23](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12b7e55f254510a1734d784f1ba856227573e219.jpeg)

---

<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 23, 2024, 10:29am UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/250 "2024-07-23T10:29:08Z")

</div>

> [@Bruno\_Paques](#):
>
> Motion detection stay always in “detection”

Reported already 6w ago, but marked as solved without a fix:

> <https://github.com/athombv/com.tuya/issues/5>
>
> When LSC PIR is added as new Homey device, the motion alarm is on right away. 
> N…othing changes when motion is detected. 
> (Note: exact same behaviour as in Home Assistant
> \[Tuya integration\](https://github.com/home-assistant/core/issues/58634); it records motion events however, but never gets cleared)
> 
> Temp fix: add virtual sockets with a iot.tuya.com developer account, \[go to this site\](https://developer.tuya.com/en/docs/iot/manage-virtual-devices?id=Ka4725tiyfhg0), 
> with Tuya phone app, have the PIR switch the socket on/off, now you can use that socket as 'sensor' in HA / Homey.
> 
> !\[Screenshot\_20240605-231427\_Homey.jpg\](https://github.com/athombv/com.tuya/assets/74005072/b5b8ce8b-c25e-42ba-befb-854fbd22f738)
> 
> !\[Screenshot\_20240605-231444\_Homey.jpg\](https://github.com/athombv/com.tuya/assets/74005072/aa46bf80-5185-4309-a1ad-1e98e32409a5)
> 
> The mobile TuyaSmart app registers motion correctly
> !\[Screenshot\_20240605-232326\_Tuya Smart.jpg\](https://github.com/athombv/com.tuya/assets/74005072/608f39d5-4265-423f-b320-10db1ef20462)

> <https://github.com/athombv/com.tuya/issues/7>
>
> At some point, the Tuya Cloud stops sending messages. We are trying to understan…d why this happens and will then work on a fix.

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [July 23, 2024, 12:00pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/251 "2024-07-23T12:00:11Z")

</div>

I just used the ‘Other’ driver to add a couple of devices and was able to add them to flows successfully using the associated cards. Worked well for me because the codes I needed were provided in the card’s drop down.

When I look at the device in the Homey developer tools, I see a chunk of slash-escaped JSON under Settings/deviceSpecification. Putting that text through an [‘unescape’ page](https://onlinestringtools.com/unescape-string) I get:

```auto
 "device": {
 "active_time": 1705156292,
 "biz_type": 18,
 "category": "tdq",
 "create_time": 1705156292,
 "icon": "smart/icon/ay1521618643672lvY0O/09169141a15e708d9bd1559cce74c82b.png",
 "id": "bfc20dd880dfadd6e8ltrs",
 "ip": "86.165.239.159",
 "lat": "50.79",
 "local_key": "sVyD':%#^]3%BeR6",
 "lon": "-0.99",
 "model": "",
 "name": "USB switch",
 "online": true,
 "owner_id": "11054790",
 "product_id": "flcvzjtnkhsreazp",
 "product_name": "",
 "status": [
 {
 "code": "switch_1",
 "value": false
 },
 {
 "code": "countdown_1",
 "value": 0
 },
 {
 "code": "test_bit",
 "value": 0
 },
 {
 "code": "relay_status",
 "value": "2"
 },
 {
 "code": "random_time",
 "value": ""
 },
 {
 "code": "cycle_time",
 "value": ""
 }
 ],
 "sub": false,
 "time_zone": "+00:00",
 "uid": "eu1584011896823Zmpri",
 "update_time": 1721210722,
 "uuid": "cbb16e166d1bdcb6"
 },
 "specifications": {
 "category": "tdq",
 "functions": [
 {
 "code": "switch_1",
 "desc": "{}",
 "name": "开关1",
 "type": "Boolean",
 "values": "{}"
 },
 {
 "code": "countdown_1",
 "desc": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}",
 "name": "开关1倒计时",
 "type": "Integer",
 "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
 },
 {
 "code": "relay_status",
 "desc": "{\"range\":[\"0\",\"1\",\"2\"]}",
 "name": "上电状态设置",
 "type": "Enum",
 "values": "{\"range\":[\"0\",\"1\",\"2\"]}"
 },
 {
 "code": "random_time",
 "desc": "{\"maxlen\":255}",
 "name": "随机定时",
 "type": "String",
 "values": "{\"maxlen\":255}"
 },
 {
 "code": "cycle_time",
 "desc": "{\"maxlen\":255}",
 "name": "循环定时",
 "type": "String",
 "values": "{\"maxlen\":255}"
 }
 ],
 "status": [
 {
 "code": "switch_1",
 "name": "开关1",
 "type": "Boolean",
 "values": "{}"
 },
 {
 "code": "countdown_1",
 "name": "开关1倒计时",
 "type": "Integer",
 "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
 },
 {
 "code": "test_bit",
 "name": "产测结果位",
 "type": "Integer",
 "values": "{\"min\":0,\"max\":5,\"scale\":0,\"step\":1}"
 },
 {
 "code": "relay_status",
 "name": "上电状态设置",
 "type": "Enum",
 "values": "{\"range\":[\"0\",\"1\",\"2\"]}"
 },
 {
 "code": "random_time",
 "name": "随机定时",
 "type": "String",
 "values": "{\"maxlen\":255}"
 },
 {
 "code": "cycle_time",
 "name": "循环定时",
 "type": "String",
 "values": "{\"maxlen\":255}"
 }
 ]
 }
}"

```

That looks an awful lot like the JSON people have been posting to github and I didn’t have to work with CLI. Would that be acceptable?

Andy

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [July 23, 2024, 12:13pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/252 "2024-07-23T12:13:34Z")

</div>

> [@Andy\_Henderson](#):
>
> Would that be acceptable?

To answer my own question, I see that, when adding the issue at github, that’s what the instructions say. I’ve left my note in the discussion because I didn’t find a post saying we no longer have to use the CLI.

Andy

---

<div class="post-metadata">

**Author:** ![Dag\_Gulbrandsrud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dag_gulbrandsrud/32/71759_2.png) [@Dag\_Gulbrandsrud](https://community.homey.app/u/Dag_Gulbrandsrud)\
**Post date:** [July 23, 2024, 1:44pm UTC](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779/254 "2024-07-23T13:44:17Z")

</div>

Copy that - have the exact same issue and have tried everyting

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

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