Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Embedded web cam and DDNS

Hardware/software/hints and tips/discussion/webcam links etc
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Embedded web cam and DDNS

Post by vaggos »

All the script with port 80.

Code: Select all

<img src="httP://cheddarweathercam.no-ip.org:80/CGIProxy.fcgi?cmd=snapPicture2&usr=visitor&pwd=visitor&t=" width="100%" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1800000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' alt='cheddarweather web cam' />
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
andrew_sinclair
Posts: 85
Joined: Thu 04 Nov 2010 8:15 pm
Weather Station: Davis VP2 Plus c/w DFARS
Operating System: Buster rPi
Location: Cheddar, Somerset
Contact:

Re: Embedded web cam and DDNS

Post by andrew_sinclair »

Many thanks, I will try that. Thanks also for your patience!
Windy: f065d04a
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Embedded web cam and DDNS

Post by vaggos »

This http://cheddarweathercam.no-ip.org:80 and of course this http://cheddarweathercam.no-ip.org is working. But you have also to port forward yous static ip of your cam to this port. It will better if you port forward it to another port.
Check again the script. It must be like this:

Code: Select all

<img src="http://DDNSorISPIPAddress:PortForCamera/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=YourPassword&t=" onload='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 1000)' onerror='setTimeout(function() {src = src.substring(0, (src.lastIndexOf("t=")+2))+(new Date()).getTime()}, 5000)' alt='' />
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Embedded web cam and DDNS

Post by vaggos »

your wellcome.
But try the link in foscam i gave you before. Its much better.
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
User avatar
andrew_sinclair
Posts: 85
Joined: Thu 04 Nov 2010 8:15 pm
Weather Station: Davis VP2 Plus c/w DFARS
Operating System: Buster rPi
Location: Cheddar, Somerset
Contact:

Re: Embedded web cam and DDNS

Post by andrew_sinclair »

I have tried the link you sent me and this will work better I am sure. Now all I have to do is remove the spider who builds a web across the lens of the camera :lol: :evil: :twisted: :groan: :bash:

Anyway, I am so grateful :clap:
Windy: f065d04a
User avatar
andrew_sinclair
Posts: 85
Joined: Thu 04 Nov 2010 8:15 pm
Weather Station: Davis VP2 Plus c/w DFARS
Operating System: Buster rPi
Location: Cheddar, Somerset
Contact:

Re: Embedded web cam and DDNS

Post by andrew_sinclair »

One thing I have noticed...when using no-ip.org DDNS service there is the option to "Mask URL" which stops my actual IP address being visible in the location bar. Ideally I would like this to be masked. However when masked the link is broken in the embedded web cam frame and when not masked it works fine. I think this make be at the root of my problem. I just noticed it when amending the code as suggested.
Windy: f065d04a
User avatar
vaggos
Posts: 160
Joined: Sat 06 Feb 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Embedded web cam and DDNS

Post by vaggos »

Its not so Ideal to show your ip. Even you use cheddarweathercam.no-ip.org, everyone can ping this and find your ip. For this reason i suggest to you to use the security script for foscam or any other script with PHP.
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft
Post Reply