Open justlikeef opened 1 year ago
May be a regression of this one, but I don't remember how to compile without re-generating code...
Have you checked if the cam component has this commit https://github.com/espressif/esp32-camera/commit/77d71b03f3ac47803fd66df7387bceaf27d6969d without it will crash when a i2c device is configured and used.
May be a regression of this one, but I don't remember how to compile without re-generating code...
Did you manage this board to work with the camera? My is not restarting but camera is not wotkíng. I have 2 boards.
The ESP32-S3 cam works with the config below and latest ESPhome beta
esphome: name: esp32-s3-cam friendly_name: ESP32-S3 cam
esp32: board: esp32s3box framework: type: arduino version: 2.0.7 platform_version: 6.0.1
logger:
api: encryption: key:
ota: password:
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
ap: ssid: "Esp32-S3-Cam Fallback Hotspot" password:
captive_portal:
psram:
web_server: version: 2
sensor:
platform: template name: Free psram lambda: return ESP.getFreePsram(); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
platform: template name: Free HEAP lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
platform: uptime name: Uptime
esp32_camera: external_clock: pin: GPIO38 frequency: 10MHz i2c_pins: sda: GPIO05 scl: GPIO04 data_pins: [GPIO14, GPIO47, GPIO48, GPIO21, GPIO13, GPIO11, GPIO10, GPIO09] vsync_pin: GPIO8 href_pin: GPIO18 pixel_clock_pin: GPIO12 vertical_flip: false horizontal_mirror: false name: Camera
The ESP32-S3 cam works with the config below and latest ESPhome beta
esphome: name: esp32-s3-cam friendly_name: ESP32-S3 cam
esp32: board: esp32s3box framework: type: arduino version: 2.0.7 platform_version: 6.0.1
logger:
api: encryption: key:
ota: password:
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
ap: ssid: "Esp32-S3-Cam Fallback Hotspot" password:
captive_portal:
psram:
web_server: version: 2
sensor:
- platform: template name: Free psram lambda: return ESP.getFreePsram(); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
- platform: template name: Free HEAP lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
- platform: uptime name: Uptime
esp32_camera: external_clock: pin: GPIO38 frequency: 10MHz i2c_pins: sda: GPIO05 scl: GPIO04 data_pins: [GPIO14, GPIO47, GPIO48, GPIO21, GPIO13, GPIO11, GPIO10, GPIO09] vsync_pin: GPIO8 href_pin: GPIO18 pixel_clock_pin: GPIO12 vertical_flip: false horizontal_mirror: false name: Camera
It worked for the first instance only. after subsequent resets, i went back to restarting
Thx for update
On Sat, 11 Mar 2023 at 11:54, maxpersg @.***> wrote:
The ESP32-S3 cam works with the config below and latest ESPhome beta
esphome: name: esp32-s3-cam friendly_name: ESP32-S3 cam
esp32: board: esp32s3box framework: type: arduino version: 2.0.7 platform_version: 6.0.1
logger:
api: encryption: key:
ota: password:
wifi: ssid: !secret wifi_ssid password: !secret wifi_password
ap: ssid: "Esp32-S3-Cam Fallback Hotspot" password:
captive_portal:
psram:
web_server: version: 2
sensor:
- platform: template name: Free psram lambda: return ESP.getFreePsram(); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
- platform: template name: Free HEAP lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL); icon: "mdi:memory" entity_category: diagnostic state_class: measurement unit_of_measurement: "b" update_interval: 60s
- platform: uptime name: Uptime
esp32_camera: external_clock: pin: GPIO38 frequency: 10MHz i2c_pins: sda: GPIO05 scl: GPIO04 data_pins: [GPIO14, GPIO47, GPIO48, GPIO21, GPIO13, GPIO11, GPIO10, GPIO09] vsync_pin: GPIO8 href_pin: GPIO18 pixel_clock_pin: GPIO12 vertical_flip: false horizontal_mirror: false name: Camera
It worked for the first instance only. after subsequent resets, i went back to restarting
— Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/4014#issuecomment-1464884707, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4JDDSAN5CFCLJDUDFNX4STW3RKUZANCNFSM6AAAAAATULKFYQ . You are receiving this because you commented.Message ID: @.***>
-- S úctou
Richard Hlavňa
@mrdis solved my issues at: https://github.com/esphome/issues/issues/4168
I appreciate this is an old thread, but have you tried this with your GPIO16 button commented out? Specifically this bit:
- platform: gpio
pin:
number: GPIO16
mode: INPUT_PULLUP
inverted: True
name: Doorbell Button
# On press show ding dong page and activate doorbell script in Home Assistant
on_press:
then:
- display.page.show: ding_page
- component.update: doorbell_display
- delay: 2s
- display.page.show: name_page
- component.update: doorbell_display
I updated a camera board this week from a very old ESPHome 2022.6 release to 2023.6 and it was triggering the watchdog timer. Like you, I was using GPIO16. Digging through the pin notes for my board (ai-thinker) I found a note that GPIO16 is connected to the PSRAM. As soon as I commented out that button the board would boot and run fine. I've since switched to a different GPIO.
The problem
A boot loop occurs with the t-camera s3 when the esp32_camera component is configured. I have verified that the pins match the documentation and the silkscreen on the board.
Which version of ESPHome has the issue?
v2023.1.0-dev
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.1.1
What platform are you using?
ESP32
Board
ESP32-S3-WROOM-1
Component causing the issue
esp32_camera
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response