ESP32 Cam Ping Timeout

Hello!
My 2 ESP32-CAM have mostly connection-problem.
Ping have timeout.
Log:

Using 'COM8' as serial port.
Showing logs:
[22:33:05][22:33:05]
[22:33:05]rst:0x1 (POWERON_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)
[22:33:05]configsip: 0, SPIWP:0xee
[22:33:05]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[22:33:05]mode:DIO, clock div:2
[22:33:05]load:0x3fff0018,len:4
[22:33:05]load:0x3fff001c,len:1044
[22:33:05]load:0x40078000,len:8896
[22:33:05]load:0x40080400,len:5828
[22:33:05]entry 0x400806ac
[22:33:07][I][logger:166]: Log initialized
[22:33:07][C][ota:366]: There have been 0 suspected unsuccessful boot attempts.
[22:33:07][I][app:029]: Running through setup()...
[22:33:07][C][wifi:033]: Setting up WiFi...
[22:33:08][D][wifi:324]: Starting scan...
[22:33:09][D][wifi:339]: Found networks:
[22:33:09][I][wifi:385]: - 'Fritzbox' (ZZ) ▂▄▆█
[22:33:09][D][wifi:386]:     Channel: 6
[22:33:09][D][wifi:387]:     RSSI: -54 dB
[22:33:09][I][wifi:385]: - 'Fritzbox' (YY) ▂▄▆█
[22:33:09][D][wifi:386]:     Channel: 6
[22:33:09][D][wifi:387]:     RSSI: -57 dB
[22:33:09][I][wifi:385]: - 'Fritzbox' (XX) ▂▄▆█
[22:33:09][D][wifi:386]:     Channel: 6
[22:33:09][D][wifi:387]:     RSSI: -68 dB
[22:33:09][D][wifi:389]: - 'FRITZ!Box Gastzugang' (XX:XX:XX:XX:XX:XX) ▂▄▆█
[22:33:09][D][wifi:389]: - 'FRITZ!Box Gastzugang' (XX:XX:XX:XX:XX:XX) ▂▄▆█
[22:33:09][I][wifi:194]: WiFi Connecting to 'Fritzbox'...
[22:33:09][D][esp32_camera:159]: Got Image: len=13971
[22:33:10][I][wifi:457]: WiFi Connected!
[22:33:10][C][wifi:303]:   SSID: 'Fritzbox'
[22:33:10][C][wifi:304]:   IP Address: 192.168.178.66
[22:33:10][C][wifi:306]:   BSSID: ZZ
[22:33:10][C][wifi:307]:   Hostname: 'wasser-cam'
[22:33:10][C][wifi:311]:   Signal strength: -55 dB ▂▄▆█
[22:33:10][C][wifi:315]:   Channel: 6
[22:33:10][C][wifi:316]:   Subnet: 255.255.255.0
[22:33:10][C][wifi:317]:   Gateway: 192.168.178.1
[22:33:10][C][wifi:318]:   DNS1: 192.168.178.2
[22:33:10][C][wifi:319]:   DNS2: 192.168.178.1
[22:33:10][D][wifi:466]: Disabling AP...
[22:33:10][C][ota:029]: Over-The-Air Updates:
[22:33:10][C][ota:030]:   Address: wasser-cam.local:3232
[22:33:10][C][api:022]: Setting up Home Assistant API server...
[22:33:10][I][app:059]: setup() finished successfully!
[22:33:10][I][app:105]: ESPHome version 1.16.2 compiled on Mar 25 2021, 22:03:17
[22:33:10][C][wifi:443]: WiFi:
[22:33:10][C][wifi:303]:   SSID: 'Fritzbox'
[22:33:10][C][wifi:304]:   IP Address: 192.168.178.66
[22:33:10][C][wifi:306]:   BSSID: ZZ
[22:33:10][C][wifi:307]:   Hostname: 'wasser-cam'
[22:33:10][C][wifi:311]:   Signal strength: -54 dB ▂▄▆█
[22:33:10][C][wifi:315]:   Channel: 6
[22:33:10][C][wifi:316]:   Subnet: 255.255.255.0
[22:33:10][C][wifi:317]:   Gateway: 192.168.178.1
[22:33:10][C][wifi:318]:   DNS1: 192.168.178.2
[22:33:10][C][wifi:319]:   DNS2: 192.168.178.1
[22:33:10][C][logger:185]: Logger:
[22:33:10][C][logger:186]:   Level: DEBUG
[22:33:10][C][logger:187]:   Log Baud Rate: 115200
[22:33:10][C][logger:188]:   Hardware UART: UART0
[22:33:10][C][esp32_camera:043]: ESP32 Camera:
[22:33:10][C][esp32_camera:044]:   Name: Wasser Cam
[22:33:10][C][esp32_camera:045]:   Board Has PSRAM: YES
[22:33:10][C][esp32_camera:047]:   Data Pins: D0:5 D1:18 D2:19 D3:21 D4:36 D5:39 D6:34 D7:35
[22:33:10][C][esp32_camera:048]:   VSYNC Pin: 25
[22:33:10][C][esp32_camera:049]:   HREF Pin: 23
[22:33:10][C][esp32_camera:050]:   Pixel Clock Pin: 22
[22:33:10][C][esp32_camera:051]:   External Clock: Pin:0 Frequency:20000000
[22:33:10][C][esp32_camera:052]:   I2C Pins: SDA:26 SCL:27
[22:33:10][C][esp32_camera:053]:   Reset Pin: -1
[22:33:10][C][esp32_camera:074]:   Resolution: 640x480 (VGA)
[22:33:10][C][esp32_camera:099]:   JPEG Quality: 10
[22:33:10][C][esp32_camera:101]:   Contrast: 0
[22:33:10][C][esp32_camera:102]:   Brightness: 0
[22:33:10][C][esp32_camera:103]:   Saturation: 0
[22:33:10][C][esp32_camera:104]:   Vertical Flip: OFF
[22:33:10][C][esp32_camera:105]:   Horizontal Mirror: ON
[22:33:10][C][esp32_camera:122]:   Test Pattern: NO
[22:33:10][D][esp32_camera:159]: Got Image: len=32129
[22:33:10][C][captive_portal:169]: Captive Portal:
[22:33:10][C][ota:029]: Over-The-Air Updates:
[22:33:10][C][ota:030]:   Address: wasser-cam.local:3232
[22:33:10][C][api:095]: API Server:
[22:33:10][C][api:096]:   Address: wasser-cam.local:6053
[22:33:11][D][esp32_camera:159]: Got Image: len=30979
[22:33:21][D][esp32_camera:159]: Got Image: len=30177

I have try Arduino sample “CameraWebServer”. First time was fine. Second try with timeouts on ping.

Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.
Antwort von 192.168.178.66: Bytes=32 Zeit=81ms TTL=255
Zeitüberschreitung der Anforderung.
Antwort von 192.168.178.66: Bytes=32 Zeit=3408ms TTL=255
Antwort von 192.168.178.66: Bytes=32 Zeit=1455ms TTL=255
Antwort von 192.168.178.66: Bytes=32 Zeit=21ms TTL=255
Zeitüberschreitung der Anforderung.
Zeitüberschreitung der Anforderung.

Hi,

@rt1970 did you find a solution?

regards

The WiFi is very bad. I changed the location.