nixos-configuration/hosts/iron/services/esphome/devices/kueche-leiste.yaml
2024-01-30 20:12:39 +00:00

63 lines
1.2 KiB
YAML

esphome:
name: "kueche-leiste"
friendly_name: "Küche Leiste"
platformio_options:
board_build.flash_mode: dio
on_boot:
then:
- light.turn_on:
id: led_light
brightness: 50%
color_temperature: 2700 K
esp32:
board: esp32-c3-devkitm-1
variant: ESP32C3
framework:
type: esp-idf
logger:
api:
encryption:
key: !secret apikey_kueche_leiste
ota:
password: !secret otapass_kueche_leiste
wifi:
ssid: !secret wifi_ssid_bw
password: !secret wifi_password_bw
domain: .iot.bw.jalr.de
power_save_mode: none
enable_on_boot: True
fast_connect: On
output_power: 8.5
output:
- platform: ledc
pin: GPIO0
id: output_warm
- platform: ledc
pin: GPIO1
id: output_cold
light:
- platform: cwww
name: "LED light"
id: led_light
cold_white: output_cold
warm_white: output_warm
cold_white_color_temperature: 6500 K
warm_white_color_temperature: 2700 K
constant_brightness: true
gamma_correct: 0
sensor:
- platform: dht
pin: GPIO5
temperature:
name: "Living Room Temperature"
humidity:
name: "Living Room Humidity"
update_interval: 60s