Hi, I installed the ESP32-CAM in Node-Red according to the instructions in the SmartHome ebook. Works well, although the speed of the stream is very slow.
However, I don’t want streaming in the dashboard, but rather just retrieve a still image at the push of a button. Is this possible and how?
Hi.
Change the URL on the template node to:
<div style="margin: 0 auto;"> <img src="http://NODE-RED-IP-ADDRESS/capture" height="300px"> </div>
Then, it will take a new picture every time you refresh the Node-RED dashboard. This is the easiest way to change that example to show pictures instead of video.
Regards,
Sara
Hi Sara,
thanks, but that doesn’t really work. Without any action I get a new image every few seconds. It seems that the ESP is sending a video after all. I don’t want a permanently running video in my WLAN, but on request really just a single picture. Are there other solutions?
Sorry, my fault. I forgot to deploy. Now with “/stream” I get a video. With “/capture” I get nothing but a broken (empty) picture.