Files
hassos_config/esphome/aqs_woonkamer.yaml
2026-03-26 12:10:21 +01:00

73 lines
1.7 KiB
YAML

substitutions:
device_name: "aqs-slaapkamer"
friendly_name: "AQS-Slaapkamer"
comment: "esp32, pm, co2, temp, hum, occup, btprox"
location: "Slaapkamer Willem"
api_password: !secret air_quality_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 air_quality_ip
update_interval: 30s
#hardware
board: "esp32dev"
framework: esp-idf
pin_status: GPIO2
pin_sda: GPIO21
pin_scl: GPIO22
pin_pm_rx: GPIO18
pin_pm_tx: GPIO19
pin_ld_tx: GPIO16
pin_ld_rx: GPIO17
pin_led1: GPIO23
num_leds: "3"
chipset: ws2812
is_rgbw: "false"
rgb_order: GRB
packages:
board: !include boards/esp32-gen.yaml
i2c: !include interfaces/i2c_a.yaml
device_base: !include common/common.yaml
connection: !include common/wifi.yaml
status: !include templates/status.yaml
logger: !include templates/nologger.yaml
bt_proxy: !include common/bluetooth.yaml
#sensors
#mmwave: !include sensors/ld2420.yaml
pmsc: !include sensors/pmsx0003.yaml
co2: !include sensors/scd30.yaml
tvoc: !include sensors/sgp30.yaml
led: !include templates/light_rgbw_rmt_nofx.yaml
light:
- platform: partition
name: "Top_LED"
segments:
# Use first 10 LEDs from the light with ID light1
- id: led_lights
from: 2
to: 2
- platform: partition
name: "Middle_LED"
segments:
# Use first 10 LEDs from the light with ID light1
- id: led_lights
from: 1
to: 1
- platform: partition
name: "Bottom_LED"
segments:
# Use first 10 LEDs from the light with ID light1
- id: led_lights
from: 0
to: 0