MadGlobox
(Marco Bruh)
October 8, 2019, 11:59am
1
Hi all
Recently i was walking trough the “Action” store in Holland and saw a set of ‘smart products’ called LCS Smart Connect. This smart products consist of different smart lights, motion sensors and switches.
It caught my attention because of its very reasonable price tag.
Brief description of the device or service.
Smart lights, switches and sensors by a new brand sold at Action (Holland).
Link to the provider or manufacturer’s product or service page.
https://www.action.com/nl-nl/brand/lsc-smart-connect/
Link to the service or device’s API, along with information as to whether it is public or requires an account or key. (This is extremely important because without a published API, integration of any device or service will be difficult if not impossible!)
Dont know if this is the right one, but:
https://github.com/codetheweb/tuyapi
Any other relevant information including examples or GitHub repositories related to the device or service.
Found it from this page:
https://community.openhab.org/t/lsc-smart-connect-tuya-binding/81093
This products seem of good quality. (Judged only on packaging and look & feel).
francisp
(Francis)
October 8, 2019, 1:23pm
2
Some of them you can flash with tasmota, but not all of them. My 2 ‘smart plaffonieres’ don’ t work with the official tuya api ( except the scenes) or the local tuya api (and I have the local key)
Pinqui87
(Fabian)
October 8, 2019, 3:22pm
3
I bought the power plug and a rgb ligth (E14 version) from LSC and flashed them via Tuya convert over the air:
Then I flashed the Tasmota firmware via ota.
For the RGB light you will need the dev version of Tasmota. The power plug works with the master version, almost the same as a Sonof device.
Not al LSC Smart devices work with with a ESP8266/8285 so not all flashable with Tasmota.
gijsje
(Gijs)
October 8, 2019, 6:33pm
4
I do have the rgbw led strip working with esphome.
I have only added a few buttons of the remote control yet
esphome:
name: washok_ledstrip
platform: ESP8266
board: esp01_1m
wifi:
ssid: "SSID"
password: "PASSWORD"
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "PASSWORD"
ota:
password: "PASSWORD"
remote_receiver:
pin:
number: 0
inverted: true
dump: all
# filter: 50us
output:
- platform: esp8266_pwm
id: pwm_rood
pin: 4
frequency: 1000 Hz
- platform: esp8266_pwm
id: pwm_blauw
pin: 14
frequency: 1000 Hz
- platform: esp8266_pwm
id: pwm_groen
pin: 12
frequency: 1000 Hz
- platform: esp8266_pwm
id: pwm_wit
pin: 13
frequency: 1000 Hz
light:
- platform: rgbw
id: strip
name: "Washok Led Strip"
red: pwm_rood
green: pwm_groen
blue: pwm_blauw
white: pwm_wit
effects:
- strobe:
name: strobe
colors:
- state: true
brightness: 100%
red: 100%
green: 0%
blue: 0%
white: 0%
duration: 1000ms
- state: true
brightness: 100%
red: 0%
green: 100%
blue: 0%
white: 0%
duration: 1000ms
- state: true
brightness: 100%
red: 0%
green: 0%
blue: 100%
white: 0%
duration: 1000ms
binary_sensor:
- platform: remote_receiver
id: aan
internal: true
name: "Remote On"
nec:
address: 0x00F7
command: 0xC03F
on_press:
then:
light.turn_on:
id: strip
- platform: remote_receiver
id: uit
internal: true
name: "Remote Off"
nec:
address: 0x00F7
command: 0x40BF
on_press:
- then:
light.turn_off:
id: strip
- platform: remote_receiver
id: wit
internal: true
name: "Remote Wit"
nec:
address: 0x00F7
command: 0xE01F
on_press:
- then:
light.turn_on:
id: strip
brightness: 100%
red: 0%
green: 0%
blue: 0%
white: 100%
- platform: remote_receiver
id: blauw
internal: true
name: "Remote Blauw"
nec:
address: 0x00F7
command: 0x609F
on_press:
- then:
light.turn_on:
id: strip
brightness: 100%
red: 0%
green: 0%
blue: 100%
white: 0%
- platform: remote_receiver
id: rood
internal: true
name: "Remote Rood"
nec:
address: 0x00F7
command: 0x20DF
on_press:
- then:
light.turn_on:
id: strip
brightness: 100%
red: 100%
green: 0%
blue: 0%
white: 0%
- platform: remote_receiver
id: groen
internal: true
name: "Remote Groen"
nec:
address: 0x00F7
command: 0xA05F
on_press:
- then:
light.turn_on:
id: strip
brightness: 100%
red: 0%
green: 100%
blue: 0%
white: 0%
- platform: remote_receiver
id: strobe
internal: true
name: "Remote Strobe"
nec:
address: 0x00F7
command: 0xF00F
on_press:
- then:
- light.turn_on:
id: strip
effect: strobe
2 Likes
gijsje
(Gijs)
October 8, 2019, 6:35pm
5
And this is for the filament light
esphome:
name: dressoir_lamp
platform: ESP8266
board: esp01_1m
wifi:
ssid: "SSID"
password: "PASSWORD"
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "PASSWORD"
ota:
password: "PASSWORD"
light:
- platform: cwww
name: "Dressoir Lamp"
cold_white: output_component1
warm_white: output_component2
cold_white_color_temperature: 3500 K
warm_white_color_temperature: 2000 K
# default_transition_length: 5s
output:
- platform: esp8266_pwm
id: output_component1
pin: 14
- platform: esp8266_pwm
id: output_component2
pin: 12
1 Like
gijsje
(Gijs)
October 8, 2019, 6:35pm
6
The sirene and the ceiling light have a different chip so it will not work but the work if you make a scene in the tuya app
makai
October 9, 2019, 7:41pm
7
This is my code for the plug:
substitutions:
devicename: LSC Plug
esphome:
name: lsc_smartplug
platform: ESP8266
board: esp01_1m
binary_sensor:
- platform: gpio
pin:
number: GPIO14
mode: INPUT_PULLUP
inverted: true
name: "$devicename Power Button"
internal: true
on_press:
- switch.toggle: relay
- platform: status
name: "$devicename Status"
switch:
- platform: gpio
id: led
pin:
number: GPIO4
inverted: true
- platform: gpio
name: "$devicename"
icon: "mdi:power-plug"
pin: GPIO12
id: relay
on_turn_on:
- switch.turn_on: led
on_turn_off:
- switch.turn_off: led
wifi:
ssid: !secret ssid
password: !secret password
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_ota_pwd
ota:
password: !secret api_ota_pwd
1 Like
makai
October 14, 2019, 6:35am
8
Where did you found the pin to use for LSC lights?
I want to flash the GU10 led light
Thanks!
1 Like
francisp
(Francis)
October 14, 2019, 8:36am
9
I flashed the gu10 using the new tuya- convert.
makai
October 14, 2019, 11:18am
10
Could you post your Esphome yaml?
francisp
(Francis)
October 14, 2019, 11:35am
11
I’m using Tasmota on it (6.6.0.18)
Somebody already flashed the door contact sensor ?door sensor
is there a way to use the other color buttons on the AB, and/or the “smooth” action button ?
gijsje
(Gijs)
October 19, 2019, 5:13am
14
Yes but you need to find the correct nec commands for the other buttons and then ass them
makai
October 21, 2019, 2:51pm
15
Where did you get this tasmota release?
All I can find is release 6.6.0
Thanks
francisp
(Francis)
October 21, 2019, 3:32pm
16
doubleUS
(Wilfred)
October 21, 2019, 6:52pm
17
@gijsje How do you get all the right nec addresses and commands for the remote?
gijsje
(Gijs)
October 21, 2019, 6:53pm
18
Open the log and push the button and look at the code
doubleUS
(Wilfred)
October 24, 2019, 7:28pm
19
This is my LSC Smart LED Light Strip 970750 ESPHome script. It includes all buttons on the remote control.
Kudos to @gijsje
3 Likes
gijsje
(Gijs)
October 24, 2019, 7:35pm
20
Thanks saves me some work