72 lines
1.1 KiB
YAML
72 lines
1.1 KiB
YAML
esphome:
|
|
name: esp32-c3-mini
|
|
friendly_name: ESP32-c3-mini
|
|
platformio_options:
|
|
board_build.flash_mode: dio
|
|
|
|
esp32:
|
|
board: esp32-c3-devkitm-1
|
|
variant: ESP32C3
|
|
framework:
|
|
type: esp-idf
|
|
|
|
|
|
# Enable logging
|
|
logger:
|
|
|
|
# Enable Home Assistant API
|
|
api:
|
|
encryption:
|
|
key: "zGWryIToSQYigPSiZBa1ljP7QNV+f1wM/jX+k1/9J6k="
|
|
|
|
ota:
|
|
- platform: esphome
|
|
password: "3f84a14ae6ed33fc29cddfd8c3cfe5bf"
|
|
|
|
wifi:
|
|
ssid: 'SmartHome'
|
|
password: ''
|
|
use_address: 192.168.88.29
|
|
|
|
manual_ip:
|
|
static_ip: 192.168.88.29
|
|
gateway: 192.168.88.1
|
|
subnet: 255.255.255.0
|
|
power_save_mode: none
|
|
|
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
|
# ap:
|
|
# ssid: "Esp32-C3-Mini Fallback Hotspot"
|
|
# password: "wuMGlIsDXN19"
|
|
|
|
one_wire:
|
|
- platform: gpio
|
|
pin: GPIO4
|
|
id: bus1
|
|
|
|
i2c:
|
|
- id: bus_a
|
|
sda: GPIO6
|
|
scl: GPIO7
|
|
scan: true
|
|
|
|
|
|
|
|
captive_portal:
|
|
|
|
sensor:
|
|
- platform: dallas_temp
|
|
one_wire_id: bus1
|
|
name: "DS18B20"
|
|
update_interval: 2s
|
|
|
|
- platform: bme680
|
|
i2c_id: bus_a
|
|
address: 0x76
|
|
update_interval: 1s
|
|
|
|
web_server:
|
|
port: 80
|
|
auth:
|
|
username: "silver"
|
|
password: "cbvgcjy0" |