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

v2.1.0 install

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: v2.1.0 install

Post by Mapantz »

The latest version is working nicely for me, great work.

Quick question, is there a way of changing the speed of the text in the forecast box?

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

Re: v2.1.0 install

Post by mcrossley »

OK, Rays positioning problems with the odometer were unique (I think) to they way he is using the gauges on his own page. I think his issues with the positioning are resolved now.
Mapantz wrote:Quick question, is there a way of changing the speed of the text in the forecast box?
Only by editing the steeleries.js file, in the displaySingle object at around line 2322 there is the animate() function.
There either decrease the time value in setTimeout() from 50, or increase the scrollX increment, which is currently 2 pixels per animation interval - or use a combination of both. Decreasing the setTimeout value will increase CPU usage a bit.

Unless you then link to both the \src files for tween & steelseries you will need to reminify and concatenate with the tween.min.js file.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: v2.1.0 install

Post by Mapantz »

mcrossley wrote:OK, Rays positioning problems with the odometer were unique (I think) to they way he is using the gauges on his own page. I think his issues with the positioning are resolved now.
Mapantz wrote:Quick question, is there a way of changing the speed of the text in the forecast box?
Only by editing the steeleries.js file, in the displaySingle object at around line 2322 there is the animate() function.
There either decrease the time value in setTimeout() from 50, or increase the scrollX increment, which is currently 2 pixels per animation interval - or use a combination of both. Decreasing the setTimeout value will increase CPU usage a bit.

Unless you then link to both the \src files for tween & steelseries you will need to reminify and concatenate with the tween.min.js file.
I've had a fiddle with both setTimeout() and the scrollX and it doesn't change anything for me.
The problem i have, is that i use the Davis forecast instead of the Cumulus one, the Davis one ca be quite long and with my updates of every 6 seconds, it doesn't scroll the forecast quick enough to see all of the words. I did increase the width of it to 600 but it still didn't help.
I guess i'll have to go back to showing the Cumulus one for now. :)
Image
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v2.1.0 install

Post by mcrossley »

Did you definitely do the last step - reminify or re-link?
Post Reply