esphome: name: pmcam-002 platform: ESP32 board: esp32cam wifi: ssid: "yourSSID" password: "yourPwd" use_address: 192.168.50.153 manual_ip: static_ip: 192.168.50.153 gateway: 192.168.50.1 subnet: 255.255.255.0 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "pmCam" password: "" captive_portal: # Enable logging logger: # level: VERBOSE # Enable Home Assistant API api: ota: esp32_camera: name: pmcam-002 external_clock: pin: GPIO0 frequency: 20MHz i2c_pins: sda: GPIO26 scl: GPIO27 data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35] vsync_pin: GPIO25 href_pin: GPIO23 pixel_clock_pin: GPIO22 power_down_pin: GPIO32 max_framerate: 15 fps idle_framerate: 1.0 fps resolution: 800x600 horizontal_mirror: false vertical_flip: false output: - platform: gpio pin: GPIO4 id: gpio_4 binary_sensor: - platform: status name: "pmcam-002 status" light: - platform: binary output: gpio_4 name: "pmcam-002 light" switch: - platform: restart name: "pmcam-002 restart" # Example configuration entry uart: rx_pin: GPIO3 baud_rate: 9600 sensor: - platform: pm1006 pm_2_5: name: "PM 2.5µm" - platform: wifi_signal name: "pmcam-002 WiFi Signal" update_interval: 60s