Closed hellerxx closed 5 years ago
The camera is completely handled by the esp32-camera library, so any issue would be upstream there.
The issue must be somewhere in the i2c or powerdown related pins - looking at this example the power down pin does exist at pin GPIO32. Can you try enabling that?
yap! working!! lose the powerdown pin in .yaml. now, how to use the camera in webstream or homeassistant? the component example not stated and the camera working in 800x600, but 1024x768 or higher, the board run-time error.
[00:04:27]e���0x���98C�[I][logger:119]: Log initialized [00:04:27][C][ota:479]: There have been 1 suspected unsuccessful boot attempts. [00:04:27][I][application:055]: Running through setup()... [00:04:27][E][camera.c:233] camera_fb_init(): Allocating 153 KB frame buffer Failed [00:04:27][E][camera.c:1007] camera_init(): Failed to allocate frame buffer [00:04:27]E (182) gpio: gpio_isr_handler_remove(380): GPIO isr service is not installed, call gpio_install_isr_service() first [00:04:27][E][camera.c:1104] esp_camera_init(): Camera init failed with error 0x101 [00:04:27][E][esp32_camera:018]: esp_camera_init failed: ESP_ERR_NO_MEM [00:04:27][E][component:151]: Component was marked as failed.
how to use the camera in webstream or homeassistant?
for that you need to use a dev homeassistant instance for now. The camera integration in HA has not been merged yet. You need to install HA from this PR: https://github.com/home-assistant/home-assistant/pull/22107/files
and the camera working in 800x600, but 1024x768 or higher, the board run-time error.
The error you're seeing means your module does not have enough RAM for that resolution. For higher resolutions you need boards with external PSRAM.
I will close this issue because the camera is working. If something else turns up re-open it.
The borad has PSRAM is not running,In Borad PSRAM chip is IPS6404LSQ. I try to other Borad model in list by M5Stack-fire; fm-devkit; esp32dev;node32s. I use it running by ESP-WHO at the 1600X1200 ,but in esphome not identifythe PSRAM chip, log: [C][esp32_camera:044]: ESP32 Camera: [C][esp32_camera:045]: Name: My Camera [C][esp32_camera:046]: Board Has PSRAM: NO
@OttoWinter
ok,thx~ add a borad list for best
Operating environment/Installation (Hass.io/Docker/pip/etc.):
ESP (ESP32/ESP8266, Board/Sonoff):
ESP-32,Ai-tinker ESP32-CAM
Affected component:
https://beta.esphome.io/components/esp32_camera.html
Description of problem: The board pin connect in: https://github.com/donny681/ESP32_CAMERA_QR
Problem-relevant YAML-configuration entries:
Traceback (if applicable):
Additional information and things you've tried: