Page 1 of 1
2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 2:47 pm
by max2621
I do have two different cumulus systems in different areas and want to put the results on one webpage.
Is there any Howto#s for this situation?
Thanks for your help
max2621
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 2:57 pm
by steve
You couldn't do it with a simple html web page. You would have to have a page which read the data from a separate file, using PHP or javascript etc. Each copy of Cumulus would have to upload a file which the script would then read.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 3:18 pm
by max2621
Thanks Steve for your quick response. Does it mean it would be possible to use a html webpage wich is connected ( I hope I do use the right wording) to two different cumuluswebtags.php files wich can be uploaded to my host??
If yes is there any howto about the inclusion of cumuluswebtags.php into html.
Sorry for the perhaps silly questions, but as you see I am a beinner.
max2621
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 3:20 pm
by Synewave
steve wrote: Each copy of Cumulus would have to upload a file which the script would then read.
That's how I do it on my status pages (the bottom part of the page). But both Cumulus websites are hosted on the same server, just in seperate directories.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 3:39 pm
by steve
I can only give you theory, because I haven't actually done any of this myself, but I imagine you would do it as for a single file -
http://wiki.sandaysoft.com/a/Php_webtags - but you would have two differently named web tag files, and in the second one you would rename all of the variables so as not to clash with the first set.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 3:49 pm
by max2621
Synewave wrote:steve wrote: Each copy of Cumulus would have to upload a file which the script would then read.
That's how I do it on my status pages (the bottom part of the page). But both Cumulus websites are hosted on the same server, just in seperate directories.
Dear Synewave,
This looks good for me and if I am corrct and understand Steves answer as well it should be possible by using two different cumuluswebtag.phps and renaming variables.
Synewave I am impressed by your webpages especially the Le Hamel Weathercam page. I am trying to include a webcam and different buttons to move the camera on the page. You have exactly this system on your page.
If I may ask, is it possible to get the script from this part??
Thanks again for the quick answers. I think the problem is solved.
Best regards max2621
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 4:09 pm
by Synewave
Do you have the same camera D-Link DCS-5300G?
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 4:46 pm
by max2621
No. I do have a panasonic BLC 31 camera and two wireles IP PTZ cameras from Shenzen wich ork excellent but only in IE Explorer.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 4:57 pm
by Synewave
I think the camera movement code is specific to the make of the camera.
The way I found out the code is browse to the local ip address of your camera which should bring up the manufacturers webpage from the webserver built in to the camera. Then browse the source of that page and identify the code for each button.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 5:13 pm
by max2621
Thanks Steve, I will try.
Nonetheless, is it possible to get part of your script to use it with changes (camera etc) within my page??
Even if not thanks for your help
Walter
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 5:19 pm
by Synewave
It's Paul!
The code I use is
Code: Select all
<a style="text-align: center; vertical-align: bottom;" href="http://yourowndomainname.co.uk:5000/cgi-bin/camctrl.cgi?move=right"><img style="border: 0px;" src="myimages/cameraright.png" width="45" height="45" alt="Move Right" title="Move Right" /></a>
to move the camera right for example.
But your camera may use a different port number, folder name, and cgi filename etc.
This should really be in the webcam thread now.
Re: 2 cumulus on 1 webpage
Posted: Fri 11 Feb 2011 5:33 pm
by max2621
Thanks Paul, I think this helps. I am asking for the first time within this forum. thus forgive the mistakes,
regards Walter