QuinLED-Quad ESPhome sample configuration

People have requested sample ESPhome configurations for the QuinLED modules. A basic explanation of how to use ESPhome can be found by clicking here. Below are sample configurations that can be used to start your own configuration!

Sample configurations

  • 4x Monochromatic (One color) LED strip
  • 2x CCT (Cold White + Warm White) LED strip
  • 1x RGBW LED strip

4x Monochromatic (One color) LED strip

esphome:
  name: 'q1_quinled_quad'
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

mqtt:
  broker: 'XXXXXXXXXX'
  username: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

# Enable logging
logger:
  level: DEBUG

ota:
  password: 'XXXXXXXXXX'

dallas:
  - pin: GPIO18

switch:
  - platform: gpio
    name: "Q1_Onboard light"
    pin: 2

output:
  - platform: ledc
    pin: 16
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_16
  - platform: ledc
    pin: 17
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_17
  - platform: ledc
    pin: 5
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_5
  - platform: ledc
    pin: 19
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_19

light:
  - platform: monochromatic
    name: "Q1_LED light ouput1"
    default_transition_length: 5s
    output: LED_gpio_16
  - platform: monochromatic
    name: "Q1_LED light ouput2"
    default_transition_length: 5s
    output: LED_gpio_17
  - platform: monochromatic
    name: "Q1_LED light ouput3"
    default_transition_length: 5s
    output: LED_gpio_5
  - platform: monochromatic
    name: "Q1_LED light ouput4"
    default_transition_length: 5s
    output: LED_gpio_19

sensor:
  - platform: dallas
    index: 0
    name: "Q1_tempsensor"

2x CCT (Cold White + Warm White) LED strip

esphome:
  name: 'q1_quinled_quad'
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

mqtt:
  broker: 'XXXXXXXXXX'
  username: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

# Enable logging
logger:
  level: DEBUG

ota:
  password: 'XXXXXXXXXX'

dallas:
  - pin: GPIO18

switch:
  - platform: gpio
    name: "Q1_Onboard light"
    pin: 2

output:
  - platform: ledc
    pin: 16
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_16
  - platform: ledc
    pin: 17
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_17
  - platform: ledc
    pin: 5
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_5
  - platform: ledc
    pin: 19
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_19

light:
  - platform: cwww
    name: "Q1_CCT_1"
    cold_white: LED_gpio_16
    warm_white: LED_gpio_17
    cold_white_color_temperature: 153 mireds
    warm_white_color_temperature: 500 mireds
    default_transition_length: 2s

  - platform: cwww
    name: "Q1_CCT_2"
    cold_white: LED_gpio_5
    warm_white: LED_gpio_19
    cold_white_color_temperature: 153 mireds
    warm_white_color_temperature: 500 mireds
    default_transition_length: 2s

sensor:
  - platform: dallas
    index: 0
    name: "Q1_tempsensor"

1x RGBW LED strip

esphome:
  name: 'q1_quinled_quad'
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

mqtt:
  broker: 'XXXXXXXXXX'
  username: 'XXXXXXXXXX'
  password: 'XXXXXXXXXX'

# Enable logging
logger:
  level: DEBUG

ota:
  password: 'XXXXXXXXXX'

dallas:
  - pin: GPIO18

switch:
  - platform: gpio
    name: "Q1_Onboard light"
    pin: 2

output:
  - platform: ledc
    pin: 16
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_16
  - platform: ledc
    pin: 17
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_17
  - platform: ledc
    pin: 5
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_5
  - platform: ledc
    pin: 19
    frequency: 40000Hz
    bit_depth: 10
    id: LED_gpio_19

light:
  - platform: rgbw
    name: "Q!_RGBW_strip"
    red: LED_gpio_16
    green: LED_gpio_17
    blue: LED_gpio_5
    white: LED_gpio_19
    default_transition_length: 2s
    effects:
      - random:          
          name: "My Slow Random Effect"
          transition_length: 20s
          update_interval: 20s
      - random:
          name: "My Fast Random Effect"
          transition_length: 4s
          update_interval: 5s
      - random:
          name: "My Insane Random Effect"
          transition_length: 1s
          update_interval: 1s
      - random:          
          name: "Totally loco"
          transition_length: 300ms
          update_interval: 250ms

sensor:
  - platform: dallas
    index: 0
    name: "Q1_tempsensor"

Ending remarks

As mentioned above, these configurations are just examples, ESPhome is very versatile and you can use any of the channels for any mix of light you desire. Also you can easily connect sensors or buttons to the exposed GPIO pins for things like temperature sensing, motion sensors, etc.