# Live stream with a camera pi on node red dashboard

**URL:** <https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594>\
**Category:** General\
**Created:** [26 April 2019 23:32 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594 "2019-04-26T23:32:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![khalil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@khalil](https://discourse.nodered.org/u/khalil)\
**Post date:** [26 April 2019 23:32 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/1 "2019-04-26T23:32:17Z")

</div>

Hi everyone. I am trying to make a live stream with my Camera Pi on my dashboard node red. i used the RPi\_Cam\_Web\_Interface idea it worked well when i used a template whith this code below

 ![123](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1cc078d4a17d7335f26a7cb70bcdb2ae6c84586a.jpeg)

Now i am asking if there is a way to show only the screen camera without any other option like "stop camera" or "record video" ... all i want on my dashbord is nothing but the screen camera using VLC or an other way if its possible

---

<div class="post-metadata">

**Author:** ![gerdesj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerdesj/32/8065_2.png) [@gerdesj](https://discourse.nodered.org/u/gerdesj)\
**Post date:** [26 April 2019 23:41 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/2 "2019-04-26T23:41:57Z")

</div>

You don't have to view your camera though Node-RED. You can always use it's native interface or something else like VLC or Zoneminder. For my money: Zoneminder.

---

<div class="post-metadata">

**Author:** ![khalil](https://avatars.discourse-cdn.com/v4/letter/k/bc8723/32.png) [@khalil](https://discourse.nodered.org/u/khalil)\
**Post date:** [26 April 2019 23:57 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/3 "2019-04-26T23:57:09Z")

</div>

i would like to view the camera screen throug my dashboard node red so i can use other node in the same flow like this way

 ![b3f01b39fc7423d5ca2ed828c210577ff9988132](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/b3f01b39fc7423d5ca2ed828c210577ff9988132.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [27 April 2019 05:57 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/4 "2019-04-27T05:57:22Z")

</div>

If you "inspect" the source of that original web page then you should be able to work out the HTML necessary to embed the video, and then replicate it in a ui-template

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [27 April 2019 07:35 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/5 "2019-04-27T07:35:32Z")

</div>

Hi @khalil,  
I don't have a raspicam, but can't you do it like this:

1. Get camera snapshot images with [node-red-contrib-camerapi](https://flows.nodered.org/node/node-red-contrib-camerapi).
2. As soon as images are travelling through your Node-RED flow, show them on your dashboard. In this [link](https://www.npmjs.com/package/node-red-contrib-multipart-stream-decoder#usage) I do something similar for an IP camera: if you replace the httprequest node (that gets images from the IP cam) by the camerapi node, I assume it should work...

P.S. Be aware that the above flow keeps pushing images to your dashboard, even if you are currently showing another tab in your dashboard....

---

<div class="post-metadata">

**Author:** ![carrero](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@carrero](https://discourse.nodered.org/u/carrero)\
**Post date:** [21 May 2020 17:12 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/6 "2020-05-21T17:12:14Z")

</div>

In fact, you can take photos with node-red-contrib-camerapi and after that you can show it on the dashboard using template, but how should i configure template?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [21 May 2020 17:18 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/7 "2020-05-21T17:18:05Z")

</div>

Hi Pablo,  
I assume this is related to your other question? If so please stick to one discussion, otherwise it is very difficult for us to follow-up all questions...

---

<div class="post-metadata">

**Author:** ![carrero](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@carrero](https://discourse.nodered.org/u/carrero)\
**Post date:** [21 May 2020 17:32 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/8 "2020-05-21T17:32:26Z")

</div>

Yes Sir, it is related with the other topic. Sorry

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [21 May 2020 17:35 UTC](https://discourse.nodered.org/t/live-stream-with-a-camera-pi-on-node-red-dashboard/10594/9 "2020-05-21T17:35:42Z")

</div>


