quinled-esphome/quinled-rgbw.yaml
2023-11-08 13:36:32 +01:00

89 lines
1.7 KiB
YAML

substitutions:
name: "quinled-quad"
friendly_name: "QuinLED Quad"
esphome:
name: "${name}"
friendly_name: "${friendly_name}"
name_add_mac_suffix: true
project:
name: hellerbarde.quinled-esphome
version: "1.0.0"
platform: ESP32
board: mhetesp32devkit
logger:
# level: INFO
api:
ota:
# This should point to the public location of this yaml file.
dashboard_import:
package_import_url: https://git.pew.io/hellerbarde/quinled-esphome/quinled-rgbw.yaml@main
import_full_config: false # or true
# esphome:
# name: 'liat-led-bottom'
# In combination with the `ap` this allows the user
# to provision wifi credentials to the device.
captive_portal:
# Sets up Bluetooth LE (Only on ESP32) to allow the user
# to provision wifi credentials to the device.
esp32_improv:
authorizer: none
# Sets up the improv via serial client for Wi-Fi provisioning
improv_serial:
# next_url: https://example.com/project-template/manual?ip={{ip_address}}&name={{device_name}}&version={{esphome_version}}
wifi:
# Set up a wifi access point
ap:
password: "quinled-quad"
# Temp Sensor
dallas:
- pin: GPIO18
sensor:
- platform: dallas
index: 0
name: "Q1_tempsensor"
switch:
- platform: gpio
name: "Q1_Onboard light"
pin: 2
output:
- platform: ledc
pin: 16
frequency: 19531Hz
id: LED1
- platform: ledc
pin: 17
frequency: 19531Hz
id: LED2
- platform: ledc
pin: 5
frequency: 19531Hz
id: LED3
- platform: ledc
pin: 19
frequency: 19531Hz
id: LED4
light:
- platform: rgbw
name: "Q!_RGBW_strip"
red: LED1
green: LED2
blue: LED3
white: LED4
default_transition_length: 2s