66 lines
1.1 KiB
YAML
66 lines
1.1 KiB
YAML
esphome:
|
|
name: espled
|
|
platform: ESP8266
|
|
board: d1_mini
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
password: "feelhome123"
|
|
|
|
ota:
|
|
password: "feelhome123"
|
|
|
|
wifi:
|
|
ssid: "lauIOT"
|
|
password: "superiot1"
|
|
domain: .home.cabestan.be
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
ap:
|
|
ssid: "Espsalon Fallback Hotspot"
|
|
password: "jTlMOFiFOzog"
|
|
|
|
captive_portal:
|
|
|
|
web_server:
|
|
port: 80
|
|
|
|
|
|
time:
|
|
- platform: sntp
|
|
id: esptime
|
|
timezone: "Europe/Brussels"
|
|
|
|
light:
|
|
- platform: rgbw
|
|
name: "Bedroom Lights"
|
|
red: output_component_r
|
|
green: output_component_g
|
|
blue: output_component_b
|
|
white: output_component_w
|
|
|
|
# Example output entry
|
|
output:
|
|
- platform: esp8266_pwm
|
|
id: output_component_r
|
|
pin: D1
|
|
max_power: 100%
|
|
|
|
- platform: esp8266_pwm
|
|
id: output_component_g
|
|
pin: D2
|
|
max_power: 80%
|
|
|
|
- platform: esp8266_pwm
|
|
id: output_component_b
|
|
pin: D3
|
|
max_power: 80%
|
|
|
|
- platform: esp8266_pwm
|
|
id: output_component_w
|
|
pin: D4
|
|
max_power: 100%
|
|
|