Files
hassos_config/esphome/hvac-ir-slaapkamer.yaml
2023-06-29 16:14:36 +02:00

56 lines
1.3 KiB
YAML

substitutions:
device_name: "hvac-ir-slaapkamer"
friendly_name: "HVAC-IR-RGB slaapkamer"
comment: "esp8266, blue ESP12 module, IR, RGBW"
location: "Slaapkamer"
api_password: !secret hvac_slaapkamer_api
ota_password: !secret ota_password
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
gateway: !secret ip_gateway
subnet: !secret ip_subnet
ip: !secret hvac_slaapkamer_ip
pin_ir_tx: GPIO14
pin_ir_rx: GPIO5
pin_button: GPIO13
pin_leds: GPIO03
pin_status: GPIO4
packages:
board: !include boards/esp12f.yaml
ir: !include interfaces/ir.yaml
connection: !include common/wifi.yaml
device_base: !include common/common.yaml
climate: !include templates/climate_nosens.yaml
#status: !include templates/status.yaml
logger: !include templates/nologger.yaml
button: !include templates/button.yaml
light:
- platform: neopixelbus
id: leds
method:
type: esp8266_dma
type: GRBW
variant: WS2812X
pin: ${pin_leds}
num_leds: 114
name: "NeoPixel Light"
effects:
- random:
name: "Random"
transition_length: 4s
update_interval: 5s
- addressable_rainbow:
name: Rainbow Effect
speed: 20
width: 17
#GPIO4 - status
#GPIO5 - IR rcvr
#GPIO14 - IR tx
#GPIO13 - button
#GPIO15 - connect to GND
#GPIO03 - WS2812 LEDS