1
0
ansible-home-assistant/esphome/esp32-office-co2.yaml

46 lines
656 B
YAML
Raw Normal View History

2024-08-20 22:33:52 +00:00
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