46 lines
656 B
YAML
46 lines
656 B
YAML
|
esphome:
|
||
|
name: "esp32-office-co2"
|
||
|
friendly_name: "esp32-office-co2"
|
||
|
|
||
|
esp32:
|
||
|
board: esp32dev
|
||
|
framework:
|
||
|
type: arduino
|
||
|
|
||
|
# Enable logging
|
||
|
logger:
|
||
|
|
||
|
# Enable Home Assistant API
|
||
|
api:
|
||
|
encryption:
|
||
|
key:
|
||
|
|
||
|
ota:
|
||
|
- platform: esphome
|
||
|
password:
|
||
|
|
||
|
wifi:
|
||
|
ssid: !secret wifi_ssid
|
||
|
password: !secret wifi_password
|
||
|
|
||
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||
|
ap:
|
||
|
ssid: "Esp-Rack-Fans Fallback Hotspot"
|
||
|
password:
|
||
|
|
||
|
captive_portal:
|
||
|
|
||
|
bluetooth_proxy:
|
||
|
active: true
|
||
|
|
||
|
uart:
|
||
|
baud_rate: 9600
|
||
|
rx_pin: 1
|
||
|
tx_pin: 3
|
||
|
|
||
|
sensor:
|
||
|
- platform: senseair
|
||
|
co2:
|
||
|
name: "Office CO2 Value"
|
||
|
update_interval: 60s
|