periodic push
This commit is contained in:
77
esphome/aqs_woonkamer.yaml
Normal file
77
esphome/aqs_woonkamer.yaml
Normal file
@@ -0,0 +1,77 @@
|
||||
substitutions:
|
||||
device_name: "aqs-woonkamer2"
|
||||
friendly_name: "AQS-woonkamer2"
|
||||
comment: "esp32, pm, co2, temp, hum, occup, btprox"
|
||||
location: "woonkamer"
|
||||
api_password: !secret air_quality_woonkamer_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_woonkamer_ip
|
||||
pin_status: GPIO2
|
||||
pin_sda: GPIO21
|
||||
pin_scl: GPIO22
|
||||
pin_pm_rx: GPIO18
|
||||
pin_pm_tx: GPIO19
|
||||
pin_ld_tx: GPIO17
|
||||
pin_ld_rx: GPIO16
|
||||
pin_leds: GPIO23
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.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 templates/ble_proxy.yaml
|
||||
#sensors
|
||||
# mmwave: !include sensors/ld2420.yaml
|
||||
pmsc: !include sensors/pmsx0003.yaml
|
||||
co2: !include sensors/scd30.yaml
|
||||
tvoc: !include sensors/sgp30.yaml
|
||||
|
||||
light:
|
||||
- platform: neopixelbus
|
||||
type: GRBW
|
||||
variant: ws2812X
|
||||
pin: ${pin_leds}
|
||||
num_leds: 3
|
||||
name: "${device_name}_RGB_Light"
|
||||
id: RGB_Light
|
||||
effects:
|
||||
- random:
|
||||
name: "Random"
|
||||
transition_length: 4s
|
||||
update_interval: 5s
|
||||
- addressable_rainbow:
|
||||
name: Rainbow Effect
|
||||
speed: 100
|
||||
width: 2
|
||||
|
||||
- platform: partition
|
||||
name: "Top_LED"
|
||||
segments:
|
||||
# Use first 10 LEDs from the light with ID light1
|
||||
- id: RGB_Light
|
||||
from: 2
|
||||
to: 2
|
||||
|
||||
- platform: partition
|
||||
name: "Middle_LED"
|
||||
segments:
|
||||
# Use first 10 LEDs from the light with ID light1
|
||||
- id: RGB_Light
|
||||
from: 1
|
||||
to: 1
|
||||
|
||||
- platform: partition
|
||||
name: "Bottom_LED"
|
||||
segments:
|
||||
# Use first 10 LEDs from the light with ID light1
|
||||
- id: RGB_Light
|
||||
from: 0
|
||||
to: 0
|
||||
|
||||
Reference in New Issue
Block a user