Hello, I am trying to set up a function on an AI Thinker ESP CAM. What I want to do is be able to have the camera to have its own “privacy” mode. That is, the ESP will disable its own feed based upon the status of a sensor.
I have the camera working fine, I have the sensor working fine, but I can’t see how to have the camera suspend its own feed.
I can see that there is a power_down_pin on GPIO32, so I assume that I can manipulate that? However, I then tried creating a GPIO switch using the GPIO but, quite logically, I’m not allowed as the GPIO is being used as part of the camera entity.
So, is there a way? Am I heading in the right direction?
It’s worth saying that I know that I could do this in HA, but I really want the camera to handle the control internally, if possible.