Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 19, 2013 11:00 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  [ 14 posts ] 
Author Message
 Post subject: instruments for templates
PostPosted: Wed Jun 11, 2008 7:48 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
Steve -
Do you have any plans for instruments for your templates or do you know if your data descriptors work with any current java instruments available for other applications as FreeWX.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 12, 2008 9:20 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
George,

I'm not really sure what these are? Fixed 'pictures' of the current conditions, or 'animations' that move and display the data in near real time? Could you point me at an example?

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 12, 2008 2:07 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
For example: http://www.dandmbr.co.uk/jsgraphit/fwxcdemo.htm although I prefer the instruments on your console. The above javascript applets take the tags from FreeWX weather console and apply then to templates similar to your xxxxT.htm before upload to a website.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 12, 2008 4:39 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I do plan to make the three wind gauges on the main screen 'uploadable' to the web, at some point.

Regarding the javascript ones you've mentioned, it would just be a case of replacing the FreeWX tags with the Cumulus equivalents. Except that FreeWX has many more tags than Cumulus. I've had a play with their template and changed most of the ones that Cumulus currently has, and the result is here: http://www.sanday.org.uk/weather/instr.html

So, you could use the ones which use tags which Cumulus supports, but even in the ones that work, most of the 'mouseovers' have things in them which Cumulus doesn't supply. I could add them, of course.

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 12, 2008 9:07 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 - I still prefer your gauges, however. Perhaps you might share the modified templates as their result suits me perfectly. My site is wheelocknet.net/cam. It was running FreeWX until I stumbled on Cumulus.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Fri Jun 13, 2008 7:37 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Basically, what I did was amend the section at the end of the sample template supplied with the instrument package (and as described in the "code.txt" file), to look like this:

Code:
<script language="JavaScript1.2" type="text/javascript">
var tempunits = "<#tempunit>"
var tempos = new Array("<#temp>","<#tempTL>","<#tempTH>","~~WEBOTTRD10~~")
var tempis = new Array("<#intemp>","~~WEBTINTMIN~~","~~WEBTINTMAX~~","~~WEBITTRD10~~")
var tempex1 = new Array("~~WEBCH1TEMP~~","","","")
var tempex2 = new Array("~~WEBCH2TEMP~~","","","")
var tempdp = new Array("<#dew>","~~WEBTDWPMIN~~","~~WEBTDWPMAX~~","~~WEBDPTRD10~~")
var temphi = new Array("~~WEBHEATIDX~~","","","")
var tempwc = new Array("<#wchill>","~~WEBTCHLMIN~~","","")
var humos = new Array("<#hum>","~~WEBTHUMMIN~~","~~WEBTHUMMAX~~","~~WEBOHTRD10~~")
var humis = new Array("<#inhum>","","","~~WEBIHTRD10~~")
var humex1 = new Array("~~WEBCH1HUMI~~","","","")
var humex2 = new Array("~~WEBCH2HUMI~~","","","")
var cloudbase = "~~WEBHTCUCLD~~";
var raintoday = new Array("<#rfall>","<#windunit>","<#rrate>","<#rrateTM>");
var winddata = new Array("<#wspeed> <#windunit>","~~WBNWINDGSD~~","<#wspeed>","<#bearing>","~~WEBTGSTMAX~~");
var hwdir = new Array("");
var hwspd = new Array("");
var wsu = "<#windunit>";
var bardata = new Array("<#press>","<#pressunit>","<#presstrend>","<#pressTH>","<#pressTL>");
var TempColor = "";
var HumColor = "";
var RainColor = "";
var WindAvgColor = "";
var WindGustColor = "";
var WindHistColor = "";
var CloudTextColor = "";
var AnalogBaroTextColor = "";
var AnalogBaroNeedleColor = "";
var ExtraSensor1Name = "Garage";
var ExtraSensor2Name = "";
</script>
<script language="JavaScript1.2" type="text/javascript" src="dbimages/boxover.js"></script>
<script language="JavaScript1.2" type="text/javascript" src="dbimages/dashboard.js"></script>


I guess to be tidy, I should have replaced all the other FreeWX ones that Cumulus doesn't have, with "".

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 19, 2008 8:12 am 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
steve wrote:
I do plan to make the three wind gauges on the main screen 'uploadable' to the web, at some point.

Regarding the javascript ones you've mentioned, it would just be a case of replacing the FreeWX tags with the Cumulus equivalents. Except that FreeWX has many more tags than Cumulus. I've had a play with their template and changed most of the ones that Cumulus currently has, and the result is here: http://www.sanday.org.uk/weather/instr.html

So, you could use the ones which use tags which Cumulus supports, but even in the ones that work, most of the 'mouseovers' have things in them which Cumulus doesn't supply. I could add them, of course.

Steve


Hi - is that new "instr.html" available on the new version of cumulus or is this just something you have been trying, I certainly like the look of it

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 19, 2008 11:20 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Hi Paul,

It's just the one that comes with the instrument package, modified to work with Cumulus tags instead of FreeWx ones. Basically all you need to do is download the package and follow the instructions for installing it, but edit the supplied example so that the last section looks like the code I posted above. Then get Cumulus to upload it by adding it to the files section in the internet settings (making sure to tick the 'process' box). It's easier than it sounds :)

I'm going to try to put a few more of the tags into the next version of Cumulus so that more of the instruments work properly.

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 19, 2008 1:55 pm 
Offline
User avatar

Joined: Thu Jun 19, 2008 7:45 am
Posts: 281
Location: Brampton, Cumbria, UK
Weather Station: Davis VP2 with solar
Operating System: Windows XP SP3
steve wrote:
Hi Paul,

It's just the one that comes with the instrument package, modified to work with Cumulus tags instead of FreeWx ones. Basically all you need to do is download the package and follow the instructions for installing it, but edit the supplied example so that the last section looks like the code I posted above. Then get Cumulus to upload it by adding it to the files section in the internet settings (making sure to tick the 'process' box). It's easier than it sounds :)

I'm going to try to put a few more of the tags into the next version of Cumulus so that more of the instruments work properly.

Steve


Nothing is "easier" than it sounds when it comes to computing and me, I thought you would have know that by now
:o :o

_________________
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk | http://www.bramptonweather.co.uk/cumulus |
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Thu Jun 19, 2008 3:17 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
But you've got it working with only a tiny bit of extra help! :)

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Sat Jun 28, 2008 9:47 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
I understand that the "windrose" is reporting relative wind strenght and direction over the past hour. Is it possible for you to provide a tag to report the MAX wind for that period similar to <#avgbearing>?

Will your next version wind speed indicator sport the green and red arc as displays on the console? They provide valuable data.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Sun Jun 29, 2008 11:40 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
gwheelo wrote:
I understand that the "windrose" is reporting relative wind strenght and direction over the past hour. Is it possible for you to provide a tag to report the MAX wind for that period similar to <#avgbearing>?


Max 10-minute average over the last hour, or max gust over the last hour? Actually, it doesn't matter which, I can do tags for both. I'll put them in 1.7.12.

Quote:
Will your next version wind speed indicator sport the green and red arc as displays on the console? They provide valuable data.


You mean in Cumulus 2? I think the wind speed indicator will be very similar to the current one, yes.

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Sat Jul 05, 2008 12:12 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17552
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Sorry, the new tags didn't make it into this release.

Steve

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


Top
 Profile  
 
 Post subject: Re: instruments for templates
PostPosted: Sat Jul 05, 2008 10:02 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
Can't have everything!

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


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