Sandaysoft

Support forum for Cumulus weather station software
It is currently Mon May 20, 2013 7:45 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  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: V.1.7.11
PostPosted: Tue Jun 24, 2008 4:57 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Yes, if you look at the source of my gauges page, you'll see the bit that embeds the SWF file - it's an 'object' tag and within that an 'embed' tag. I can't claim to fully understand it, but it's a standard way of embedding SWF. So basically, you could put it anywhere you want.

The SWF is rather basic at the moment, there are no parameters so it assumes you're using mph, the date format is always dd/mm/yy and you can't change the colours or anything. But I'll probably make it and the new gauges template available shortly anyway (it works with the existing release of Cumulus).

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Tue Jun 24, 2008 7:51 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Great - however I prefer the indicator needle on the original wind speed - looks more professional rather than the dress tie version - in any case, I am ready!

If the 928 updates every 14 seconds can we we xpect that for indicator updating as well!

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Tue Jun 24, 2008 9:22 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I can change the needle, probably even offer a choice of styles and colours etc. And the gauges probably need two needles for latest and average.

Currently the update interval is fixed in the SWF file at 3 seconds, so with Cumulus set to the same interval, for Davis stations it's pretty much a new value each update. But for Oregon stations it will only change every four or five updates at the current 3 second setting.

I'll attach the SWF and the new gauges template to this post, but basically, to make it work, you need to upload the SWF file to your web site to the same place as your web pages, turn on Cumulus Realtime in the internet settings, and add the following code to a web page:

Code:
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
         id="CumulusRealtime" width="600" height="300"
         codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
         <param name="movie" value="CumulusRealtime.swf" />
         <param name="quality" value="high" />
         <param name="bgcolor" value="#869ca7" />
         <param name="allowScriptAccess" value="sameDomain" />
         <embed src="CumulusRealtime.swf" quality="high" bgcolor="#869ca7"
            width="600" height="300" name="CumulusRealtime" align="middle"
            play="true"
            loop="false"
            quality="high"
            allowScriptAccess="sameDomain"
            type="application/x-shockwave-flash"
            pluginspage="http://www.adobe.com/go/getflashplayer">
         </embed>
      </object>


Steve


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

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 8:13 am 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
When adding gaugesT.htm to the web folder - do I need to add a reference in the user template section or will Cumulus find it due to the capital "T".

When setting the near-real-time box - you mentioned the Real-time is hard wired for the present- - so I expect there is nothing there to set.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 8:13 am 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
When adding gaugesT.htm to the web folder - do I need to add a reference in the user template section or will Cumulus find it due to the capital "T".

When setting the near-real-time box - you mentioned the Real-time is hard wired for the present- - so I expect there is nothing there to set.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 9:32 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Cumulus just looks for gaugesT.htm as one of the standard files to process, so you only need it to be in the right place (in the 'web' folder) and have the 'include standard files' box ticked in the internet settings.

The update interval is currently hard wired at 3 seconds in the Flash application, i.e. it reads the realtime.txt file every 3 seconds, but the upload interval in Cumulus is configurable to anything you want. You can either leave it set to the default 3 seconds, or maybe adjust it to the wind update frequency of your weather station - possibly 12 or 14 seconds for the WMR-928. The anemometer (and just about everything else) on my WMR-928 is broken, otherwise I could check.

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 11:24 am 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
OK - up and running. http://www.wheelocknet.net/cumulus/now.htm . Your code will not render in Firefox 3.0. When I loaded your gaugesT.htm in Dreamweaver and it gave me the message that some <object> tags would not work with later versions of IE (which is incorrect as it worked right out of the box with IE 7. However Dreamweaver said it could correct the code. When I said yes, it made its changes and generated a file called "AC_RunActiveContent" with instructions to upload it to the website. I did that and I now have your gauges running for Firefox and IE.

Do you wish me to send you the new page code and the AC_RunActiveContent.js code for review.

By the way - is there any way I might be able to remove the grey background from the wind rose.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 12:14 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I don't really understand that. I'm using Firefox 3, and sanday.org.uk doesn't have the AC_RunActiveContent.js file. It all seems to work fine for me exactly as it is, in FF2, FF3, IE6 and IE7. And Safari 3 on the Mac.

The wind rose background is (should be) the same colour as whatever you have the background set to in Cumulus. The uploaded version is just a grab of the gauge as it appears in Cumulus, so changing it is a bit tricky. Let me think about it...

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 1:23 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Well - you can always plan on my system to work differently than any other system around.

I see where to set the background color on the console - but, of course, there is no no colore (transparent) which might not work very well for the console.

I think everything is great - my wish list at this point is a needle-like indicator on the speed and direction dials, a matching windrose instrument (no need for near real-time), and the ability to display with a transparent background.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 1:34 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
So does http://sanday.org.uk/weather/gauges.htm not render properly on your system?

The background on the wind rose issue is really annoying, because that one is actually transparent! For some reason, the routine that saves the image also saves the background from the window itself. I can't work it out.

Quote:
a needle-like indicator on the speed and direction dials


Yes, no problem.

Quote:
a matching windrose instrument (no need for near real-time)


When you say "matching", you mean matching these two Flash ones?

Quote:
display with a transparent background


Including the Flash ones?

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 2:18 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Yes - displays perfectly - just another temporary glitch on my end - never beleive any of my problems are yours until at least two other users report the same.

Yes - I would like the wind rose to match the style of the flast dials. And, yes, transparant backgrounds for the flash dials, if possible - at least outside the round dial - inside they will look equally nice they way they are now inside the round dial.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 2:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I've been experimenting with the Flash - see http://sanday.org.uk/weather/gauges.htm

I've made the application background transparent and set the background colour in the html to white. But I seem to have some sort of gradient thing going on. Oh well, it's progress of a sort.

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Wed Jun 25, 2008 3:41 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Yes - it is getting better and better with each iteration.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Thu Jun 26, 2008 4:20 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17558
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I've managed to get the SWF application and the html wrapper to have a transparent background (see http://sanday.org.uk/weather/gauges.htm). I've made the update period configurable via the html wrapper, and I've created a web tag so that the SWF period can automatically be the same as the Cumulus update period. All of this is changeable to suit individual taste by editing the html wrapper.

I've tried to get the non-flash gauges to be uploaded with transparent backgrounds, but it's proving difficult. I may continue trying later. Making the wind rose look like the flash gauges is very hard as they are generated using two completely different technologies, so I probably won't be able to do that.

So basically I think I'm finished playing with gauges for now and these will be the ones in the next release.

Steve

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: V.1.7.11
PostPosted: Thu Jun 26, 2008 8:45 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
It looks terrific Steve. I can't wait. You deserve a break from the instruments.

GW

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  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