Hi Guy’s,
I’m new to HA and ESPHome and have some questions and looking for examples.
I have the ESPThings ET-AL01 Analog led strip controller. I don’t yet have a dashboard in HA and just using the overview page until I have a better understanding of things.
In the following example from ESPThings for their controller ET-AL01, what in the code presents itself to HA, ie what creates what I see to controller the leds on the HA overview page, so I can understand this a little better to add other controls?
What I’d like to do is add some extra features and effects, like what you would get with WLED, mainly features like fading from on colour to the next (is this called a rainbow effect). Are there any examples anywhere that I can follow to create my own?
esphome:
name: kitchen-colour-leds
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "guess"
ota:
password: "guess"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kitchen-Colour-Leds"
password: "guess"
captive_portal:
sensor:
- platform: wifi_signal
name: "WiFi Signal $devicename"
update_interval: 60s
output:
- platform: ledc
pin: 26
frequency: 25000Hz
id: ledc_cw
- platform: ledc
pin: 18
frequency: 25000Hz
id: ledc_ww
- platform: ledc
pin: 19
frequency: 25000Hz
id: ledc_r
- platform: ledc
pin: 23
frequency: 25000Hz
id: ledc_g
- platform: ledc
pin: 05
frequency: 25000Hz
id: ledc_b
light:
- platform: rgbww
name: "Kitchen Colour LEDs"
warm_white: ledc_ww
cold_white: ledc_cw
red: ledc_r
green: ledc_g
blue: ledc_b
cold_white_color_temperature: 5000K
warm_white_color_temperature: 3000K