Starting esp32_cam
This commit is contained in:
58
esp32_cam1.yaml
Normal file
58
esp32_cam1.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
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
|
||||
|
||||
|
||||
6
esp32_cam1/partitions.csv
Normal file
6
esp32_cam1/partitions.csv
Normal file
@@ -0,0 +1,6 @@
|
||||
nvs, data, nvs, 0x009000, 0x005000,
|
||||
otadata, data, ota, 0x00e000, 0x002000,
|
||||
app0, app, ota_0, 0x010000, 0x1C0000,
|
||||
app1, app, ota_1, 0x1D0000, 0x1C0000,
|
||||
eeprom, data, 0x99, 0x390000, 0x001000,
|
||||
spiffs, data, spiffs, 0x391000, 0x00F000
|
||||
|
BIN
esp32_cam_orig.bin
Normal file
BIN
esp32_cam_orig.bin
Normal file
Binary file not shown.
1
write_esp32_cam1
Normal file
1
write_esp32_cam1
Normal file
@@ -0,0 +1 @@
|
||||
esphome esp32_cam1.yaml run --upload-port /dev/ttyUSB0
|
||||
Reference in New Issue
Block a user