ESP32-CAM stability

Hello, i have 2 camera on my local homeAssistant installation, and i have a real stability problem. The device is unavailable 15-30% overall time.

Device history:

Also using http picture capture via:
http://127.0.0.1:8123/api/camera_proxy/camera.camara_X
And fails really often.

Please help :frowning:

Installation:
Debian GNU/Linux 10 (buster) on a OrangePiOne. Armbian
Connected via cable to Wifi router.
ESP32-cam no usb version, powered via 5v using 2Amp phone chargers.
Hass downloaded via pip
Pyhton 3.8
Ram: 56% usage, hdd: 46%

YAML:

esphome:
  name: camara3
  platform: ESP32
  board: esp32cam

wifi:
  ssid: "MyWifi"
  password: "Octagon"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Camara3 Fallback Hotspot"
    password: "T7T67sdfsdfsdfjS1"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "B1exdfgsdfRz"

ota:
  password: "B1exsdfgdfsg"

esp32_camera:
  name: Camara 3
  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
  resolution: 1280x1024
  jpeg_quality: 10
switch:
  - platform: gpio
    pin: GPIO4

Add this sensor to your ESPHome config:

For reliable communication to a high data rate device like a video camera you need a signal strength of better than -67dBm.

Will try tomorrow, but the AP is 180cm from the ESP32-CAM.

Results soon.

Yeah ok, that is unlikely to be your issue then.

Try the default resolution