我仅仅做了最简单的测试
esphome:
name: esp32c3-test
friendly_name: esp32c3-test
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "1UK7AVVmml3YGn3S4mrM0zvz*"
ota:
password: "c334765178c54e*"
wifi:
ssid: ***
password: ****
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32C3-Test Fallback Hotspot"
password: "SI***"
captive_portal:
web_server:
port: 80
i2c:
- id: bus_a
sda: 4
scl: 5
scan: true
sensor:
- platform: bme280
temperature:
name: "test BME280 Temperature"
oversampling: 16x
filters:
offset: -0.0
pressure:
name: "test BME280 Pressure"
humidity:
name: "test BME280 Humidity"
address: 0x76
update_interval: 5s
|