# \[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:** 1
**Showing post:** 187

<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!)

---

_[View the full topic](https://community.homey.app/t/app-tuya-connect-any-tuya-device-with-homey-by-tuya-inc-athom/106779)._
