Menu

Accompanying video post

This post is meant to mainly go along with the following video. Below you will find the ESPhome code used in the video so you can easily copy and paste it!

 

 

QuinLED-Deca-Plus ESPhome code

substitutions:
  esphome_name: attic_deca_plus_36v

esphome:
  name: ${esphome_name}
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: !secret esphome_wifi_ssid
  password: !secret esphome_wifi_pass
  domain: .quindorian.iot

#Disable logging/UART
logger:
  level: debug
  #baud_rate: 0

api:
  reboot_timeout: 60min
  password: !secret esphome_api_pass

ota:
  password: !secret esphome_ota_pass

web_server:
  port: 80
  
time:
  - platform: homeassistant

dallas:
  - pin: 32

switch:
  - platform: gpio
    name: "${esphome_name}-Onboard-LED"
    pin: 2
    inverted: True

  - platform: restart
    name: ${esphome_name}-restart
    id: restart_switch

output:
  - platform: ledc
    pin: 16
    frequency: 40000Hz
    id: LED_channel_1

  - platform: ledc
    pin: 17
    frequency: 40000Hz
    id: LED_channel_2

  - platform: ledc
    pin: 18
    frequency: 40000Hz
    id: LED_channel_3

  - platform: ledc
    pin: 19
    frequency: 40000Hz
    id: LED_channel_4

  - platform: ledc
    pin: 21
    frequency: 40000Hz
    id: LED_channel_5

  - platform: ledc
    pin: 33
    frequency: 40000Hz
    id: LED_channel_6

  - platform: ledc
    pin: 27
    frequency: 40000Hz
    id: LED_channel_7

  - platform: ledc
    pin: 14
    frequency: 40000Hz
    id: LED_channel_8

  - platform: ledc
    pin: 13
    frequency: 40000Hz
    id: LED_channel_9

  - platform: ledc
    pin: 12
    frequency: 40000Hz
    id: LED_channel_10

light:
  - platform: monochromatic
    name: "${esphome_name}-1"
    default_transition_length: 3s
    output: LED_channel_1

  - platform: monochromatic
    name: "${esphome_name}-2"
    default_transition_length: 3s
    output: LED_channel_2

  - platform: monochromatic
    name: "${esphome_name}-3"
    default_transition_length: 3s
    output: LED_channel_3

  - platform: monochromatic
    name: "${esphome_name}-4"
    default_transition_length: 3s
    output: LED_channel_4

  - platform: monochromatic
    name: "${esphome_name}-5"
    default_transition_length: 3s
    output: LED_channel_5

  - platform: monochromatic
    name: "${esphome_name}-6"
    default_transition_length: 3s
    output: LED_channel_6

  - platform: monochromatic
    name: "${esphome_name}-7"
    default_transition_length: 3s
    output: LED_channel_7

  - platform: monochromatic
    name: "${esphome_name}-8"
    default_transition_length: 3s
    output: LED_channel_8

  - platform: monochromatic
    name: "${esphome_name}-9"
    default_transition_length: 3s
    output: LED_channel_9
    
  - platform: monochromatic
    name: "${esphome_name}-10"
    default_transition_length: 3s
    output: LED_channel_10
    
sensor:
  - platform: dallas
    index: 0
    name: "${esphome_name}-quinled-temperature"
    
  - platform: uptime
    name: "${esphome_name}_Uptime Sensor"
    
  - platform: wifi_signal
    name: "${esphome_name} WiFi Signal"
    update_interval: 60s