# \[APP\]\[Pro\] TuyAPI / Neo Coolcam wall plug WIFI app

**URL:** <https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811>\
**Category:** Apps\
**Tags:** app, wifi, homey-pro\
**Created:** [July 20, 2019, 1:22pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811 "2019-07-20T13:22:50Z")\
**Posts on this page:** 20\
**Page:** 16

<div class="post-metadata">

**Author:** ![Pairis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pairis/32/56439_2.png) [@Pairis](https://community.homey.app/u/Pairis)\
**Post date:** [January 12, 2024, 8:18am UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/320 "2024-01-12T08:18:29Z")

</div>

Hi @Rens_Brandwijk,

I tried to add a smart plug with metering, but got stuck in the pairing of your Homey app.

 ![WhatsApp Image 2024-01-12 at 09.15.01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/18a9d3d67d4b280e0e0dd257b97171a0f3e38bae.jpeg)

What Am I doing wrong?

---

<div class="post-metadata">

**Author:** ![homify](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homify/32/95781_2.png) [@homify](https://community.homey.app/u/homify)\
**Post date:** [January 16, 2024, 7:00pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/321 "2024-01-16T19:00:25Z")

</div>

Hi all

Well, I thought that it would be nice, to add some Zigbee Plugs zu Homey and ordered an ‘Nous Smart ZigBee Socket A1Z’ and some ‘Hombli Smart Socket’, since they both support Tuya.

In the mean time I setup an developer account at [iot.tuya.com](https://iot.tuya.com/) based on the instruction [tuyapi/docs/SETUP.md at master · codetheweb/tuyapi · GitHub](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md).

As I understand, the command line part (7.) is no more necessary and the ‘api key’, api secret (password), random devicekey and Region can put into the Homey App ‘Tuya v3.1.1’. This is what I did.

As soon as I’m trying to add the ‘Noun A1Z’ device in Homey Pro, I get the following error message in the Homey app:

- 1106: permission deny

Just double checket all my setup, but can’t currently find the reason for this issue.

Any idea, how to fix this issue?

---

<div class="post-metadata">

**Author:** ![homify](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homify/32/95781_2.png) [@homify](https://community.homey.app/u/homify)\
**Post date:** [January 22, 2024, 6:34pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/322 "2024-01-22T18:34:49Z")

</div>

Hi @Rens_Brandwijk & Community

Still trying to solve my issue “1106: permission deny” while trying to add my first Zigbee device in Homey.

Some questions:

1. What exactly do I have to add under “Random devicekey” in the Tuya Homey app?
2. Am I right, that I should be able to add a Tuya Zigbee device to Homey Tuya app **without** using Smart Life or the Tuya Smart app?

I know, very basic questions… 😉

---

<div class="post-metadata">

**Author:** ![dudu\_95](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dudu_95/32/93061_2.png) [@dudu\_95](https://community.homey.app/u/dudu_95)\
**Post date:** [January 24, 2024, 5:32pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/323 "2024-01-24T17:32:41Z")

</div>

Hello,

I bought this product (Smart Life Tuya-Contrôleur WiFi RVB, ), and it is well installed on Smart Life, functioning correctly. I tried to install the Tuya application and follow the procedure, but it didn’t work. I find it complicated to set up. Additionally, Tuya blocked my Homey Pro 2023. Nothing was working anymore, even after restarting the box. I couldn’t even access the management console via a Mac. I had to delete Tuya through the iOS app, fortunately, it still worked. I was lucky because I thought I had to do a restore.

My question is: Is it really necessary to go through this procedure to use this product [https://fr.aliexpress.com/item/1005005606019896.html?spm=a2g0o.order\_list.order\_list\_main.28.68d65e5bF77il5&gatewayAdapt=glo2fra](https://fr.aliexpress.com/item/1005005606019896.html?spm=a2g0o.order_list.order_list_main.28.68d65e5bF77il5&gatewayAdapt=glo2fra)? I don’t understand why there is no Smart Life application. In fact, I will immediately request the creation of this application from support to access the product without going through all this cumbersome configuration.

---

<div class="post-metadata">

**Author:** ![homify](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/homify/32/95781_2.png) [@homify](https://community.homey.app/u/homify)\
**Post date:** [January 31, 2024, 6:07pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/324 "2024-01-31T18:07:27Z")

</div>

It seems to be no support from the community for Tuya device integration anymore. I just decided to **cancel the try to integrate Tuya devices into Homey Pro** and I’ll send back the Tuya test devices.

The reason is a summary of different facts:

- the Chinese Tuya cloud service doesn’t appear very trustworthy (e.g. due to strange password policies)
- the Tuya app by Rens Brandwijk seems no more to be supported (that’s ok and part of the game)
- the community doesn’t seem to be interested in Tuya integration (support)
- the device firmware upgrades will be an issue in future (especially if there is no manufacturer gateway available)

The experiment was instructive, but not worth the extra effort in my eyes. 🙂

---

<div class="post-metadata">

**Author:** ![Rens\_Brandwijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rens_brandwijk/32/12640_2.png) [@Rens\_Brandwijk](https://community.homey.app/u/Rens_Brandwijk)\
**Post date:** [February 7, 2024, 8:31am UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/325 "2024-02-07T08:31:28Z")

</div>

The tuya app i made a few years ago only works for non battery powered wifi devices by using an old api codetheweb made.

There was a tuya zigbee app but integrating them in one app will be difficult because it uses different platforms.

I am trying to maintain the tuya app sonit keeps working over homey sdk updates and am using it myself.

The problem is that the api is kind of complex, the platform is not very open and we have thousands of devices that all work a slightly different way. And there is no way for me to test them all.  
Also homey pro works different from homey classic and the sdk gets more restrictive with every iteration.

The biggest problem for me is time. I have a family with 3 young kids and a 50 hour a week job to provide for them and a home that i’m renovating.

I just dont have the time at the moment to work on this app on a regular basis

---

<div class="post-metadata">

**Author:** ![L3nny](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/l3nny/32/102010_2.png) [@L3nny](https://community.homey.app/u/L3nny)\
**Post date:** [March 17, 2024, 6:31pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/326 "2024-03-17T18:31:58Z")

</div>

Hey,  
I have a Tuya ZY-M100 which is a WiFi mmWave presence sensor. There is an integration for [Home Assistant available](https://github.com/make-all/tuya-local/) which does support this sensor. It seems to me that TuyAPI is pursuing the same goal. However the supported devices are very limited compared to the integration for HA.

Any plans to support the Tuya ZY-M100 sensor as well?

Thank you

Lenny

---

<div class="post-metadata">

**Author:** ![Esset](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esset/32/39038_2.png) [@Esset](https://community.homey.app/u/Esset)\
**Post date:** [March 27, 2024, 9:17am UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/327 "2024-03-27T09:17:21Z")

</div>

Hello, I have extracted all kinds of ID, keys and uid from devices in Tuya IOT cloud.

But exacly what API Keys and Secret am I supposed to fill in under the setup?  
I just want to add 3 sockets I have, I have tried with the Access ID and Access secret for my account. But adding just one random device wont let me add anything. And how am I to add more devices than one if I can only add one device ID…

Do I need to remove devices added via Tuya cloud app in homey in order to add it in this TuyAPI app?

Do I need to edit settings between each device add and change the device ID?

---

<div class="post-metadata">

**Author:** ![Andree\_Eklund](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andree_eklund/32/80203_2.png) [@Andree\_Eklund](https://community.homey.app/u/Andree_Eklund)\
**Post date:** [April 5, 2024, 4:38pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/328 "2024-04-05T16:38:01Z")

</div>

Please i have same problem. give me a dummy guide

---

<div class="post-metadata">

**Author:** ![Bengt\_Karlsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bengt_karlsson/32/19843_2.png) [@Bengt\_Karlsson](https://community.homey.app/u/Bengt_Karlsson)\
**Post date:** [April 21, 2024, 4:12pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/329 "2024-04-21T16:12:33Z")

</div>

I have some Tuya/NEO COOLCAM Wifi Power Plug NAS-WR01W 3600W and I try to use them in Homey Pro 2023 and the Tuya app.

I have succeeded to do the settings in [Tuya IoT Platform] and added them into Homey. I can access the devices from this IoT platform and read data and give commands.

The problem is that Homey cant access them. Its a red triangle on the Icon and I get error message when I try to switch on/off. ”Device unavailable”

This is the only type of device I have in Tuya Smart.

Is this device supported by this app? Anyone that have succeeded?

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [May 16, 2024, 11:34am UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/330 "2024-05-16T11:34:35Z")

</div>

Hi,

I have to ask if this is the correct app for my device.

The device is a Lyfco airconditioner with support for Smart Life / Tuya (wifi).

How to integrate this into Homey?

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 19, 2024, 8:14pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/331 "2024-05-19T20:14:04Z")

</div>

hello,  
I try to integrated IOT on homey.  
I read and respected the instructions, so I arrived to linked my tuya app (on my phone) and IOT, my device (light strip) appair on IOT and tuya app.

 ![Capture d’écran (73)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20ee9aabaf887009409d486f65ce77a798cb7745.png)  
but How to do to executed the line command as describe on the instructions? (and also the CLI tool)  
I think it’s my problem to finish procedure of integration,  
Thanks in advance  
Yann

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 20, 2024, 9:22am UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/332 "2024-05-20T09:22:12Z")

</div>

hello,  
Someone have an idea about this?  
Thanks in advance

---

<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:** [May 20, 2024, 2:53pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/333 "2024-05-20T14:53:09Z")

</div>

I don’t recognise those instructions.  
The Tuya Cloud iot instructions can be found here

> [@\[APP\]\[Pro\] Tuya Cloud - This app allows you to connect Homey to the Tuya cloud](https://community.homey.app/t/21313):
>
> Tuya Cloud app NOTE: This app is no longer actively maintained, only PR (Pull Requests) will be merged and published as update; The developer does not respond to questions / requests any longer. App store: Test version (with more supported devices): Homey App for the Tuya cloud The word API will be used often. So, what is that about? API = special developed connection between Homey and Tuya servers The official API is now supported. It requires an extra development account and keys. Th…

as linked to at the app store app page.

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 20, 2024, 4:25pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/334 "2024-05-20T16:25:20Z")

</div>

hello Peter,  
No not by the tuya cloud, I talk about this

> **[Tuya](https://homey.app/fr-fr/app/nl.rebtor.tuya/Tuya/)**
>
> Local control for Tuya devices

---

<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:** [May 20, 2024, 4:52pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/335 "2024-05-20T16:52:57Z")

</div>

Ah I see.

This worked for me

1. First, acquire API credentials by following this guide ([https://tuyaapi.github.io/cloud/apikeys/](https://tuyaapi.github.io/cloud/apikeys/)). The process should just take a few minutes.

2. Next, install the CLI tool by running  
`npm i @tuyapi/cli -g`

If it returns an error, you may need to prefix the command with sudo. (Tip: using sudo to install global packages is not considered best practice)

1. Run the following command to get a list, in which Name, ID and Key of your Tuya wifi devices can be found:  
`tuya-cli wizard`

I found this tool as well, did not use it though:

> **[GitHub - MarkWattTech/TuyaKeyExtractor: A simple C# Console Project that...](https://github.com/MarkWattTech/TuyaKeyExtractor)**
>
> A simple C# Console Project that parses the preference.xml file to give you the local keys in a tidy format. - MarkWattTech/TuyaKeyExtractor

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 20, 2024, 4:56pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/336 "2024-05-20T16:56:16Z")

</div>

anyway, if I tried to do with app tuya cloud, I 've an error message  
I join the screenshots of IOT and APP homey with error code  
(I try to include light strip “nous” wifi)

IOT

 ![Capture d’écran (75)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1b894354a348c257938b07d1ba3c4abfcb9bfa4d.png)  
 ![Capture d’écran (76)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/4/3411dced562e124e8696ccd33795b8f71f59086c.png)  
 ![Capture d’écran (80)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/817c700ddce7a7f9ea23ad3f7d2a8e193fddc3a2.png)  
 ![Capture d’écran (77)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/9/f9878d1291dd8e03ebee252c843ab66ae734b956.png)

On IOT , the light strip is online, I suppose it is alright

HOMEY

 ![Capture d’écran (78)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/08d0b3149e8275c31ee5b6b9ecec690505dcc71b.png)  
 ![Capture d’écran (79)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9ba38e6ca3d134e7dd02d03646b47114621dbfcf.png)

Where is my error?  
I put on homey, the user name and password of phone’s tuya app,  
The telephone country code seems good (france for me so code is 33)  
my phone’s app is tuya

Could you help me please 😀

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 20, 2024, 7:53pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/337 "2024-05-20T19:53:49Z")

</div>

ok, but how to do to install the cli tool by running? 🤨

---

<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:** [May 20, 2024, 10:41pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/338 "2024-05-20T22:41:58Z")

</div>

> [@The\_cure\_Bob](#):
>
> anyway, if I tried to do with app tuya cloud

![Screenshot from 2024-05-21 00-43-44](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/851bd0d7006ad658e05d6a9efbaa68df8c8805a1.png)  
OK, a clear error is always nice

As far as I can see on this screenshot: because the username can’t be an emailaddress,  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/5/f59db1dcb3deacb019861d109bb43f6f97199885.png)  
you probably did enter your username, and not the email address you registered the TuyaSmart app with. You can find it in your password manager, or in the TuyaSmart app at Profile \> Home management \> “Your Home Name” \> Home Owner

Why is the field called ‘username’ then, you might ask, I don’t know;  
but the example in the Tuya Cloud post shows it:  
 ![Screenshot from 2024-05-21 00-45-33](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/4/b48a9ac067c93752b8bfdd4d2acaff9199633ac8.png)

`>` For Tuya Cloud app, the error codes also are present at the[Tuya Cloud app topic I linked to](https://community.homey.app/t/21313):

> [@\[App\]\[Pro\] Tuya Cloud](https://community.homey.app/t/app-pro-tuya-cloud/21313/1):
>
> 1106 permission deny
> 
> - Your app account is not linked to your cloud project. This operation is a must-do. For more information, see [Link devices by app account](https://developer.tuya.com/en/docs/iot/Platform_Configuration_smarthome?id=Kamcgamwoevrx#title-3-Link%20devices%20by%20app%20account).
> - Incorrect account or password. You must enter the account and password of the mobile app that you use to scan the QR code for linking devices to your cloud project on the [Tuya IoT Development Platform](https://iot.tuya.com/).
> - Incorrect country. You must select the region of your account of the Tuya Smart app or Smart Life app.

OK, about the local Tuya keys:

> [@The\_cure\_Bob](#):
>
> ok, but how to do to install the cli tool by running?

Aahh, you’re probably not using linux OS  
Here is ‘how to CLI’, this should help you install it on a Windows machine: [[HOW TO] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198)

---

<div class="post-metadata">

**Author:** ![The\_cure\_Bob](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/the_cure_bob/32/80551_2.png) [@The\_cure\_Bob](https://community.homey.app/u/The_cure_Bob)\
**Post date:** [May 21, 2024, 3:08pm UTC](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811/339 "2024-05-21T15:08:57Z")

</div>

hello Peter,  
many thanks for your return, it’s works fine.  
My error was the username as you say  
👍 👍 👍 👍 👍 👍 👍

[Previous page](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811.md?page=15)

[Next page](https://community.homey.app/t/app-pro-tuyapi-neo-coolcam-wall-plug-wifi-app/15811.md?page=17)
