ESP CAM problem brak obrazu

Podłączyłem kamerkę ESP-32 CAM, wgrałem ESPHome, stworzyłem yaml zgodnie z esphome.io i bardzo żadko pojawia mi się obraz w homeassistant mam cały czas “bezczynność” i brak podglądu, podgląd wskoczy raz na 2-3 minuty dosłownie na kilka sekund.
Poniżej log do diagnozy i mój yaml

INFO Reading configuration /config/esphome/esphome-web-748f74.yaml...
WARNING GPIO0 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO4 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Starting log output from esphome-web-748f74.local using esphome API
INFO Successfully connected to esphome-web-748f74.local
[09:36:31][I][app:102]: ESPHome version 2023.3.2 compiled on Apr  4 2023, 09:07:47
[09:36:31][C][wifi:504]: WiFi:
[09:36:31][C][wifi:362]:   Local MAC: E0:5A:1B:74:8F:74
[09:36:31][C][wifi:363]:   SSID: [redacted]
[09:36:31][C][wifi:364]:   IP Address: 192.168.1.150
[09:36:31][C][wifi:366]:   BSSID: [redacted]
[09:36:31][C][wifi:367]:   Hostname: 'esphome-web-748f74'
[09:36:31][C][wifi:369]:   Signal strength: -65 dB ▂▄▆█
[09:36:31][C][wifi:373]:   Channel: 2
[09:36:31][C][wifi:374]:   Subnet: 255.255.255.0
[09:36:31][C][wifi:375]:   Gateway: 192.168.1.1
[09:36:31][C][wifi:376]:   DNS1: 192.168.1.1
[09:36:31][C][wifi:377]:   DNS2: 0.0.0.0
[09:36:31][C][logger:293]: Logger:
[09:36:31][C][logger:294]:   Level: DEBUG
[09:36:31][C][logger:295]:   Log Baud Rate: 115200
[09:36:32][C][logger:296]:   Hardware UART: UART0
[09:36:32][D][api:102]: Accepted 192.168.1.10
[09:36:33][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:36:36][D][esp32_camera:172]: Got Image: len=31366
[09:36:43][D][esp32_camera:172]: Got Image: len=30947
[09:36:52][D][esp32_camera:172]: Got Image: len=33074
[09:36:57][D][esp32_camera:172]: Got Image: len=31208
[09:36:57][D][api:102]: Accepted 192.168.1.10
[09:36:58][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:37:00][D][esp32_camera:172]: Got Image: len=33944
[09:37:06][D][esp32_camera:172]: Got Image: len=32348
[09:37:14][D][esp32_camera:172]: Got Image: len=32350
[09:37:28][D][esp32_camera:172]: Got Image: len=31241
[09:37:39][D][esp32_camera:172]: Got Image: len=31417
[09:37:40][D][api:102]: Accepted 192.168.1.10
[09:37:41][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:37:46][D][esp32_camera:172]: Got Image: len=34892
[09:37:56][D][esp32_camera:172]: Got Image: len=33252
[09:38:06][D][esp32_camera:172]: Got Image: len=37098
[09:38:06][D][api:102]: Accepted 192.168.1.10
[09:38:06][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:38:06][D][esp32_camera:172]: Got Image: len=31350
[09:38:10][D][esp32_camera:172]: Got Image: len=31380
[09:38:18][D][esp32_camera:172]: Got Image: len=31434
[09:38:26][D][esp32_camera:172]: Got Image: len=32840
[09:38:39][D][esp32_camera:172]: Got Image: len=31538
[09:38:49][D][esp32_camera:172]: Got Image: len=31559
[09:38:49][D][esp32_camera:172]: Got Image: len=36397
[09:38:50][D][api:102]: Accepted 192.168.1.10
[09:38:51][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:38:57][D][esp32_camera:172]: Got Image: len=31564
[09:39:17][D][esp32_camera:172]: Got Image: len=28825
[09:39:21][D][esp32_camera:172]: Got Image: len=29025
[09:39:21][D][api:102]: Accepted 192.168.1.10
[09:39:21][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:39:27][D][esp32_camera:172]: Got Image: len=28804
[09:39:36][D][esp32_camera:172]: Got Image: len=28929
[09:39:44][D][esp32_camera:172]: Got Image: len=28863
[09:39:52][D][esp32_camera:172]: Got Image: len=29020
[09:39:52][D][api:102]: Accepted 192.168.1.10
[09:39:52][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:39:57][D][esp32_camera:172]: Got Image: len=29016
[09:40:10][D][esp32_camera:172]: Got Image: len=28933
[09:40:13][D][esp32_camera:172]: Got Image: len=29345
[09:40:17][D][api:102]: Accepted 192.168.1.10
[09:40:18][D][esp32_camera:172]: Got Image: len=30173
[09:40:20][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:40:21][D][esp32_camera:172]: Got Image: len=28924
[09:40:27][D][esp32_camera:172]: Got Image: len=29135
[09:40:32][D][esp32_camera:172]: Got Image: len=29047
[09:40:39][D][esp32_camera:172]: Got Image: len=29066
[09:40:40][D][api:102]: Accepted 192.168.1.10
[09:40:41][D][api.connection:920]: Home Assistant 2023.3.6 (192.168.1.10): Connected successfully
[09:40:42][D][esp32_camera:172]: Got Image: len=31931
[09:40:47][D][esp32_camera:172]: Got Image: len=29313
[09:40:55][D][esp32_camera:172]: Got Image: len=29323


esphome:
  name: esphome-web-748f74
  friendly_name: Test_Karmnik

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "xxxxxxxxxx/xxxx="

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-748F74"
    password: "xxxxxxxxxxxx"

captive_portal:
web_server:
  port: 80

# ESP32-CAM
esp32_camera:
  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: 1024x768

  name: Test_Karmnik
  # ... Frame Settings

# Flashlight
output:
  - platform: gpio
    pin: GPIO4
    id: gpio_4
light:
  - platform: binary
    output: gpio_4
    name: Test_Karmnik light

Sprawa jest o tyle dziwna że dwie identyczne Kamerki działają dobrze.
Dziekuję za pomoc.