Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

beteljuice AJAX testers wanted

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

Moderator: daj

Post Reply
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

beteljuice AJAX testers wanted

Post by beteljuice »

Wanted !!

Some pre-release testers of the beteljuices AJAX mash that produces these pages:

http://www.beteljuice.com/cumulus/betel_index.html

Volunteers should be intermediate level in javaScript, and have a good understanding of HTML.

Your mission, should you choose to accept it. Is to read the instructions and create your OWN test pages of any skill level you like, to prove all the 'basics' work as expected.

http://www.beteljuice.com/cumulus/README.txt

THIS NOT TO CREATE A WISH LIST, NOR TO NIGGLE ABOUT 'EXTRAS'

For Non-English users, most if not all of the basics, have text look-up arrays which you can modify.

Cons:
You tell me !
Lot of undocumented extras, some still to be tweaked or even created !

Pros:
Even if it doesn't get released, you get a very good basis on which to do your own thing.
(Which is the whole idea anyway !)
You get ALL the example pages / graphics / code as seen
INCLUDING the HUGE ships barometer page - think of that as a limited edition ;-)
You also get a stand-alone Zambretti forecaster and simple in / out page.

Read the README.txt and the script (which is reasonably well commented I hope)


The zip file creates its own directory - betel_cumulus/ so that you don't do any damage.

http://www.beteljuice.com/cumulus/betel_cumulus.zip

This file will be deleted Sunday 21st Dec, I would like feed-back by 1st Jan.

Have fun, please don't break it too quickly !!
Last edited by beteljuice on Sun 18 Nov 2018 4:41 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: beteljuice AJAX testers wanted

Post by steve »

beteljuice wrote:Volunteers should be intermediate level in javaScript, and have a good understanding of HTML.
I would love to have a go but (1) I am beginner level in javaScript and (b) I don't have the time :(

Steve
pinto
Posts: 112
Joined: Sat 11 Oct 2008 3:20 pm
Weather Station: Davis Vantage Pro 2 Plus
Operating System: Debian Buster

Re: beteljuice AJAX testers wanted

Post by pinto »

Something to change if you are using km/h for windspeed in Cumulus

line 903 in betel_cumulus_ajax.js
line 895 in betel_cumulus_biggest_ajax.js

k/h must be km/h

Code: Select all

			if(currdat[13] == "km/h") {	// data windspeeds are kilometres per hour
Jozef
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: beteljuice AJAX testers wanted

Post by beteljuice »

Many Thanks Jozef :mrgreen:

That's EXACTLY the sort of info I need.

Zip has been updated.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: beteljuice AJAX testers wanted

Post by beteljuice »

Oops !

:oops: Sorry - missed a file in the second zip. - used for weather graphics

Should be OK now.

If you already have the second zip and you have modified the BIG graphic, you only need to copy:

"betel_graphics_vars.js"
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: beteljuice AJAX testers wanted

Post by Paul C »

Hi
I have a fairly good understanding of HTML - aslong as my Dreamweaver is working well !

No real working knowledge of the other

Desperate to have a go though - downloading file now :D

First attempt - http://www.bramptonweather.co.uk/betel_ ... index.html

needs some work
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: beteljuice AJAX testers wanted

Post by beteljuice »

Err .........

Guys - I did say pre-release / experienced people, and read the README.txt

paulc - you haven't changed the paths in betel_cumulus.js to 'see' your site / info.

NP..

But can desperate peeps please wait for a 'better' ? documented release.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: beteljuice AJAX testers wanted

Post by Paul C »

:D I,m the best tester around ! - if I can get it to work then everyone else will be able to ! believe me.
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: beteljuice AJAX testers wanted

Post by aadal »

Working here when i get the betel_graphics_vars.js :mrgreen:
Thanx, no i start to make it for Norway stuff... :D
  • Windows Vista
Image

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: beteljuice AJAX testers wanted

Post by beteljuice »

Paul C

Your server seems very slugish atm.

Grahics 'blink', and your data grab varies between 10s => 20s.

Is that usual ?
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: beteljuice AJAX testers wanted

Post by aadal »

Hi beteljuice
My reading in realtime.txt is m/s but on http://www.aadal.biz/~weather/betel_cum ... index.html there is some mph, why?

I like the Snow Line exciting to watch on that. :D
  • Windows Vista
Image

Image
User avatar
Paul C
Posts: 538
Joined: Thu 19 Jun 2008 7:45 am
Weather Station: Davis VP2 with solar
Operating System: Windows 10
Location: Brampton, Cumbria, UK
Contact:

Re: beteljuice AJAX testers wanted

Post by Paul C »

beteljuice wrote:Paul C

Your server seems very slugish atm.

Grahics 'blink', and your data grab varies between 10s => 20s.

Is that usual ?
I've not experienced any problems at my end - the website is hosted in the USA (I think) may account for a slight slowness, but in general it works very fast for me ?
Paul C
Brampton, Cumbria, UK
117m ASL
http://www.bramptonweather.co.uk
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: beteljuice AJAX testers wanted

Post by beteljuice »

aadal wrote:Hi beteljuice
My reading in realtime.txt is m/s but on http://www.aadal.biz/~weather/betel_cum ... index.html there is some mph, why?
...
There is every unit !

I assume you mean in the EXTRAS little weather map ?

You will need to change a bit of code both in the script and the html

No - I'm not telling you how :? (not yet anyway)

THIS IS NOT A 'RELEASE' VERiSON - it's for debugging the BASICS

It's very flattering that people are already modifying the example pages, BUT in a release version the coding and / or html could be different - then you have the headache of re-doing your modified pages :cry:

THIS IS WORK IN PROGRESS - with all that, that implies - proceed on the assumption that things may be changed at any time.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: beteljuice AJAX testers wanted

Post by aadal »

I've not experienced any problems at my end - the website is hosted in the USA (I think) may account for a slight slowness, but in general it works very fast for me
A comment to that my hosting in US Arizona I think.
Is updating fine here. :shock:
  • Windows Vista
Image

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Windsock mps

Post by beteljuice »

Ok - I relent !

Look in the script for:

Edited, because I told you wrong !

// --------- betejuices composite weather 'graphic' ------------------------------

Then look for the bit like below, and replace it with the bit below OR change the three mph references in the script code to ms



Code: Select all

// create wind graphic / data - using now (gust) value
				spacer="";
				if(wind_ms >= 1) {	// build wind info section(s)
					Rset_ajax_obs("ajax_pic_windsock", "<img src=\"" + here + "stuff/wind_sock.gif\" alt=\"" + langWindFrom + valLang + "\" title=\"" +langWindFrom + valLang + " (" + val2 + "\&deg;)\" />", "");
					Rset_ajax_obs("ajax_pic_windspeed", wind_ms.toFixed(1) + "<br />", "ms");
					spacer="&nbsp;&nbsp;&nbsp;";
				}else{
					Rset_ajax_obs("ajax_pic_windsock", "", "");
					Rset_ajax_obs("ajax_pic_windspeed", "", "");
				}
However you still have the other EXTRA - betel_wind_blurb - see post further down
Last edited by beteljuice on Tue 16 Dec 2008 1:58 am, edited 1 time in total.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply