Sandaysoft

Support forum for Cumulus weather station software
It is currently Fri May 24, 2013 10:33 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 Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 19  Next
Author Message
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Tue Apr 27, 2010 8:36 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
PeterP wrote:
Hi all,
can anyone help?
My gadget is reporting perfectly, but I have no weather icons, only the data.
Peter

Reason is: your weather station is a Davis with its own forecast, so you probably did not select the Cumulus forecast.
And this gadget uses the Cumulus forecast numbers to differentiate between weather backgrounds.

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Tue Apr 27, 2010 10:48 am 
Offline
User avatar

Joined: Tue Apr 21, 2009 4:03 am
Posts: 58
Location: Coromandel, New Zealand
Weather Station: Davis VP2
Operating System: Vista
Brilliant, thanks Dane, all fixed...Welldone.

_________________
Peter Pritchard
http://coromandeltownweather.net


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat May 08, 2010 11:53 pm 
Offline

Joined: Sun Apr 18, 2010 9:47 am
Posts: 251
Location: Karoonda, SA
Weather Station: WH-1081
Operating System: Windows 7, Home Premium
Hi all Gadgeteers,

I'm new to Cumulus and putting up a web presence for my WH-1081 data, but it sure is fun.

Just over a day ago I started playing with the Gadget and thought, wow, this is fantastic. Thanks to all those who have come before me and developed this little app and ironed out all the bugs.

Only issue that bothered me was forecast. Most images are used for multiple forecasts making it hard to tell what Cumulus is really indicating through the Gadget. Last night I went through and duplicated the images as numbers (00-28) for both day and night, adding forecast descriptions at the top (as listed in gadget.js) for each image. I also changed gadget.js file names to match the new png files (00.png, 01.png, 02.png ... 28.png).

The changes are working fine for me. I've attached a ZIP of the changed images and have included the changed gadget.js file as well.

Bob

PS Has anyone added a Location to their Gadget?


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

_________________
Bob

Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jul 08, 2010 12:28 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
Version 2.0IH available from first post of this thread.
New in this version: will allow reading from a local realtime.txt file.
(I know :) : if you want a realtime.txt file, Cumulus1 requires you to have a website and will always upload realtime.txt - in addition to storing it locally. But I had the request, and I thought it would be fun to see if I could do the mod :D )

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jul 08, 2010 3:50 pm 
Offline

Joined: Mon Jul 05, 2010 4:49 pm
Posts: 7
Location: Køge Denmark
Weather Station: VH1090
Operating System: Win7
dane wrote:
Version 2.0IH available from first post of this thread.
New in this version: will allow reading from a local realtime.txt file.
(I know :) : if you want a realtime.txt file, Cumulus1 requires you to have a website and will always upload realtime.txt - in addition to storing it locally. But I had the request, and I thought it would be fun to see if I could do the mod :D )


It works :) ...only he forecast graphics are missing.. does that work on your PC?


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jul 08, 2010 3:57 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
Yes, it works on my PC, too.
If you do not have any forecast backgrounds (only a blue window), maybe you did not tell Cumulus to generate forecasts?
(Configuration-->Station: tick mark in lower right hand corner)

You may find that the gadget stops after a while if you are using a local realtime.txt.
I am investigating - have reshuffled the code slightly to prevent this hang. Will update code when/if I find the cause.

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jul 08, 2010 9:09 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
Warning: do not use the local-file version "for real"!

If you run the gadget with input from a local realtime.txt file, the gadget will run happily for an unpredictable length of time, then hang :(

Problem: the code hangs in an OpenTextFile(realtime.txt) - and gets stuck.
The OpenTextFile method does not give a return code that might indicate that the file was in use (e.g. being updated by Cumulus) - it simply never returns. :(

Well - it was fun trying to do this. Too bad Microsoft wouldn't play along :bash:

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Fri Jul 09, 2010 4: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
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....

The new code is in the first post of this thread.

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Fri Jul 09, 2010 11:21 pm 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Dane
I'm having trouble running the new gadget. Would you be able to post a copy of your settings.ini please? It's probably the way I am trying to read a local realtime.txt on a mapped Z:\realtime.txt. Cumulus directory is mapped as Z:

For some reason it also doesn't recognise the changes in the settings.ini i.e Changed the refresh time to 60 from 10.

Downloaded a fresh gadget and tried again and it now works.
Still not sure how to name it though?


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

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Fri Jul 09, 2010 11:40 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
Terry,
your settings.ini looks OK to me. So not much point in my sending you another one.

Quote:
Still not sure how to name it though?

You mean: getting a "sitename" on your gadget display?

"Site name" is simply whatever is in front of the 'realtime.txt' file specification, so in your case, with a "z:realtime.txt" the "sitename" would be "Z:" (...actually "z::" as I apppend a colon...).
The gadget for your website would be:
Attachment:
janter.PNG


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: Sat Jul 10, 2010 4:42 am 
Offline
User avatar

Joined: Tue Sep 09, 2008 3:37 am
Posts: 696
Location: Auckland, New Zealand
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 7 Pro
Thanks Dane.
Displays Z:
Perhaps it would be better in this case to display an ascii $ to put in a name? Z: means very little to people on the network.

All seems to work well though. I was sometimes losing the connection when sourcing the Internet realtime so it will be interesting to see how this goes.

Beautiful winters day in Auckland.


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

_________________
Terry Wiltshire
http://www.janter.co.nz/weather/index.htm
Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Jul 10, 2010 7:44 pm 
Offline

Joined: Wed Jul 07, 2010 3:26 am
Posts: 17
Weather Station: wh-1082
Operating System: win 7
GREAT Gadget....however I can't seem to get the .ini OR modifications I've made to the index.html to actually show up. I unloaded the gadget, made the changes and then installed the gadget assuming it would install using the changed .ini and .html. It didn't. I don't know where it's getting it's information. I want to eliminate the lime green location ID and do away with the 2nd temp after the slash and don't seem to be able to make any changes that do anything. What am I missing?


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Jul 10, 2010 8:37 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
mikeflight wrote:
GREAT Gadget....however I can't seem to get the .ini OR modifications I've made to the index.html to actually show up. I unloaded the gadget, made the changes and then installed the gadget assuming it would install using the changed .ini and .html. It didn't. I don't know where it's getting it's information. I want to eliminate the lime green location ID and do away with the 2nd temp after the slash and don't seem to be able to make any changes that do anything. What am I missing?

You cannot do away with the 2nd temp after the slash - the code always puts something there. You may choose what to put there: the default or any field from realtime.txt, but the code insists that something mustl go there :) (feel free to modify the code :D ).
To eliminate the green site name: simply do not specify anything for sitename in settings.ini: delete the line (Defaults is no site name).

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Jul 10, 2010 8:41 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
Correction: if you specify a negative value for temperature2 in the settings.ini, e.g. -49, you will get no slash and no 2nd value.
Quote:
I unloaded the gadget, made the changes and then installed the gadget assuming it would install using the changed .ini and .html. It didn't.

Where did you make your changes? in the installed files on your c:drive? and then re-installed the gadget on top of them again?
Suggest you make the changes in the installed files:
C:\Users\<username>\AppData\Local\Microsoft\Windows Sidebar\Gadgets\cumulusih.gadget
and just restart the gadget: right-click somewhere on your desktop, select gadgets, and double-click the gadget.

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Sat Jul 10, 2010 8:55 pm 
Offline

Joined: Wed Jul 07, 2010 3:26 am
Posts: 17
Weather Station: wh-1082
Operating System: win 7
Sorry...I guess I jumped too quickly to ask the forum. Figured out that I had to make the changes in the ORIGINAL package from you....THEN install. All is good. THANKYOU


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 276 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users 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