ESPHome-Devices

Kogan RGB + Cool & Warm White 2m LED Strip

Kogan RGB + Cool & Warm White 2m LED Strip

alt text

https://www.kogan.com/au/buy/kogan-smarterhome-rgb-cool-warm-white-smart-led-light-strip-2m/

GPIO Pinout

PinFunction
GPIO04RED
GPIO05Cold White
GPIO12GREEN
GPIO13Warm White
GPIO14BLUE

Basic Config

substitutions:
device_name: kogan_RGBWWSTRIP_1
device_ip: 192.168.x.x
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: ${device_ip}
gateway: 192.168.x.x
subnet: 255.255.255.0
logger:
api:
reboot_timeout: 15min
password: !secret api_password
ota:
password: !secret ota_password
binary_sensor:
- platform: gpio
pin:
number: 03
mode: INPUT_PULLUP
inverted: true
name: "${device_name}_button"
on_press:
- switch.toggle: relay
- platform: status
name: "${device_name}_status"
output:
- platform: esp8266_pwm
pin: 14
id: output_blue
- platform: esp8266_pwm
pin: 12
id: output_green
- platform: esp8266_pwm
pin: 4
id: output_red
- platform: esp8266_pwm
pin: 5
id: output_coldwhite
- platform: esp8266_pwm
pin: 13
id: output_warmwhite
light:
- platform: rgbww
name: '${device_name}'
id: ${device_name}
default_transition_length: 0s
red: output_red
green: output_green
blue: output_blue
cold_white: output_coldwhite
warm_white: output_warmwhite
cold_white_color_temperature: 6500 K
warm_white_color_temperature: 2700 K
time:
- platform: homeassistant
id: homeassistant_time
Edit this page on GitHub