ESPHome-Devices

LSC Smart Connect Switch

LSC Smart Connect Switch

Warning

The latest LSC Smart Connect Switch devices use the Tuya WB2S module, which is not compatible with ESPHome!

Notice

  • This plug is flashable using the latest tuya-convert with a compiled ESPHome binary

Product Images

plug with box plug

GPIO Pinout

PinFunction
GPIO4LED (on: 0 /off: 1)
GPIO12Relay (on: 1 /off: 0)
GPIO14Switch/button (pressed: 0 / off: 1)

Basic configuration

esphome:
name: lsc_smart_connect_node_bedroom
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
logger:
ota:
binary_sensor:
- platform: status
name: "LSC Smart Connect Bedroom Status"
- platform: gpio
pin:
number: GPIO14
mode: INPUT_PULLUP
inverted: true
name: "LSC Smart Connect Power Button"
internal: true
on_press:
- switch.toggle: relay
output:
- platform: esp8266_pwm
id: led
pin:
number: GPIO4
inverted: true
light:
- platform: monochromatic
id: status_led
name: "LSC Smart Connect Bedroom Light"
output: led
switch:
- platform: gpio
id: relay
pin: GPIO12
- platform: template
name: "LSC Smart Connect Bedroom Relay"
optimistic: true
id: relay_and_light
turn_on_action:
- switch.turn_on: relay
- light.turn_on: status_led
turn_off_action:
- switch.turn_off: relay
- light.turn_off: status_led

Configuration and details from this blogpost: https://thibmaek.com/post/flashing-esphome-to-lsc-smart-connect-action-switches-power-plugs

Edit this page on GitHub