diff --git a/esp32_cam1.yaml b/esp32_cam1.yaml new file mode 100644 index 0000000..80710ee --- /dev/null +++ b/esp32_cam1.yaml @@ -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 + + diff --git a/esp32_cam1/partitions.csv b/esp32_cam1/partitions.csv new file mode 100644 index 0000000..f846601 --- /dev/null +++ b/esp32_cam1/partitions.csv @@ -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 diff --git a/esp32_cam_orig.bin b/esp32_cam_orig.bin new file mode 100644 index 0000000..68f4bb0 Binary files /dev/null and b/esp32_cam_orig.bin differ diff --git a/write_esp32_cam1 b/write_esp32_cam1 new file mode 100644 index 0000000..b159a60 --- /dev/null +++ b/write_esp32_cam1 @@ -0,0 +1 @@ +esphome esp32_cam1.yaml run --upload-port /dev/ttyUSB0