Hi,
I just wanted to share my configuration for the LSC Christmas Lights (also called “Multi color Smart lights”) which you can buy in the “Action” store in many EU Countries… (might help somebody to easily integrate it into HA)
I did not (and want to) open the Plug to check the Wifi-Module inside, but an IP-Scanner determined that it could be an ESP so Tasmota is “maybe” possible.
Anyway, I configured the device with localtuya, but as this light has different controls than “standard” Tuya lights, I had to create service calls for each color / effect to set the DPs manually.
With local tuya, configure only the ID which is “20”.
Then create yourself a new Lovelace Card with the following Code:
Looks nice, how did you get the details of the different modes?
I have the warm white version of the smart lights, so there are no colour modes but in the app it shows the following options:
COMBINATION
IN WAVES
SEQUENTIAL
SLO-GLO
CHASING
SLOW FADE
TWINKLE
STEADY ON
How have you uploaded the downloaded file into the system?
The second question is, what I do not know because I do not run HomeAssistan OS, if you could install python there or if it is already available…
If you have proxmox, install Ubuntu or raspbian, install python there and run the commands inside there.
I’ve managed to run python through my windows CMD and got the data I need so now I can start playing with it.
So I need to switch my DP to match it with the scene setting for the string and the service data value, where you for example have “Meteor”, that name is identical to the name in the app?
Hi, for me it was the case that the “effects” were the same but I cannot quarantee that it will be for every device… I had to “set” the scene through the Tuya App and then run the test.py command to get the “currently state” of the DPs, which I noted down for every “scene” in the tuya app and then created buttons with service calls which sets the DPs according to the output of test.py.
Hi!
Thank you for that, this is exactly what I was looking for.
I just started my journey with Tuya and LSC Smart Connect devices from Action. I have already configured smart plug via Smart Life app and integration via Tuya in HA. Unfortunately, neither Smart Life nor Tuya Smart apps cannot find these christmas lights, it works only with Action’s LSC Smart Connect app for me. Have you had the same problem? How does it work with local tuya if it’s not accessible in the app? Do you get it via IP somehow? Probably that’s a newbie question but I am the noobie so thanks in advance
Hi, I can remember that I was not able to discover it via the tuya app automatically, I had to add it manually.
In add device → add manually → (on the left) lighting → and either “Light Source (Wi-Fi)” or “String Lights (Wi-Fi)” and then it was disocvered while in pairing mode.
Do you have the custom component “local-tuya” installed? If not you also do not have the service-calls for this…
In order for this to work, you need to have GitHub - rospogrigio/localtuya: local handling for Tuya devices installed and added as an Integration.
I do not have and use the official tuya integration.