IP camera UI dashboard

3,901 views
Skip to first unread message

Mike Biddell

unread,
Mar 23, 2016, 4:56:55 AM3/23/16
to Node-RED
Is there anyway to get either, IPcam snapshot, or live video onto the UI dashboard ?

I've just discovered UI and I am most impressed.

Steampunk Prof

unread,
Mar 23, 2016, 9:27:11 AM3/23/16
to Node-RED
I just tried it with the UI template node and put in the embed code for a node-red video from YouTube in it and it worked fine.

Mike Biddell

unread,
Mar 23, 2016, 12:48:38 PM3/23/16
to Node-RED
I'll try anything once. Thanks

Marko S

unread,
Mar 23, 2016, 1:09:13 PM3/23/16
to Node-RED
Please post the code and the flow once you get this working :)

Dne sreda, 23. marec 2016 17.48.38 UTC+1 je oseba Mike Biddell napisala:

Dave C-J

unread,
Mar 23, 2016, 1:10:06 PM3/23/16
to node...@googlegroups.com
to flows.nodered.org preferably :-)

Mike Biddell

unread,
Mar 24, 2016, 3:58:27 AM3/24/16
to Node-RED
Steampunkt

could you point me at your working embed code, so I have an example to work with?

cheers

mike


On Wednesday, 23 March 2016 13:27:11 UTC, Steampunk Prof wrote:

Steampunk Prof

unread,
Mar 24, 2016, 5:04:35 AM3/24/16
to Node-RED
I just copied the embed code from a node-red video on YouTube.
The template node accepts moustache elements so you can pass in variables but I haven't done that.

[{"id":"be62e300.9efb1","type":"ui_tab","z":"7d1271a1.e054f","name":"Home","icon":"dashboard","order":"1"},{"id":"6c848da1.b7a08c","type":"ui_template","z":"7d1271a1.e054f","tab":"be62e300.9efb1","name":"","group":"","order":1,"format":"<iframe width=\"854\" height=\"480\" src=\"https://www.youtube.com/embed/5I3xyc--n5A\" frameborder=\"0\" allowfullscreen></iframe>","storeOutMessages":true,"fwdInMessages":true,"x":340,"y":180,"wires":[[]]}]

Marko S

unread,
Mar 25, 2016, 9:25:32 AM3/25/16
to Node-RED
Cool it works, I needed to shrink the width and height to 280x150 to fit inside the contrib-ui card. So this way one could also display an IP-cam snapshot?

Dne četrtek, 24. marec 2016 10.04.35 UTC+1 je oseba Steampunk Prof napisala:

Mike Biddell

unread,
Mar 25, 2016, 4:33:12 PM3/25/16
to Node-RED
This works on my Foscam clones and returns a snapshot on the UI dashboard..... will try to sort out live video next..... thanks for all the help. Feel free to test it..... I have a guest account nodered and nodered

[{"id":"3d6fa582.03d8fa","type":"ui_tab","z":"4ba758bc.b458a8","name":"Home","icon":"dashboard","order":"1"},{"id":"4f45e824.64d678","type":"ui_template","z":"4ba758bc.b458a8","tab":"3d6fa582.03d8fa","name":"vid","group":"","order":1,"format":"<iframe width=\"854\" height=\"480\" src=\"http://192.168.0.178:22222/snapshot.cgi?usr=nodered&pwd=nodered\" frameborder=\"0\" allowfullscreen></iframe>","storeOutMessages":true,"fwdInMessages":true,"x":324,"y":311,"wires":[[]]}]

Mike Biddell

unread,
Mar 25, 2016, 4:52:20 PM3/25/16
to Node-RED
And here is the live UI dashboard video...... go here for the URL for your model:-https://www.ispyconnect.com/sources.aspx...... works wonderfully well

[{"id":"3d6fa582.03d8fa","type":"ui_tab","z":"4ba758bc.b458a8","name":"Home","icon":"dashboard","order":"1"},{"id":"4f45e824.64d678","type":"ui_template","z":"4ba758bc.b458a8","tab":"3d6fa582.03d8fa","name":"vid","group":"","order":1,"format":"<iframe width=\"854\" height=\"480\" src=\"http://mikebid.dyndns.ws:22222/videostream.cgi?usr=nodered&pwd=nodered\" frameborder=\"0\" allowfullscreen></iframe>","storeOutMessages":true,"fwdInMessages":true,"x":324,"y":311,"wires":[[]]}]

Marko S

unread,
Mar 26, 2016, 9:22:52 AM3/26/16
to Node-RED
Foscam clones which are they, Escam? :D

Dne petek, 25. marec 2016 21.33.12 UTC+1 je oseba Mike Biddell napisala:

Mike Biddell

unread,
Mar 26, 2016, 10:13:55 AM3/26/16
to Node-RED
I'm using this DBpower camera, but if you go to ispyconnect.com, they have a large database of the URL connection details for hundreds of models.

Marko S

unread,
Mar 26, 2016, 2:57:53 PM3/26/16
to Node-RED
Is there any security issues with these wifi cameras vs an ethernet one or is it the same? :D

Dne sobota, 26. marec 2016 15.13.55 UTC+1 je oseba Mike Biddell napisala:

Mike Biddell

unread,
Mar 26, 2016, 3:39:26 PM3/26/16
to Node-RED
errrr I'm not a security expert. I would guess with a strong password (14 chars), the camera would be virtually un-hackable. A camera is networked whether via wifi or LAN ..... but there are security experts on here who could better answer your questions. @julian knight has good security knowledge and is a very helpful bloke.

Julian Knight

unread,
Mar 31, 2016, 4:29:16 PM3/31/16
to Node-RED
I resemble that remark!

In truth, using WiFi ALWAYS adds to the risk  (well virtually so anyway), no matter how you secure it. Assuming a cheap WiFi camera, you certainly cannot guarantee full safety. Having said that, the risks are generally fairly low unless you are a celebrity or live under a repressive regime (USA, we're watching you!).

To minimise the risk, you would choose a make that supports WPA2 encryption on the connection and delivers the output of the camera over an encrypted connection, e.g. HTTPS - though obviously you need to check how the stream is being delivered.

It is worth noting however that Israel has been in the news just this week over Palestinian militia accessing the video feeds from the Israeli drones - so this is obviously not an easy thing to get right.

Bottom line is that if you are using the camera to watch chicks hatch or see who is at the front door, the risk is negligible. If you are using it to monitor an internal space, just bear in mind who else might be using it. If it is on your desk, I recommend covering the camera when you decide to pick your nose!
Reply all
Reply to author
Forward
0 new messages