Files
homeassistant/esphome/og-sz-le-bett-r.yaml
2023-02-22 00:11:45 +01:00

78 lines
1.4 KiB
YAML

substitutions:
devicename: og-sz-le-bett-r
wledname: WLED-SZ-Bett-R
esphome:
name: ${devicename}
platform: ESP8266
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "ILZ93o0U0EYla+y33L3nCTBzCzDc5WHniRb2xYXqjj0="
ota:
password: "c66c398cf5380063f19498fdffdcbb85"
captive_portal:
wifi:
ssid: !secret wifi_wled_ssid
password: !secret wifi_wled_password
manual_ip:
static_ip: 192.168.1.50
gateway: 192.168.1.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${devicename}"
password: "1JPPqwdCXcZr"
wled:
e131:
method: multicast # default: register E1.31 to Multicast group
# Example configuration entry
light:
- platform: neopixelbus
id: neopixel
name: "NeoPixel Light"
type: GRB
variant: WS2812
pin: RX
num_leds: 12
internal: true
- platform: partition
name: "${devicename} WLED"
segments:
# Use first 10 LEDs from the light with ID light1
- id: neopixel
from: 0
to: 11
effects:
- wled:
port: 19446
- e131:
universe: 1
channels: RGB
switch:
- platform: restart
name: "${devicename} Neustart"
sensor:
- platform: wifi_signal
name: "${devicename} Wi-Fi Signal"
update_interval: 60s
- platform: uptime
name: "${devicename} Uptime"
update_interval: 60s