Files
ESPHome/esp32_cam1.yaml
2020-12-23 16:24:55 -05:00

59 lines
1.0 KiB
YAML

esphome:
name: esp32_cam1
platform: ESP32
board: esp32cam
wifi:
ssid: "Meneely"
password: "punxsutawney1"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Purple Fallback Hotspot"
password: "QNWj7LmaNoD6"
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.87.17
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.86.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.254.0
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
i2c:
- id: bus_a
sda: 13
scl: 16
scan: True
#i2c:
# sda: D2
# scl: D1
# scan: True
# id: bus_a
sensor:
- platform: bme280
temperature:
name: "esp32_cam1_BME280 Temperature"
oversampling: 16x
pressure:
name: "esp32_cam1_BME280 Pressure"
humidity:
name: "esp32_cam1_BME280 Humidity"
address: 0x76
i2c_id: bus_a
update_interval: 60s