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 4019) - 03 April 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

Presenting data on the web, how?

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

Moderator: daj

Post Reply
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Presenting data on the web, how?

Post by Master120 »

So I know nothing (yet) about displaying real-time Cumulus data on a web site.

Do I have to write codes if I use CumulusRealtime.
Is there any help available on how to get started.

I have a WS2350 working whith Cumulus and in need to get data out on the web.

Thanks
Last edited by Master120 on Mon 18 Jan 2010 4:58 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Presenting data on the web, how?

Post by steve »

If you already have Cumulus set up for uploading html pages and the realtime.txt file, then the readme.txt file in Cumulus Realtime should have all you need to get it working.
Steve
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

I have still some things I dont understand.
What to do with the cumulusrealtime.html and -xml file whitch is in the zip file?

Do I have to modify my index.html file?

This microsoft silverlight, do I need to install?

J
Last edited by Master120 on Mon 18 Jan 2010 4:59 pm, edited 1 time in total.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Presenting data on the web, how?

Post by daj »

Hi J

The .html file is the page used to display the CumulusRealtime data. It pulls all the components together onto the browswer.

In order for a user of the page to view the information they need to have installed Silverlight on their own PC (just like, Flash, etc). They will be asked to download this if they do not have it.

What do you need to do:

Edit the CumulusRealtime.XML files (this is just a configuration document). You need to change the bit after <realtimeURL> to tell it where realtime.txt is on your webserver. You should also change the <sitename> to whatever yours is called.

Once done, upload CumulusRealtime.xml, CumulusRealtime.html and CumulusRealtime.xap to your webserver.

If all has worked, when you open CumulusRealtime.html in a browser on your website it will show some nice images, etc.

If you are happy with how it works, you would normally edit the index.html file to allow users to find your CumulusRealtime, otherwise they do not know it is there -- let's worry about that change later.

If you are still stuck, tell us your website address so that I can be more specific with the detail above.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Presenting data on the web, how?

Post by daj »

there is now an article on CumulusRealtime installation in the Wiki

http://wiki.sandaysoft.com/a/CumulusRealtime
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

Thanks for your help, I got it working.
I now have the guages showing. And they look NICE.

I yet have some problems to solve.
Cumulus seem to upload data, it logs in, uploads and log out, when i press web-update.
And I noticed that my server do get information(files).

But the guages-page only show loading data.

Question:
What should the Sites/options directory field look like, in cumulus.
Could someone give me an example?

J
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Presenting data on the web, how?

Post by steve »

Yours won't necessarily need the same options set.
settings.png
It's very difficult to say what the problem is with your realtime gauges without a link to your site.
You do not have the required permissions to view the files attached to this post.
Steve
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

I don't get it.

Sitename in the xml file is not that important, right?
Should work anyway.

My realtime.txt is uploaded, then the guages should react, right?

I use a 'net to ftp client' as my server, problem?

A lot of png files gets uploaded, can not see any on them on the web. :evil:

When I go to my webpage lookin at the guages uppercorner reads:
Clipboard01.jpg
Problem?

What have I done wrong?

J
You do not have the required permissions to view the files attached to this post.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Presenting data on the web, how?

Post by daj »

Please tells us your website address -- this will help us in tracking down your problem.

the fact that you say a lot of files are being uploaded but you can not see them suggests your 'directory' in your web setup (example two posts above) is wrong. Typically this will be something like /html

See this article here too for some help -- http://wiki.sandaysoft.com/a/Simple_Website_setup
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

Last edited by Master120 on Mon 18 Jan 2010 5:01 pm, edited 1 time in total.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Presenting data on the web, how?

Post by daj »

Ok, thanks

Let's not have both as there is no need. :o

I will assume http://www.netikka.net/js-page/weather/ ... ltime.html

You do not have the CumulusRealtime.xml file loaded. When I try to open it I get an error, try it.....

http://www.netikka.net/js-page/weather/ ... altime.xml

See this wiki article on configuring Cumulus Realtime -- http://wiki.sandaysoft.com/a/CumulusRealtime It tells you exactly how to configure and what to upload
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

So there it was, when editing the xml file I renamed it not to overwrite the old one, that was totally wrong. :bash:

realtime.xml was uploaded instead of cumulusrealtime.xml

I bow and say thank you.
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Presenting data on the web, how?

Post by daj »

great -- glad you got it working
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Master120
Posts: 29
Joined: Wed 13 Jan 2010 6:20 am
Weather Station: ws2350
Operating System: XP
Location: Finland

Re: Presenting data on the web, how?

Post by Master120 »

Is this available for dowload, I can't find the code for it.

J
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Presenting data on the web, how?

Post by steve »

That's one of the set of standard pages supplied with Cumulus. See 'Creating a web site' in the help.
Steve
Post Reply