• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Still image with ESP-32-Cam in Node-Red?

Q&A Forum › Category: ESP32 › Still image with ESP-32-Cam in Node-Red?
0 Vote Up Vote Down
Hans-Joachim Koch asked 1 year ago

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?

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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

0 Vote Up Vote Down
Hans-Joachim Koch answered 1 year ago

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?

0 Vote Up Vote Down
Hans-Joachim Koch answered 1 year ago

Sorry, my fault. I forgot to deploy. Now with “/stream” I get a video. With “/capture” I get nothing but a broken (empty) picture.

0 Vote Up Vote Down
Hans-Joachim Koch answered 1 year ago

Everything is fine now. Sorry for the problems and thank you very much.

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.