Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

2 cumulus on 1 webpage

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
max2621

2 cumulus on 1 webpage

Post 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
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 2 cumulus on 1 webpage

Post 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.
Steve
max2621

Re: 2 cumulus on 1 webpage

Post 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
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 2 cumulus on 1 webpage

Post 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.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: 2 cumulus on 1 webpage

Post 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.
Steve
max2621

Re: 2 cumulus on 1 webpage

Post 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. :D


Best regards max2621
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 2 cumulus on 1 webpage

Post by Synewave »

Do you have the same camera D-Link DCS-5300G?
max2621

Re: 2 cumulus on 1 webpage

Post 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.
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 2 cumulus on 1 webpage

Post 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.
max2621

Re: 2 cumulus on 1 webpage

Post 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
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: 2 cumulus on 1 webpage

Post 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.
max2621

Re: 2 cumulus on 1 webpage

Post by max2621 »

Thanks Paul, I think this helps. I am asking for the first time within this forum. thus forgive the mistakes,

regards Walter
Post Reply