# Smart plug - tuya

**URL:** <https://discourse.nodered.org/t/smart-plug-tuya/24946>\
**Category:** General\
**Created:** [16 April 2020 13:55 UTC](https://discourse.nodered.org/t/smart-plug-tuya/24946 "2020-04-16T13:55:06Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [17 April 2020 04:47 UTC](https://discourse.nodered.org/t/smart-plug-tuya/24946/13 "2020-04-17T04:47:06Z")

</div>

> [@aabbas](#):
>
> Have you an idea how can I find the device key?

While the process is rather long winded, it is possible to do. [tuyapi/docs/SETUP.md at master · codetheweb/tuyapi · GitHub](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md)

However, if you read here ... [When disabling a node doesn't (Tuya-smart)](https://discourse.nodered.org/t/when-disabling-a-node-doesnt-tuya-smart/24566) you will see that finding a node that works correctly is also not straightforward, unfortunately. This particular node does work, with the exception discussed.

---

_[View the full topic](https://discourse.nodered.org/t/smart-plug-tuya/24946)._
