# Action LSC Smart Connect

**URL:** <https://community.homey.app/t/action-lsc-smart-connect/16814>\
**Category:** Devices\
**Created:** [August 13, 2019, 1:21pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814 "2019-08-13T13:21:25Z")\
**Posts on this page:** 20\
**Page:** 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:** [September 22, 2019, 9:59am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/93 "2019-09-22T09:59:21Z")

</div>

It’s a generic error that a function in the code can’t be found. Looked at the code, found the bug and fixed it. New version is on Github.

But this error only occurs when login is not succesfull. So there is something wrong with your credentials, country code or Business. Be sure that you are using the correct settings.

In your case the Business has te be “Smart Life”.

The countrycode is a mandatory API field, but in tests I could use other countrycodes without problem. I think Tuya is using this countrycode to determine the region you are in. There are currently three regions: Asia, Europe and US. All three regions have there own API server. After succesfull login, Tuya returns the region to use, and the app will connect to a server in the returned region.  
So if you are sure your credentials are correct, you can try another country code to see if this works.

---

<div class="post-metadata">

**Author:** ![NicolaiVdS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nicolaivds/32/16067_2.png) [@NicolaiVdS](https://community.homey.app/u/NicolaiVdS)\
**Post date:** [October 3, 2019, 1:45pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/94 "2019-10-03T13:45:04Z")

</div>

For those still looking for a solution these device’s can be modified to the sonoff-tesmota FW (or any other FW)

You will need to know a bit on how to use linux but its easy enough

More info can be found here: [https://github.com/ct-Open-Source/tuya-convert](https://github.com/ct-Open-Source/tuya-convert)

---

<div class="post-metadata">

**Author:** ![Ghally\_DC](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ghally_dc/32/12709_2.png) [@Ghally\_DC](https://community.homey.app/u/Ghally_DC)\
**Post date:** [October 4, 2019, 4:37pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/95 "2019-10-04T16:37:47Z")

</div>

Hi,  
Please how did you put the device in Flash Mode ?  
I’m not finding it (I trying Shelly way, but not working)  
Please some help

---

<div class="post-metadata">

**Author:** ![Deussie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deussie/32/28743_2.png) [@Deussie](https://community.homey.app/u/Deussie)\
**Post date:** [October 26, 2019, 9:42am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/96 "2019-10-26T09:42:45Z")

</div>

hi, I have a light of the action, and have downloaded the tuya app, but what do I enter in key?!  
[image|375x500](https://community.homey.app/uploads/short-url/uv4IDfpS2aKuzjiSx8QA51vq2Uz.jpeg)

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

---

<div class="post-metadata">

**Author:** ![Deussie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deussie/32/28743_2.png) [@Deussie](https://community.homey.app/u/Deussie)\
**Post date:** [October 26, 2019, 7:56pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/98 "2019-10-26T19:56:45Z")

</div>

hi thanks for your comment, i think i’m too used to apple in which everything connects instantly, i brought the lamp back it seems too complicated to me, i’m gonna try the hue lamp tomorrow,

---

<div class="post-metadata">

**Author:** ![Deussie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/deussie/32/28743_2.png) [@Deussie](https://community.homey.app/u/Deussie)\
**Post date:** [October 26, 2019, 8:49pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/100 "2019-10-26T20:49:03Z")

</div>

Hahaha, 🙂 The great thing about apple is that everything is easy to connect, but there are also other great brands, just explain what you are used to and find what you like best 😉

---

<div class="post-metadata">

**Author:** ![Wolter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wolter/32/15775_2.png) [@Wolter](https://community.homey.app/u/Wolter)\
**Post date:** [November 9, 2019, 10:37am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/101 "2019-11-09T10:37:31Z")

</div>

I just tried to connect 2 of my LSC Smart Filament LED’s to Homey. I used the ID and IP which are displayed in the Tuya app. I generated the keys via this instruction: [https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md](https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md). So far so good…

In the Homey app there are errors at the two devices I just added: “Device temporarily unavailable”. The Tuya app isn’t running on the background and I tried to reset all the devices; no luck.

Any suggestions?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![Marina\_Rietveld](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marina_rietveld/32/17475_2.png) [@Marina\_Rietveld](https://community.homey.app/u/Marina_Rietveld)\
**Post date:** [November 10, 2019, 8:38pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/102 "2019-11-10T20:38:33Z")

</div>

Hè Jurgen, I use your app tuya cloud for my Lsc lights, adding them to Homey worked fine. Totday I wanted to add Some switches. I got the massage to configure the app, so I went to the apps. My account settings were correct and when I wanted to reconnect I received the message Error: cannot read property brightness of undefined. What now? Don’t know what I’m doing wrong…

---

<div class="post-metadata">

**Author:** ![Martijn\_de\_Bokx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_de_bokx/32/4488_2.png) [@Martijn\_de\_Bokx](https://community.homey.app/u/Martijn_de_Bokx)\
**Post date:** [November 11, 2019, 10:04am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/103 "2019-11-11T10:04:44Z")

</div>

I have the same problem as you Wolter.  
Did also tryed the same things.

Hope there will be a solution 🙂

---

<div class="post-metadata">

**Author:** ![Wolter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wolter/32/15775_2.png) [@Wolter](https://community.homey.app/u/Wolter)\
**Post date:** [November 12, 2019, 12:33pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/104 "2019-11-12T12:33:29Z")

</div>

I received some feedback from the developer. When you add a new device you should not enter an IP, only the ID and key.

I added the devices again in Homey and it works, thanks!

---

<div class="post-metadata">

**Author:** ![Martijn\_de\_Bokx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martijn_de_bokx/32/4488_2.png) [@Martijn\_de\_Bokx](https://community.homey.app/u/Martijn_de_Bokx)\
**Post date:** [November 12, 2019, 6:02pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/105 "2019-11-12T18:02:05Z")

</div>

Thanks i have also tryed this but for me it dint work ☹  
I will also contact the developer thanks!

---

<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:** [November 16, 2019, 9:13am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/106 "2019-11-16T09:13:33Z")

</div>

Sorry for late reaction. Can you send screenprints of the device settings in Tuya/Smartlife mobile app and also for Homey? I will have to investigate this further.

---

<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:** [November 16, 2019, 11:53am UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/107 "2019-11-16T11:53:38Z")

</div>

I looked deeper in your error message and found out that this error also is reported on Home assistant forum. There is been a change in the API to support newer devices. The screenprints would still help to solve the error, I can’t reproduce it on my environment.

---

<div class="post-metadata">

**Author:** ![Marina\_Rietveld](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marina_rietveld/32/17475_2.png) [@Marina\_Rietveld](https://community.homey.app/u/Marina_Rietveld)\
**Post date:** [November 16, 2019, 3:27pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/108 "2019-11-16T15:27:51Z")

</div>

Thanks for your replay, I installed the tuya cloud app again (2 times this week) on my homey and for now it’s solved, I realy like your app more then the tuya app btw 😊

---

<div class="post-metadata">

**Author:** ![Marina\_Rietveld](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marina_rietveld/32/17475_2.png) [@Marina\_Rietveld](https://community.homey.app/u/Marina_Rietveld)\
**Post date:** [November 16, 2019, 3:29pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/109 "2019-11-16T15:29:06Z")

</div>

If the problem will happen again I will make screenshots!

---

<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:** [November 16, 2019, 6:45pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/110 "2019-11-16T18:45:00Z")

</div>

Good tot hear it’s solved now. 👍

---

<div class="post-metadata">

**Author:** ![Sjors\_Alberts](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjors_alberts/32/17337_2.png) [@Sjors\_Alberts](https://community.homey.app/u/Sjors_Alberts)\
**Post date:** [November 21, 2019, 3:23pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/111 "2019-11-21T15:23:11Z")

</div>

Jurgen,

I have the same problem as Wolter.

I went through all the steps, but he is not available in the homey app.

help me please, haha:smiley:

---

<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:** [November 21, 2019, 4:36pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/112 "2019-11-21T16:36:33Z")

</div>

Wolter is using the Tuya app for local connection, which app are you using? The app I made is using the Tuya cloud.

---

<div class="post-metadata">

**Author:** ![Sjors\_Alberts](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjors_alberts/32/17337_2.png) [@Sjors\_Alberts](https://community.homey.app/u/Sjors_Alberts)\
**Post date:** [November 21, 2019, 5:01pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/113 "2019-11-21T17:01:10Z")

</div>

I am using this one…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/feace1d7ee14953a810b255401d91572f407677f.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:** [November 21, 2019, 6:08pm UTC](https://community.homey.app/t/action-lsc-smart-connect/16814/114 "2019-11-21T18:08:17Z")

</div>

Thats the local Tuya app made by Rens Brandwijk. But Wolter last answere was to remove and add the device again, but without IP, only ID and key. If this is not working for you, you could try to contact Rens Brandwijk.

[Previous page](https://community.homey.app/t/action-lsc-smart-connect/16814.md?page=4)

[Next page](https://community.homey.app/t/action-lsc-smart-connect/16814.md?page=6)
