I have a TTGO T-Camera with OLED / PIR onboard. I had this working fine a few months ago when i was testing, but for some reason now the camera isnt working. I noticed no camera entity in HA first then saw the error in the logs. I know this config was valid before so im guessing something changed but not able to work out what yet.
In a word, yes. I have been having this kind of problem with 3 boards out of a total of 4. One has been ok all along and three started giving trouble after an update. Sadly, I have no Idea which update but it was late spring, I think. Cameras that work on the âgoodâ setup wonât on the other. I had all 4 working for a short while in early spring.
[23:34:47][E][camera.c:1113] camera_probe(): Detected camera not supported.
[23:34:47][E][camera.c:1379] esp_camera_init(): Camera probe failed with error 0x20004
[23:34:47][E][esp32_camera:020]: esp_camera_init failed: ERROR
[23:34:47][E][component:112]: Component esp32_camera was marked as failed.
considering the source of these boards and cameras perhaps there should be a way to âforceâ the software to âdo it anywayâ. Perhaps there is but I donât know itâŚ
My working and non-working configs are identical:
esp32_camera:
name: Camera
external_clock:
pin: 32
frequency: 20MHz
i2c_pins:
sda: 13
scl: 12
data_pins:
- 5
- 14
- 4
- 15
- 18
- 23
- 36
- 39
vsync_pin: 27
href_pin: 25
pixel_clock_pin: 19
# resolution: 640x480 # Can be higher, I think, but this has a pretty good framerate
max_framerate: 5.0 fps
idle_framerate: 1.0 fps
resolution: XGA
# resolution: UXGA
I have continued staying up to date in the vain hope that a fix will materialize - to no avail. I have since moved my supervised install on a NanoPI Core2 to an RPI4 8G running Deb11 and everything is up-to-date.
I havenât been able to spend a lot of time on this problem and what I have spent was of course ineffective.
I am sorry I canât offer a solution. Hopefully, someone will pass by, notice, and take pity on us!
@tstill.1988 Thanks for the info. I will test this soon. My assumption is that it is a non-breaking change as well as an un-breaking change. That is to say, it shouldnât hurt anything, operating on the assumption that GPIO26 is not in use for something else.
I have ben awfully busy with the holidays, a network meltdown and completing the transfer of HA to a RPI4-8G for the past month or so. Intermittent problems with my router and 24 port Gb switch forced me to transition to a 24 port POE switch (have 3 - 1 for spare) and accelerate some other changes. Appx 240 cat 5e runs were awaiting termination in my MDF. Will be done with that this weekend.
All that to get to reporting that when I transitioned to the new ESPHome framework and re-loaded firmware compiled on new system, the issue seems to have gone away for me. I wanted to report this earlier but domestic operational priorities superseded administrative reportsâŚ
I intend to add this change to all cameras as I imagine it helps assure proper startup of the camera which seemed to me to be the problem I was experiencing.