initial commit esphome

This commit is contained in:
2023-02-22 00:11:45 +01:00
commit 4c9bf4499f
40 changed files with 3507 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
substitutions:
devicename: og-az-le-ambi
wledname: WLED-AZ-Ambi
esphome:
name: ${devicename}
platform: ESP8266
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "7EyFH9NP5ilMZUOuDIYJqe4pFuljzUCGEXebOygob30="
ota:
password: "17462b15801fcc11b267a896dc869b8f"
captive_portal:
wifi:
ssid: !secret wifi_wled_ssid
password: !secret wifi_wled_password
manual_ip:
static_ip: 192.168.1.39
gateway: 192.168.1.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${devicename}"
password: "QyyB6Lj1CgnB"
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: 64
internal: true
- platform: partition
name: "${devicename} WLED"
segments:
# Use first 10 LEDs from the light with ID light1
- id: neopixel
from: 0
to: 63
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