Actualiser esp32-s2 mini + ATH10.yaml
This commit is contained in:
parent
4b24779e56
commit
19a59bf760
@ -1,28 +1,48 @@
|
|||||||
# Ikea Vindriktning
|
esphome:
|
||||||
uart:
|
name: detect-r-office
|
||||||
rx_pin: 6
|
friendly_name: detecteur radar office
|
||||||
baud_rate: 9600
|
platformio_options:
|
||||||
|
board_build.extra_flags:
|
||||||
|
- "-DARDUINO_USB_CDC_ON_BOOT=0" # Override, de
|
||||||
|
|
||||||
# SHT21
|
esp32:
|
||||||
|
board: lolin_s2_mini
|
||||||
|
framework:
|
||||||
|
type: arduino
|
||||||
|
|
||||||
|
# Enable logging
|
||||||
|
logger:
|
||||||
|
|
||||||
|
# Enable Home Assistant API
|
||||||
|
api:
|
||||||
|
encryption:
|
||||||
|
key: "otdJD8ielKqLCvj4qbyhkldgv+jt6/M722HD2FCFDYk="
|
||||||
|
|
||||||
|
ota:
|
||||||
|
password: "e3b8366aa77dd311736576507f47ed69"
|
||||||
|
|
||||||
|
wifi:
|
||||||
|
ssid: !secret wifi_ssid
|
||||||
|
password: !secret wifi_password
|
||||||
|
|
||||||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
|
ap:
|
||||||
|
ssid: "Detect-t-Office Fallback Hotspot"
|
||||||
|
password: "d7jRAr6v15MP"
|
||||||
|
|
||||||
|
captive_portal:
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
# AHT10
|
||||||
i2c:
|
i2c:
|
||||||
sda: 8
|
sda: GPIO8
|
||||||
scl: 10
|
scl: GPIO10
|
||||||
scan: true
|
scan: true
|
||||||
id: bus_a
|
id: bus_a
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
# Ikea Vindriktning
|
|
||||||
- platform: pm1006
|
|
||||||
pm_2_5:
|
|
||||||
name: "Particulate Matter 2.5µm Concentration"
|
|
||||||
accuracy_decimals: 2
|
|
||||||
filters:
|
|
||||||
- sliding_window_moving_average:
|
|
||||||
window_size: 50
|
|
||||||
send_every: 10
|
|
||||||
send_first_at: 10
|
|
||||||
|
|
||||||
# SHT21
|
|
||||||
- platform: htu21d
|
- platform: htu21d
|
||||||
temperature:
|
temperature:
|
||||||
name: "Temperature"
|
name: "Temperature"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user