I’m using an ESP32 to create a doorbell. Everything is working, camera, restart, LED light, however when pressing the physical button nothing happens on the HA. The sensor on the HA is constantly “on”.
If not you will need to enable this in the pin software configuration instead. See this example (ignore the GPIO number and that it is a reed switch instead of a push-button) for which option to use:
Use pull down if your button connects the GPIO to 3.3V.
Use pull up if your button connects the GPIO to ground.
These cameras are more of a novelty and I wouldn’t suggest building anything you need to be reliable with an esp32 cam. I’ve had over a dozen of these things and they all crap out and fail after a short period. It’s a 2$ camera, what do you expect? You can buy an outdoor camera that’s good for 35$.
In fact, I set the GPIO12 to GPIO13, but I’m not sure which one to use for the camera.
WARNING GPIO0 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
WARNING GPIO5 is a Strapping PIN and should be avoided.
I have 8 esp32 cams all running esphome and feeding frigate. No failures (hardware or software wise) and they are installed already for around two years.
Most important for a stable operation is a solid power source - many users fail to provide that and blame the hardware.
But can you control the software stack on these (10 times more expensive) cams?
So after 2 years and using 8 of them, you still don’t know what your doing or how to look up a pinout for your board? The esp32 cams are notorious for overhearing and failing and it’s well documented so, I’m having a hard time believing none have failed after 2 years.
And yet, you still read it and I’d find a way to deflect that question too. This is the problem with just copying and pasting code or following YouTube videos, you never actually learn or understand anything you’redoing. Using a button, diagnosing why a button isn’t working, whether to pull it high or low based on the gpio you choose or even which gpio you should or should not use, this is all stuff you should know with 2+ years of experience.
And you still get them though, don’t you? Didn’t I just point that out to you kid? No comment on your 2 years of experience with nothing to show for it? I’d avoid that too, it’s embarrassing