Stumped and probably dumb problem. I cannot get my yaml file to validate or compile. Trying to install a simple esp32cam into HA using esphome. Have tried numerous setups for board and framework. Problem compiling before I even connect to the board.
You might get more help if you include the logs including the error you are seeing. The message usually provides at least a clue as to what the problem might be.
Sorry - new to this. I get this error message when validating or installing. This problem is in the esp32_camera: section. ESPHome shows “component requires psram”. My cam board has this psram.
INFO ESPHome 2025.11.0
INFO Reading configuration /config/esphome/100.yaml...
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
Failed config
esp32_camera: [source /config/esphome/100.yaml:35]
This option requires component psram.
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins:
- GPIO5
- GPIO18
- GPIO19
- GPIO21
- GPIO36type or paste code here
I was able to make it compile by just adding psram: - without any settings as I wasn’t sure and the docs say they are all optional. The device is working fine since.
I agree that it must be a bug in the new version, my cameras won’t validate either. Can confirm that adding just “psram” fixes validation and makes it compile.
Thank you for the help. I believe you guys are correct. I have have now successfully compiled where it would not before. part of the problem is that apparently “octal” on the psram: option has been removed, which is what was advised previously. This now validates - have not tried on the device yet. It would not validate / showed errors without the psram lines.