devices.esphome.io

Kogan RGB + Cool & Warm White 2m LED Strip

Kogan RGB + Cool & Warm White 2m LED Strip

Device Type: light
Electrical Standard: au
Board: esp8266

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
esphome:
name: ${device_name}
esp8266:
board: esp01_1m
# OTA flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_portal:
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
Edit this page on GitHub