Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Scrolling Marque and Trend Ranges

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

Moderator: daj

tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

I've been working on a scrolling marque for my website that shows a summary of current weather data extracted from the realtime.txt. I've used script from the Weather Console (daj) and played with it a bit, added a few tags and a bit of logic to populate the marque with data which is updated every 10 seconds.

My most recent development is the addition of trend descriptors for temperature and pressure. Initially I had rising, steady and falling, but I've added riding rapidly and falling rapidly to the script and the marque today.

Does anyone have any idea of the ranges that would be appropriate for trend descriptors?

Here is a summary of what I am using:

Temperature °C
< -1.5 Falling Rapidly
< -0.2 Falling
< +0.2 Steady
< +1.5 Rising
> +1.5 Rising Rapidly

Pressure mb
< -1.0 Falling Rapidly
< -0.2 Falling
< +0.2 Steady
< +1.0 Rising
> +1.0 Rising Rapidly

I'm also considering adding other descriptors such as rising and falling slowly. What do other think?

Any comments and advice appreciated,

Bob
Bob
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Scrolling Marque and Trend Ranges

Post by mcrossley »

Take a look at this recent thread for pressure...
https://cumulus.hosiene.co.uk/viewtopic.p ... ng+falling

I'm sure a search will find the equivalent for temperature somewhere on the forum.
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

mcrossley wrote:Take a look at this recent thread for pressure...
https://cumulus.hosiene.co.uk/viewtopic.p ... ng+falling

I'm sure a search will find the equivalent for temperature somewhere on the forum.
Thanks for that Mark

Bob
Bob
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Scrolling Marque and Trend Ranges

Post by gemini06720 »

tjaliwalpa wrote:I've been working on a scrolling marque for my website...
Bob, I like what you did to the scroller at the top of your pages. Nice work. :)
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

gemini06720 wrote:
tjaliwalpa wrote:I've been working on a scrolling marque for my website...
Bob, I like what you did to the scroller at the top of your pages. Nice work. :)
Thanks for the feedback. It certainly was an achievement for me and my first real attempt at trying to work with modifying a jscript and get it to work.

Bob
Bob
DaveNZ
Posts: 373
Joined: Mon 07 Dec 2009 10:27 pm
Weather Station: Davis VP2
Operating System: Windows 7 64-bit
Location: Howick, Auckland, New Zealand
Contact:

Re: Scrolling Marque and Trend Ranges

Post by DaveNZ »

It's moving too slow for me...
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

DaveNZ wrote:It's moving too slow for me...
Dave,

I lifted the rate - how's that? If you pass the mouse over it, it slows down.

Bob
Bob
DaveNZ
Posts: 373
Joined: Mon 07 Dec 2009 10:27 pm
Weather Station: Davis VP2
Operating System: Windows 7 64-bit
Location: Howick, Auckland, New Zealand
Contact:

Re: Scrolling Marque and Trend Ranges

Post by DaveNZ »

Going quite fast now, LOL (but as you say mouseover slows it down)
Gee it looks hot there.
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Scrolling Marque and Trend Ranges

Post by MickinMoulden »

tjaliwalpa wrote:
DaveNZ wrote:It's moving too slow for me...
Dave,

I lifted the rate - how's that? If you pass the mouse over it, it slows down.

Bob
That's good. Did notice this morning as your temperature should be rising (at +3.6hr) that it said falling rapidly.
My rate of temp increase on a hot day is about 2/hr but feel I'm reading radiation off the wall (even though it's just under the eve). I'm moving mine today. Your temp reached about 41 yesterday. Where's your temp. gauge?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
User avatar
MickinMoulden
Posts: 499
Joined: Mon 20 Dec 2010 12:12 pm
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Location: Palmerston, NT, Australia
Contact:

Re: Scrolling Marque and Trend Ranges

Post by MickinMoulden »

Put the aircon on this morning did we?
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImage
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

MickinMoulden wrote: That's good. Did notice this morning as your temperature should be rising (at +3.6hr) that it said falling rapidly.
My rate of temp increase on a hot day is about 2/hr but feel I'm reading radiation off the wall (even though it's just under the eve). I'm moving mine today. Your temp reached about 41 yesterday. Where's your temp. gauge?
Ya, noticed the mistake in my script when I saw that myself. I have corrected it now.

It was hot yesterday, but will be even hotter today. I suspect my temp readings are out by about 2°C in the middle of the day. I have my sensor in a rather exposed position and need to provide some cover for it. Am working on that. Never-the-less, the temperature today is forecast to be 43°C, so it is an inside day for me.

Bob
Bob
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

MickinMoulden wrote:Put the aircon on this morning did we?
Nothings a secret anymore :lol:

Bob
Bob
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Scrolling Marque and Trend Ranges

Post by Super-T »

I get this when viewing your website in a flock browser (firefox engine). Works OK in IE8
You do not have the required permissions to view the files attached to this post.
werribee_au
Posts: 338
Joined: Mon 08 Jun 2009 6:25 am
Weather Station: WH-1081 (Jaycar Digitech XC0348)
Operating System: XP SP3
Location: Wyndham Vale, Vic, Australia.
Contact:

Re: Scrolling Marque and Trend Ranges

Post by werribee_au »

Bob, scrolling ok in chrome but the mouse over doesn't slow the scroll speed.

Nice work :clap:
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Scrolling Marque and Trend Ranges

Post by tjaliwalpa »

Super-T wrote:I get this when viewing your website in a flock browser (firefox engine). Works OK in IE8
Mmmm, looks as though you are running in a higher text resolution and the font spills out of the top frame where the banner for my website resides.

Have to experiment with this a little.

Bob
Bob
Post Reply