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

Hosting On My Own PC

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

Moderator: daj

intercomp
Posts: 8
Joined: Tue 13 Sep 2011 6:49 pm
Weather Station: WH1080
Operating System: Windows Small Bus Server 2003
Location: Essex
Contact:

Hosting On My Own PC

Post by intercomp »

Dear All,
I have just discovered and then installed Cumulus 1.9.1 :D

I am hosting my site from a server in the garage and it is all working well except I cannot get CumulusRealtime to update from the realtime.txt file. I know the problem is almost certainly with the path in CumulusRealtime.xml but I cannot for the life of me see what's wrong.

Because I am not hosting the site remotely my path is not an internet based URL but a local drive, so can anyone please help me with what I should set the realtimeURL statement to read.

The web site is hosted from C:\inetpub\wwwroot\ if that helps and realtime.txt is currently in that folder.

Any help would be gratefully received.

My weather station is at http://www.intercomp.org.uk
Today's Weather in Tolleshunt D'Arcy Looks Like This :

Image


http://www.darcyweather.co.uk
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: Hosting On My Own PC

Post by steve »

You'll have to use a URL and not a local file path, so you need to use http://www.intercomp.org.uk/realtime.txt
Steve
intercomp
Posts: 8
Joined: Tue 13 Sep 2011 6:49 pm
Weather Station: WH1080
Operating System: Windows Small Bus Server 2003
Location: Essex
Contact:

Re: Hosting On My Own PC

Post by intercomp »

Thanks Steve

I will give it a try

Best Regards
Today's Weather in Tolleshunt D'Arcy Looks Like This :

Image


http://www.darcyweather.co.uk
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Hosting On My Own PC

Post by gemini06720 »

As Steve indicated, you must use a URL and not a path - for my local/internal network I use:

Code: Select all

<realtimeURL>http://localhost/cumulus/realtime.txt</realtimeURL>
Depending how your server is being accessed (from a browser point-of-view), there are two possible ways of doing this (assuming the 'realtime.txt' file is in the root directory of your local server) :
  • - accessing your server using this URL: "http://localhost/"

    Code: Select all

    <realtimeURL>http://localhost/realtime.txt</realtimeURL>
    or
    <realtimeURL>http://127.0.0.1/realtime.txt</realtimeURL>
    - accessing your server using this URL: "http://www.intercomp.org.uk/"

    Code: Select all

    <realtimeURL>http://www.intercomp.org.uk/realtime.txt</realtimeURL>
intercomp
Posts: 8
Joined: Tue 13 Sep 2011 6:49 pm
Weather Station: WH1080
Operating System: Windows Small Bus Server 2003
Location: Essex
Contact:

Re: Hosting On My Own PC

Post by intercomp »

Got it going now.

There were two problems, the first was the URL, thank you both for helping me with that.

The other was a 2104 error in silverlight which I fixed by setting the MIME type in IIS

Once again thankyou for all your help

Regards

John

www.intercomp.org.uk/realtime/cumulusrealtime.html
Today's Weather in Tolleshunt D'Arcy Looks Like This :

Image


http://www.darcyweather.co.uk
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Hosting On My Own PC

Post by MickinMoulden »

intercomp wrote:Got it going now.

There were two problems, the first was the URL, thank you both for helping me with that.

The other was a 2104 error in silverlight which I fixed by setting the MIME type in IIS

Once again thankyou for all your help

Regards

John

http://www.intercomp.org.uk/realtime/cu ... ltime.html
I've got the same problem, in that realtime doesn't work and I host from my computer. But these explanations I don't understand. Where is the URL that I presume needs changing, and how do I know if I have a Silverlight error?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
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: Hosting On My Own PC

Post by steve »

MickinMoulden wrote:Where is the URL that I presume needs changing,
It's in the CumulusRealtime.xml file supplied with the Cumulus Realtime download. At the beginning of the readme.txt supplied, it says:

"Edit the file CumulusRealtime.xml to set the options. You will
need to change the "realtimeURL" and "sitename" at the very
least - unless you actually want to display my data!

The "realtimeURL" should be the URL of your realtime.txt file."

This is what those items look like as supplied:

<realtimeURL>http://www.sanday.org.uk/weather/realti ... ealtimeURL>
<sitename>Sanday weather</sitename>
and how do I know if I have a Silverlight error?
One way is to look at the "error console" in your browser when you load the page. In Firefox, you open it from the 'Web Developer" menu off the Orange Firefox menu.

If you give a link to your Cumulus Realtime page, I'll have a look.
Steve
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Hosting On My Own PC

Post by MickinMoulden »

Ok, sorry guys, I thought you were talking about the realtime gauges on the "gauges" page, which doesn't work for me. But now I have added the "Cumulusrealtime.html" page and made the changes to the .xml to read:
<realtimeURL>http://palmerston-weather.no-ip.org:888 ... ealtimeURL>
<sitename>Palmerston Weather</sitename>
. However, I come up with the Error:

Code: Select all

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.1.4322; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.3)
Timestamp: Mon, 19 Sep 2011 03:21:56 UTC


Message: 'console' is undefined
Line: 24
Char: 3
Code: 0
URI: http://10.1.1.3:8888/CumulusRealtime.html


Message: Unhandled Error in Silverlight 2 Application 
Code: 2104    
Category: InitializeError       
Message: 2104 An error has occurred.     

Line: 53
Char: 13
Code: 0
URI: http://10.1.1.3:8888/CumulusRealtime.html

By the way, the error "Console is undefined", appears on any webpage I visit, even if it's not mine.
Web page is http://palmerston-weather.no-ip.org:888 ... ltime.html
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
intercomp
Posts: 8
Joined: Tue 13 Sep 2011 6:49 pm
Weather Station: WH1080
Operating System: Windows Small Bus Server 2003
Location: Essex
Contact:

Re: Hosting On My Own PC

Post by intercomp »

When connecting to your realtime URL I get the 2104 error. I used Steve's post to cure the 2104 problem with my installation as shown below.

"The most likely cause is that your IIS installation isn't configured for Silverlight applications: http://learn.iis.net/page.aspx/262/conf ... lications/"

I do not get the "Console Undefined" message when connecting to your site so I suspect it could be a browser issue, especially as it happens when connecting to other sites.

Regards

John
Today's Weather in Tolleshunt D'Arcy Looks Like This :

Image


http://www.darcyweather.co.uk
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Hosting On My Own PC

Post by MickinMoulden »

I couldn't configure it. I couldn't even figure it out! I couldn't even find the Internet Information Services Manager. I do however have Silverlight 4 installed. Any ideas?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: Hosting On My Own PC

Post by uncle_bob »

MickinMoulden wrote:I couldn't configure it. I couldn't even figure it out! I couldn't even find the Internet Information Services Manager. I do however have Silverlight 4 installed. Any ideas?
IIS manager is under Administrative tools.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Hosting On My Own PC

Post by MickinMoulden »

I clicked on "Control Panel" then "Administrative Tools" and there is no IIS.
You do not have the required permissions to view the files attached to this post.
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: Hosting On My Own PC

Post by uncle_bob »

I'll have to take a stab in the dark as Web stuff isn't my thing, but are you actually running IIS, not php or something like that?
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
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: Hosting On My Own PC

Post by steve »

If you're not using IIS, then perhaps you are using Apache? Whatever web server software you are using, you need to configure it for the Silverlight MIME types.
Steve
intercomp
Posts: 8
Joined: Tue 13 Sep 2011 6:49 pm
Weather Station: WH1080
Operating System: Windows Small Bus Server 2003
Location: Essex
Contact:

Re: Hosting On My Own PC

Post by intercomp »

Are you hosting the site from your XP Machine or is it hosted by your ISP ?

If it is on your XP machine, what software are you using as a web server?
Today's Weather in Tolleshunt D'Arcy Looks Like This :

Image


http://www.darcyweather.co.uk
Post Reply