# \[APP\]\[Pro\] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud

**URL:** <https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313>\
**Category:** Apps\
**Tags:** app, unofficial, wifi, homey-pro\
**Created:** [November 25, 2019, 5:31pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313 "2019-11-25T17:31:12Z")\
**Posts on this page:** 20\
**Page:** 39

<div class="post-metadata">

**Author:** ![Herby](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/herby/32/18257_2.png) [@Herby](https://community.homey.app/u/Herby)\
**Post date:** [July 17, 2022, 11:45am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/775 "2022-07-17T11:45:15Z")

</div>

Hello Peter,

It suddenly works spontaneously, but only with the scene legacy command

 ![scene](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b784621b36ef7faa72de379457c5251c1b5d945.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 17, 2022, 10:41pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/776 "2022-07-17T22:41:48Z")

</div>

I was going to ask: what setting u use at the app config’s `authentication settings`  
At `Choose desired api(s)`, did you select `legacy and official`?

Did you hit `Refresh scenes` at the bottom of the config page? (Or restarted the app?)

btw I have it set at `use official only` while I don’t want to use legacy devices anymore.

---

<div class="post-metadata">

**Author:** ![jpcams](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpcams/32/41095_2.png) [@jpcams](https://community.homey.app/u/jpcams)\
**Post date:** [July 18, 2022, 5:37am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/777 "2022-07-18T05:37:55Z")

</div>

Wondering if you got the airco connected to Homey? I have one in the Smart Life app that I would also like to connect.

---

<div class="post-metadata">

**Author:** ![AdrianLiteAuto](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrianliteauto/32/8740_2.png) [@AdrianLiteAuto](https://community.homey.app/u/AdrianLiteAuto)\
**Post date:** [July 22, 2022, 9:09am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/779 "2022-07-22T09:09:59Z")

</div>

Hello, not sure if this has been asked earlier, i did look through a lot of these comments. But I can not seem to add contact sensors. When I add a device, i get these options only.  
No way to add a contact sensor via the other devices either. PIR sensors work and relay/switches. Latest app and firmware. Tuya latest also.

 ![Screenshot_Tuya App1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed97b4fb6e1d3466f09b83a6893ceb41bf451699.jpeg)  
Any help would be gratefull, thank you

---

<div class="post-metadata">

**Author:** ![Rick\_Delput](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rick_delput/32/56448_2.png) [@Rick\_Delput](https://community.homey.app/u/Rick_Delput)\
**Post date:** [July 22, 2022, 11:20am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/780 "2022-07-22T11:20:44Z")

</div>

Hi  
in the tuya iot is my device not showing up,  
my account is connected and i can control it with the homey only the rgb isn’t working

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

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c2fecb468a6e0b58d35278bad99607f5281b6635.jpeg)

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 22, 2022, 2:47pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/781 "2022-07-22T14:47:41Z")

</div>

Copy last message from PB:  
“You are still using old API. The old API is depricated. The old API is not supporting color for your type of light, only new API supports this. Plz read first post on forum thread about new API and follow instructions carefully. There are also several links in the forum thread to a good howto and details about issues and solutions.”

- [if you-are-already used this app the existing devices will still use the old api](https://community.homey.app/t/app-pro-tuya-cloud/21313#if-you-are-already-used-this-app-the-existing-devices-will-still-use-the-old-api-6)
- [setup homey for new device types](https://community.homey.app/t/app-pro-tuya-cloud/21313#setup-homey-for-new-device-types-5)

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 24, 2022, 11:18am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/782 "2022-07-24T11:18:02Z")

</div>

There is a new test version live. In the new version the pressence sensor is added by @Adrian_Rockall🙂

---

<div class="post-metadata">

**Author:** ![bayrambass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bayrambass/32/41905_2.png) [@bayrambass](https://community.homey.app/u/bayrambass)\
**Post date:** [July 27, 2022, 2:00pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/783 "2022-07-27T14:00:04Z")

</div>

Smart Life should work the same as Tuya.

I found the problem for myself. I was using everything correctly except the datacenter. That fixed the “Please configure app first” problem for me.

I found [this site](https://github.com/tuya/tuya-home-assistant/blob/main/docs/regions_dataCenters.md) which has the right information for datacenter linked to country. I was using Western Europe in Tuya IOT. I changed to Central Europe and it worked,

---

<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 27, 2022, 3:48pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/784 "2022-07-27T15:48:21Z")

</div>

Idk, but the datacenter link is just in the manual at post [#1](https://community.homey.app/t/app-pro-tuya-cloud/21313)

 ![Screenshot_20220727-170501_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/7/474eacd5f0403465719f1feabffd6ceb2dee7734.jpeg)

---

<div class="post-metadata">

**Author:** ![Grzegorz\_Zalewski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grzegorz_zalewski/32/58310_2.png) [@Grzegorz\_Zalewski](https://community.homey.app/u/Grzegorz_Zalewski)\
**Post date:** [July 30, 2022, 12:43am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/785 "2022-07-30T00:43:50Z")

</div>

Hi @Jurgen_Heine I play a bit with code base this evening and I add new two devices.  
Air conditioner and smart star projector.

It’s my first steps in homey app, still don’t know how to properly debug apps

> <https://github.com/zalewskigrzegorz/com.tuya.cloud/commit/ee142150eae7523d41f865b7897c7277c2dc8409>

Star projector for now is just a copy of lights. But air conditioner kind works. I can send commands, but state is not refreshed when I turn AC by remote. Will try to fix it soon. Anyway. Can I create PR to your repo and ask for review when everything will be working and ready?

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 30, 2022, 9:54am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/786 "2022-07-30T09:54:59Z")

</div>

Thank you @Grzegorz_Zalewski, I like contributions to my app. When it’s finished I will of course look at the pull request. The getting started guide of Homey is good start to read: [Getting Started - Homey Apps SDK](https://apps.developer.homey.app/the-basics/getting-started). If you have installed Homey sdk on your node.js environment, you have to navigate into your node.js command prompt to root folder of the Tuya app on your machine. Then you can run the Homey commands. If you are using Visual Studio Code, you can attach the debuger after running the app on your Homey. When attached, you can set breakpoints and it can also break on errors. This last part I resently find out thanks to @Adrian_Rockall. One thing more, log as much as possible. All the logging is send when someone has a problem with app en sends a diagnostics report. Otherwise it’s verry hard to find problems.

---

<div class="post-metadata">

**Author:** ![Grzegorz\_Zalewski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grzegorz_zalewski/32/58310_2.png) [@Grzegorz\_Zalewski](https://community.homey.app/u/Grzegorz_Zalewski)\
**Post date:** [July 30, 2022, 11:12am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/787 "2022-07-30T11:12:03Z")

</div>

Thanks @Jurgen_Heine I will try to fallow the rules.  
I was able to connect debugger to WebStorm

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/3038eb1b9b55ab0894b6ef30ada42654098956ba.jpeg)  
(My OS previously block a port, quick restart helps)  
And also AC works  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/c/3cd9b555171192ceb5f0c6736ac843e0a2e1f9eb.jpeg)  
Now with working debugger I realize I don’t have updateCapabilities method 😃  
I also recommend connecting homey via USB is much faster.  
Thanks again, I will update you about my progress.

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 30, 2022, 11:39am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/788 "2022-07-30T11:39:51Z")

</div>

Good job 👍

---

<div class="post-metadata">

**Author:** ![Grzegorz\_Zalewski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grzegorz_zalewski/32/58310_2.png) [@Grzegorz\_Zalewski](https://community.homey.app/u/Grzegorz_Zalewski)\
**Post date:** [July 30, 2022, 11:25pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/789 "2022-07-30T23:25:44Z")

</div>

Just created PR to your repo. Please let me know if I should move it to APIv3 branch.  
Driver works well, tested on two different devices.

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 31, 2022, 11:18am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/790 "2022-07-31T11:18:21Z")

</div>

Just approved pull request, thanks for adding the device 😃 👍. I have merged it to APIV3 branch, some small conflicts, but quickly solved. I can’t publish it to test yet, validation is failing on image size of large image. This should be 500x500 and is now 800x800. I will look to it this evening I think.

---

<div class="post-metadata">

**Author:** ![Jurgen\_Heine](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jurgen_heine/32/15323_2.png) [@Jurgen\_Heine](https://community.homey.app/u/Jurgen_Heine)\
**Post date:** [July 31, 2022, 11:49am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/791 "2022-07-31T11:49:17Z")

</div>

New test version live with added airconditionor by @Grzegorz_Zalewski 🙂

---

<div class="post-metadata">

**Author:** ![Grzegorz\_Zalewski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grzegorz_zalewski/32/58310_2.png) [@Grzegorz\_Zalewski](https://community.homey.app/u/Grzegorz_Zalewski)\
**Post date:** [July 31, 2022, 10:42pm UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/792 "2022-07-31T22:42:40Z")

</div>

Hi @Jurgen_Heine

Some small fixes waiting on PR  
Fix for three issues

- Measure\_temperature is now displayed in UI
- Thermostat color changes depending on the mode or temperature in auto mode.
- Now works on Apple HomeKit thanks to thermostat mode IDs mapping

NOTE! Devices need to be removed and added again, because of capabilities name changes.

I promise no more PR in this week 😃

---

<div class="post-metadata">

**Author:** ![thierry\_arguimbau](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thierry_arguimbau/32/155444_2.png) [@thierry\_arguimbau](https://community.homey.app/u/thierry_arguimbau)\
**Post date:** [August 1, 2022, 12:21am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/793 "2022-08-01T00:21:33Z")

</div>

Hello,  
Tuya Cloud does not detect an air conditioner controlled by an IR Wi-Fi or IR Zigbee remote. Can you see if this is possible in the future?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [August 1, 2022, 10:05am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/794 "2022-08-01T10:05:19Z")

</div>

Are you using the latest test version that has the AC mods done by @Grzegorz_Zalewski ?

---

<div class="post-metadata">

**Author:** ![Grzegorz\_Zalewski](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/grzegorz_zalewski/32/58310_2.png) [@Grzegorz\_Zalewski](https://community.homey.app/u/Grzegorz_Zalewski)\
**Post date:** [August 1, 2022, 10:29am UTC](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313/795 "2022-08-01T10:29:42Z")

</div>

I assume IR Wi-Fi or IR Zigbee remote Is a universal remote controller. In this case, API allow only to send the commands names to remote. Without option to read the device status. It’s a good idea to look into it but this need to be separate device and driver with class remote

[Previous page](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313.md?page=38)

[Next page](https://community.homey.app/t/app-pro-tuya-cloud-this-app-allows-you-to-connect-homey-to-the-tuya-cloud/21313.md?page=40)
