devices.esphome.io

LEDENET Smart WiFi Led Controller (RGB/WW/CW)

LEDENET Smart WiFi Led Controller (RGB/WW/CW)

Device Type: light
Electrical Standard: global
Board: esp8266

General Notes

LEDENET Smart WiFi LED controller compatible with MagicHome.

Manufacturer: LEDENET

Product

GPIO Pinout

PinFunction
GPIO0Reset Button
GPIO2Link LED (Green)
GPIO14Red Channel
GPIO12Green Channel
GPIO13Blue Channel
GPIO5Cold White Channel
GPIO15Warm White Channel

RGB/WW/CW Config

substitutions:
device_name: "magichome5ch"
friendly_name: "Magic Home RGB/WW/CW"
cold_temp: 6536 K
warm_temp: 2000 K
esphome:
name: ${device_name}
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
encryption:
key: !secret encryption_key
ota:
password: !secret otapw
web_server:
port: 80
status_led:
pin:
number: GPIO2
inverted: true
binary_sensor:
- platform: gpio
name: "${device_name} Reset Button"
id: button
pin:
number: GPIO0
inverted: true
light:
- platform: rgbww
name: ${friendly_name}
id: ${device_name}
red: red_channel
green: green_channel
blue: blue_channel
cold_white: cold_white_channel
warm_white: warm_white_channel
cold_white_color_temperature: ${cold_temp}
warm_white_color_temperature: ${warm_temp}
output:
- platform: esp8266_pwm
id: red_channel
pin: GPIO14
- platform: esp8266_pwm
id: green_channel
pin: GPIO12
- platform: esp8266_pwm
id: blue_channel
pin: GPIO13
- platform: esp8266_pwm
id: cold_white_channel
pin: GPIO5
- platform: esp8266_pwm
id: warm_white_channel
pin: GPIO15

RGBW Config

substitutions:
device_name: "magichome5ch"
friendly_name: "Magic Home RGB/WW/CW"
esphome:
name: ${device_name}
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
encryption:
key: !secret encryption_key
ota:
password: !secret otapw
web_server:
port: 80
status_led:
pin:
number: GPIO2
inverted: true
binary_sensor:
- platform: gpio
name: "${device_name} Reset Button"
id: button
pin:
number: GPIO0
inverted: true
light:
- platform: rgbw
name: ${friendly_name}
id: ${device_name}
red: red_channel
green: green_channel
blue: blue_channel
white: cold_white_channel
color_interlock: true
output:
- platform: esp8266_pwm
id: red_channel
pin: GPIO14
- platform: esp8266_pwm
id: green_channel
pin: GPIO12
- platform: esp8266_pwm
id: blue_channel
pin: GPIO13
- platform: esp8266_pwm
id: cold_white_channel
pin: GPIO5
- platform: esp8266_pwm
id: warm_white_channel
pin: GPIO15

RGB Config

substitutions:
device_name: "magichome5ch"
friendly_name: "Magic Home RGB/WW/CW"
esphome:
name: ${device_name}
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
encryption:
key: !secret encryption_key
ota:
password: !secret otapw
web_server:
port: 80
status_led:
pin:
number: GPIO2
inverted: true
binary_sensor:
- platform: gpio
name: "${device_name} Reset Button"
id: button
pin:
number: GPIO0
inverted: true
light:
- platform: rgb
name: ${friendly_name}
id: ${device_name}
red: red_channel
green: green_channel
blue: blue_channel
output:
- platform: esp8266_pwm
id: red_channel
pin: GPIO14
- platform: esp8266_pwm
id: green_channel
pin: GPIO12
- platform: esp8266_pwm
id: blue_channel
pin: GPIO13
- platform: esp8266_pwm
id: cold_white_channel
pin: GPIO5
- platform: esp8266_pwm
id: warm_white_channel
pin: GPIO15
Edit this page on GitHub