Skip to content

Instantly share code, notes, and snippets.

@bereska
Created May 16, 2020 15:24
Show Gist options
  • Save bereska/3a004a409fb84f024ad9daeada465e49 to your computer and use it in GitHub Desktop.
Save bereska/3a004a409fb84f024ad9daeada465e49 to your computer and use it in GitHub Desktop.
esp32cam got / esphome / got invalid frame from camera
MacBook-Air-DG-4007:esphome bereska$ docker run --rm -v "${PWD}":/config -it esphome/esphome esp32cam1.yaml run
INFO Reading configuration esp32cam1.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running: platformio run -d esp32cam1
Processing esp32cam1 (board: esp32cam; framework: arduino; platform: espressif32@1.11.0)
--------------------------------------------------------------------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Dependency Graph
|-- <AsyncTCP-esphome> 1.1.1
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <FS> 1.0
|-- <ESPAsyncWebServer-esphome> 1.2.6
| |-- <AsyncTCP-esphome> 1.1.1
| |-- <FS> 1.0
| |-- <WiFi> 1.0
|-- <DNSServer> 1.1.0
| |-- <WiFi> 1.0
|-- <Update> 1.0
|-- <WiFi> 1.0
Compiling .pioenvs/esp32cam1/src/main.cpp.o
Linking .pioenvs/esp32cam1/firmware.elf
Building .pioenvs/esp32cam1/firmware.bin
Retrieving maximum program size .pioenvs/esp32cam1/firmware.elf
Checking size .pioenvs/esp32cam1/firmware.elf
DATA: [= ] 13.5% (used 44272 bytes from 327680 bytes)
PROGRAM: [====== ] 60.8% (used 995458 bytes from 1638400 bytes)
======================================================= [SUCCESS] Took 70.04 seconds =======================================================
INFO Successfully compiled program.
INFO Connecting to 192.168.2.103
INFO Uploading esp32cam1/.pioenvs/esp32cam1/firmware.bin (995568 bytes)
Uploading: [============================================================] 100% Done...
INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.2.103 using esphome API
INFO Connecting to 192.168.2.103:6053 (192.168.2.103)
INFO Successfully connected to 192.168.2.103
[14:46:33][I][app:100]: ESPHome version 1.14.3 compiled on May 16 2020, 14:45:21
[14:46:33][C][wifi:415]: WiFi:
[14:46:33][C][wifi:283]: SSID: 'bereska24'
[14:46:33][C][wifi:284]: IP Address: 192.168.2.103
[14:46:33][C][wifi:286]: BSSID: 2C:FD:A1:3E:16:50
[14:46:33][C][wifi:287]: Hostname: 'esp32cam1'
[14:46:33][C][wifi:291]: Signal strength: -76 dB ▂▄▆█
[14:46:33][C][wifi:295]: Channel: 10
[14:46:33][C][wifi:296]: Subnet: 255.255.255.0
[14:46:33][C][wifi:297]: Gateway: 192.168.2.1
[14:46:33][C][wifi:298]: DNS1: 0.0.0.0
[14:46:33][C][wifi:299]: DNS2: 0.0.0.0
[14:46:33][C][uptime.sensor:030]: Uptime Sensor 'esp32cam1 uptime'
[14:46:33][C][uptime.sensor:030]: Unit of Measurement: 's'
[14:46:33][C][uptime.sensor:030]: Accuracy Decimals: 0
[14:46:33][C][uptime.sensor:030]: Icon: 'mdi:timer'
[14:46:33][C][logger:175]: Logger:
[14:46:33][C][logger:176]: Level: DEBUG
[14:46:33][C][logger:177]: Log Baud Rate: 115200
[14:46:33][C][logger:178]: Hardware UART: UART0
[14:46:33][C][esp32_camera:043]: ESP32 Camera:
[14:46:33][C][esp32_camera:044]: Name: esp32cam1 video
[14:46:33][C][esp32_camera:045]: Board Has PSRAM: YES
[14:46:33][C][esp32_camera:047]: Data Pins: D0:5 D1:18 D2:19 D3:21 D4:36 D5:39 D6:34 D7:35
[14:46:33][C][esp32_camera:048]: VSYNC Pin: 25
[14:46:33][C][esp32_camera:049]: HREF Pin: 23
[14:46:33][C][esp32_camera:050]: Pixel Clock Pin: 22
[14:46:33][C][esp32_camera:051]: External Clock: Pin:0 Frequency:20000000
[14:46:33][C][esp32_camera:052]: I2C Pins: SDA:26 SCL:27
[14:46:33][C][esp32_camera:053]: Reset Pin: -1
[14:46:33][C][esp32_camera:074]: Resolution: 640x480 (VGA)
[14:46:33][C][esp32_camera:097]: JPEG Quality: 10
[14:46:33][C][esp32_camera:099]: Contrast: 0
[14:46:33][C][esp32_camera:100]: Brightness: 0
[14:46:33][C][esp32_camera:101]: Saturation: 0
[14:46:33][C][esp32_camera:102]: Vertical Flip: ON
[14:46:33][C][esp32_camera:103]: Horizontal Mirror: ON
[14:46:33][C][esp32_camera:120]: Test Pattern: NO
[14:46:33][C][captive_portal:169]: Captive Portal:
[14:46:33][C][ota:029]: Over-The-Air Updates:
[14:46:33][C][ota:030]: Address: 192.168.2.103:3232
[14:46:33][C][api:095]: API Server:
[14:46:33][C][api:096]: Address: 192.168.2.103:6053
[14:46:33][C][wifi_signal.sensor:009]: WiFi Signal 'esp32cam1 wifi signal'
[14:46:33][C][wifi_signal.sensor:009]: Unit of Measurement: 'dB'
[14:46:33][C][wifi_signal.sensor:009]: Accuracy Decimals: 0
[14:46:33][C][wifi_signal.sensor:009]: Icon: 'mdi:wifi'
[14:46:38][W][esp32_camera:151]: Got invalid frame from camera!
[14:46:42][D][api.connection:583]: Client 'Home Assistant 0.98.4 (192.168.2.230)' connected successfully!
[14:46:42][W][esp32_camera:151]: Got invalid frame from camera!
[14:46:46][W][esp32_camera:151]: Got invalid frame from camera!
[14:46:51][W][esp32_camera:151]: Got invalid frame from camera!
[14:46:54][W][esp32_camera:151]: Got invalid frame from camera!
[14:46:58][W][esp32_camera:151]: Got invalid frame from camera!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment