How to stream webcam on multiple dashboards?

hello its my first time posting so sorry if its in the wrong place or format.

I want to connect my webcam to my PC and display the live feed on a Node-RED dashboard. Then, I’d like to access this dashboard on my phone (both locally and potentially externally). How can I achieve this?

Details are as follows

  1. What I’m trying to achieve:
    Connect my webcam to my PC and stream the live video feed.
    Integrate this live stream into a Node-RED dashboard.
    Access the dashboard from my phone, both on the same local network and, if possible, from outside the network.
  2. What I have:
    A working Node-RED installation on my PC.
    A webcam that works correctly on my PC (I can view the feed in other apps).
    A node that allows me to use the camera of the Local device from which im accessing my
    dashboard from
  3. Challenges I’m facing:
    How can I stream my webcam feed to a URL or in a format that Node-RED can use?
    How do I embed the live webcam feed into a Node-RED dashboard?
    What steps are required to make the Node-RED dashboard accessible from my phone (locally and externally)?

With the node-red-pipe2jpeg node you are able to expose a stream to a website/dashboard.

When your phone is connected to your home network it should be able to access the dashboard just by entering <PC's IP>:1880/dashboard in the browser URL bar.

It's best to avoid setting up access from outside your network unless you really need to. There are many computers out there continuously trying to gain access to private networks.
A common response when people are advised about this is "I'm not NASA, I have nothing to interest hackers" but the truth is that even if they can't find your credit card details on your PC they can use it to join in cyber attacks around the world.

If you need access though, @BartButenaers has assembled a handy guide on how to do it.

1 Like

You can also review the Forum FAQ's section which has some security FAQ's that give alternative options.