Actualiser esp32-s2 mini + DHT22.yaml
This commit is contained in:
parent
635883cead
commit
f53cbc3def
@ -1 +1,50 @@
|
|||||||
dsq
|
esphome:
|
||||||
|
name: detect-r-office
|
||||||
|
friendly_name: detecteur radar office
|
||||||
|
platformio_options:
|
||||||
|
board_build.extra_flags:
|
||||||
|
- "-DARDUINO_USB_CDC_ON_BOOT=0" # Override, de
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: dht
|
||||||
|
model: DHT22
|
||||||
|
pin: GPIO12
|
||||||
|
temperature:
|
||||||
|
name: "Office temperature"
|
||||||
|
unit_of_measurement: "°C"
|
||||||
|
accuracy_decimals: 1
|
||||||
|
humidity:
|
||||||
|
name: "Office humidity"
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
update_interval: 60s
|
||||||
|
accuracy_decimals: 1
|
Loading…
x
Reference in New Issue
Block a user