Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat May 25, 2013 3:32 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 276 posts ]  Go to page 1, 2, 3, 4, 5 ... 19  Next
Author Message
 Post subject: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 4:51 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Cumulus Realtime Gadget updated to Version 2.3IH (6. March 2011)
- accept https:

Update 2011-01-05:
Do not use the local realtime.txt version "for real": the gadget will run fine for a while, but will hang after an unpredictable lapse of time - no matter what I do in the code :(

Cumulus Realtime Gadget updated to Version 2.2IH (21. October 2010)
- accept new additional fields (up to 58) in realtime.txt
- display "not updating" in red if date/time in realtime.txt does not change over 10 intervals

Update 2010-07-16: (version not changed: still called version 2.1IH):
- modified code to handle local realtime.txt. New code uploaded.

Update 2010-07-12: Version 2.1IH:
new optional settings.ini parameter: usdate = "/" causing US-date format in output, with the specified separation char.

Update 2010-07-09 18:45: Code updated. Version no. not changed.
New: site name (the url/path minus the 'realtime.txt' bit) may be shown above the temperature (in color: lime)
Controlled by a new paramter in the settings.ini: sitename = 1. Default: anything else = no site name
(this was an old request (Janter?))
For info: the latest code has been running flawlessly against a local file for about 24 hours now....

Update 2010-07-08 23:00: Code and document updated.
Do not use the local realtime.txt version "for real": the gadget will run fine for a while, but will hang after an unpredictable lapse of time - no matter what I do in the code :(

Change in Version 2.0IH: (8. July 2010)
- modified the code to allow reading a realtime.txt file from your local system (without a web server)
---------------------------------------------------------------------------------------------------------
I have created a small document describing the gadget:
Attachment:
Cumulus Realtime Gadget.pdf


Cumulusih.gadget version 2.3IH for download:
Attachment:
cumulusih.zip


_____________________________________________________________________________________________

Requires fairly recent Cumulus 1.8.9 (or later).

Download, change filetype from .zip to .gadget, and double-click to install.

The settings.ini file (and the changes.txt) is in:
C:\Users\<username>\AppData\Local\Microsoft\Windows Sidebar\Gadgets\cumulusih.gadget

Sample screen output below.

Attachment:
Day.JPG

Attachment:
Night.JPG


You do not have the required permissions to view the files attached to this post.


Last edited by dane on Sun Mar 06, 2011 7:35 pm, edited 10 times in total.
code and doc. update


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 6:14 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Hi, I've just tried out your modified gadget based on the original one, which I like others had problems with.

However, even with this one it doesn't seem to work. The gadget installs OK, and I altered the settings.ini file as you explained above.

My website is www.imagearchitect.co.uk and Cumulus is installed in a folder called weather, there is a realtime.txt file in that folder, and going direct to www.imagearchitect.co.uk/weather/realtime.txt opens the text data in a browser window, i.e. it is there and is ok.

Unfortunately the gadget sits there with a blank screen other than displaying the labels: Humidity, Rainfall, Wind speed, Direction, Pressure

I've double checked the address in the gadget settings and the .ini file and they do point to http://www.imagearchitect.co.uk/weather/realtime.txt

I have a PC running Windows 7 Home Premium.

Any advice or help would be appreciated!

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 6:50 pm 
Offline
User avatar

Joined: Mon Jun 15, 2009 4:43 am
Posts: 214
Location: Sahuarita, AZ, USA
Weather Station: Zephyr TD-1000
Operating System: Windows 7
Does the same here (again like earlier versions)...no data populated and no icon on the top half. But nobody promised me icons either.

_________________
Steven

Image

http://cactusjunction.info/weather


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 7:14 pm 
Offline

Joined: Wed Dec 31, 2008 1:56 pm
Posts: 228
Location: Poole, Dorset UK
Weather Station: Maplin WH1081PC
Operating System: Windows 7 Home Premium 64 BIT
I am also having problems, I can not get it to install I have renamed the file name to cumulusih.gadget and when I double click on it it does nothing. I have tried to open it with Windows gadget and nothing happens as well.

_________________
Regards
Michael.

CWOP: DW2423
My Weather website http://branksomeweather.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 9:35 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
sorry about the problems you're having :!:
I am not familiar with javascript or http-request coding :?

I have done some debugging and found that the gadget returned a 'method not allowed' for the http://www.imagearchitect.co.uk/weather/realtime.txt (many thanks for providing the link for testing!).
A change to the code seemed to make it work - at least for this URL.

If you still want to try, the changed version 1.5IH can be downloaded from the first, updated post.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 10:06 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Brilliant! It works!

Thanks for sorting that, and it all works fine now. Just installed it on my mothers laptop too.

Between you both, you've developed a brillant Windows Gadget!

Steve J

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:08 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Steven and Michael:
this is what the gadget shows for your realtime.txt:
Attachment:
cactus.JPG
Attachment:
M1DUL.JPG


You do not have the required permissions to view the files attached to this post.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:21 pm 
Offline
User avatar

Joined: Mon Jun 15, 2009 4:43 am
Posts: 214
Location: Sahuarita, AZ, USA
Weather Station: Zephyr TD-1000
Operating System: Windows 7
Notice there's no F to C conversion ? Both my temps are in F or is that the Low/High for the day?

dane wrote:
Steven and Michael:
this is what the gadget shows for your realtime.txt:
Attachment:
cactus.JPG
Attachment:
M1DUL.JPG

_________________
Steven

Image

http://cactusjunction.info/weather


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:31 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Hi again,

Thanks for that!

Yes mine is working perfectly now, and so was the one installed on my mothers laptop when she tried it earlier.

It is interesting to see how it shows different data on your screenshot to mine - yours shows hPa for pressure whilst mine shows mb, as on my weather station and Cumulus and the website page. Out of interest, how does it know to, or is able to show data in different ways on the gadget? I am interested to understand how it can do that.

See attached image.

So I am VERY pleased with this gadget! Thanks!

Steve
Attachment:
gadget_screenshot.jpg


You do not have the required permissions to view the files attached to this post.

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:34 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Quote:
how does it know to, or is able to show data in different ways on the gadget?

Because the realtime.txt contains information about your settings for wind, pressure, temperature, and humidity.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:43 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Quote:
Notice there's no F to C conversion ? Both my temps are in F or is that the Low/High for the day?

The 2 temperatures are the current temperature and wind chill. (Sorry: may not be too relevant to you...)
They are both F because that's what they are in the realtime.txt. No conversion done.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:46 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Yes, I realise that, but your screenshot of the gadget pulling my information from my webserver to your gadget displayed it differently, i.e. hPa rather than mb as I have it set in Cumulus and on my weather station - and presumably as it uploads it in the realtime.txt file? So I was just curious to know how it therefore shows it as an hPa value in your gadget? Do you see what I'm getting at? Just curious to understand it!

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sun Jan 10, 2010 11:53 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
:?:
I didn't append a screenshot of the gadget showing your realtime.txt, did I :?:
But I can:
Attachment:
Steve.JPG


You do not have the required permissions to view the files attached to this post.

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Mon Jan 11, 2010 12:00 am 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
dane wrote:
Steven and Michael:
this is what the gadget shows for your realtime.txt:
Attachment:
cactus.JPG
Attachment:
M1DUL.JPG



Sorry! Am a bit confused then about your earlier post on the previous page where you showed a screenshot of the gadget with the text, as quoted above.

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Mon Jan 11, 2010 12:06 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Quote:
Sorry! Am a bit confused then about your earlier post on the previous page where you showed a screenshot of the gadget with the text, as quoted above.

Ah - that was Steven aka akasonny, Cactus Junction, not Steve!

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 276 posts ]  Go to page 1, 2, 3, 4, 5 ... 19  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group