Arlec Smart 2m/5m LED Strip Light
General Notes
This configuration is for the Arlec Smart 2m LED Strip Light and Arlec Smart 5m LED Strip Light which comes as a colour changing LED strip with controller and transformer.
GPIO Pinout
Pin | Function |
---|---|
GPIO4 | Red Channel |
GPIO12 | Green Channel |
GPIO14 | Blue Channel |
GPIO5 | White Channel |
Basic Configuration
esphome:
name: led_strip
platform: ESP8266
board: esp01_1m
wifi:
ssid: 'ssid'
password: 'password'
logger:
web_server:
api:
password: 'api_password'
ota:
password: 'ota_password'
light:
- platform: rgbw
name: "LED Strip"
red: output_red
green: output_green
blue: output_blue
white: output_white
restore_mode: RESTORE_DEFAULT_OFF
output:
- platform: esp8266_pwm
id: output_red
pin: GPIO4
- platform: esp8266_pwm
id: output_green
pin: GPIO12
- platform: esp8266_pwm
id: output_blue
pin: GPIO14
- platform: esp8266_pwm
id: output_white
pin: GPIO5