Closed y0ast closed 3 years ago
I can conform this error.
$ pip freeze | grep platformio
platformio==3.6.7
esp-wrover-kit
doesn't work for me.
src/main.cpp: In function 'void setup()':
src/main.cpp:31:3: error: 'ESP32Camera' was not declared in this scope
ESP32Camera *esp32camera = App.register_component(new ESP32Camera("Camera"));
^
src/main.cpp:31:16: error: 'esp32camera' was not declared in this scope
It can be worth trying esp32dev
. Both work for me.
@fabaff That is a different issue, see https://github.com/esphome/issues/issues/139
@y0ast Looks like that board has only been added recently - ESPHome has a delay in applying these new platformio package versions because historically they need some time to be bug-free.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I confirmed the esp32cam
works with the current 1.15.3 Docker container.
Operating environment/Installation (Hass.io/Docker/pip/etc.): hass.io
ESP (ESP32/ESP8266, Board/Sonoff): ESP32 CAM
Affected component: ESP32 camera: https://esphome.io/components/esp32_camera.html
Description of problem: https://esphome.io/devices/esp32.html states to visit http://docs.platformio.org/en/latest/platforms/espressif32.html for selecting the board type.
That page lists http://docs.platformio.org/en/latest/boards/espressif32/esp32cam.html#board-espressif32-esp32cam as a board, however setting the yaml to that board gives an error:
Problem-relevant YAML-configuration entries:
Additional information and things you've tried:
esp-wrover-kit
board seems to function with that type too.