Hi there,
Sorry, if this is not the right place to post this. If not, please advice where I should go.
As mentioned by nickrout in post 495 above https://community.home-assistant.io/t/esp32-cam-working/109140/505, there are new and more advanced ESPHome features for configuring esp32cam. Details are here: https://github.com/esphome/esphome/pull/3090. and https://esphome.io/components/esp32_camera.html?highlight=camera
And, on that page it is described that is now possible to “push camera parameters to module, initially present into setup() method. This piece of code was put into pubic API to allowing update of parameters “on-the-fly”. Behavior during setup() is not changed. In addition, temporary solution consist to make user-defined service (detailed into config.yaml
example, below). Result is one service available on home assistant to update camera parameters easily, to view influence of modification without need to recompile firmware.”
I am having difficulties figuring out what this exactly means. For one I am not sure what the config.yaml is, but I assume it is configuration.yaml in home assistant?
But, more importantly, I do not how to use the proposed code. There is an API part with some lambda for the different camera parameters. I do not how to set the different settings, ie how do I feed into those parameters?
And, assuming somebody explains that, how are these parameters then fed into the camera?
And below that there is the # ESP32-CAM configuration with pins etc, which looks like the one that goes into the ESPHome file. I tried including that also in the configuration.yaml, but that did not work?
Perhaps I got this all wrong? Should it go into the ESPHome yaml? And if so, how do I then feed the parameters to the camera.
Very confused here, but sure there is a simple solution…