Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.4.0 (build 3064) - 19 February 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Scroller Text Forecast

    Discussion of Mark Crossley's HTML5/Javascript gauges

    Moderator: mcrossley

    Post Reply
    Edkop
    Posts: 11
    Joined: Wed 21 Oct 2015 1:41 am
    Weather Station: Unsure
    Operating System: Windows XP
    Location: Trenton, nj

    Scroller Text Forecast

    Post by Edkop » Thu 29 Oct 2015 6:48 pm

    Hi All,
    The forecast text in the display, how do you make it scroll instead of just appear? Is there a way to do that or is that a function of the weather station itself?
    Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(

    Thanks!
    Ed
    http://www.yardvilleweather.com

    water01
    Posts: 1592
    Joined: Sat 13 Aug 2011 9:33 am
    Weather Station: WH1081
    Operating System: Windows 10 64bit
    Location: Burnham-on-Sea
    Contact:

    Re: Scroller Text Forecast

    Post by water01 » Thu 29 Oct 2015 7:01 pm

    This code

    Code: Select all

            // Singleton for the Status Scroller
            //
            singleStatus = (function () {
                var instance;   // Stores a reference to the Singleton
                var scroller;   // Stores a reference to the SS scrolling display
    
                function init() {
                    // create forecast display
                    if ($('#canvas_status').length) {
                        scroller = new steelseries.DisplaySingle(
                            'canvas_status', {
                                width             : $('#canvas_status').width(),
                                height            : $('#canvas_status').height(),
                                lcdColor          : gaugeGlobals.lcdColour,
                                unitStringVisible : false,
                                value             : strings.statusStr,
                                digitalFont       : config.digitalForecast,
                                valuesNumeric     : false,
                                autoScroll        : true,
                                alwaysScroll      : true
                        });
    
                    }
    starts around line 585 in gauges,js.

    Set autoScroll and alwaysScroll to true.
    David
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    Joined: Mon 02 Jun 2008 6:49 pm
    Weather Station: None
    Operating System: None
    Location: Vienne, France
    Contact:

    Re: Scroller Text Forecast

    Post by steve » Thu 29 Oct 2015 7:10 pm

    Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(
    If you can see it, then you've presumably turned it on? If not, the display settings are on the configuration menu, and the checkbox has the label "Show current conditions box".
    Steve

    Edkop
    Posts: 11
    Joined: Wed 21 Oct 2015 1:41 am
    Weather Station: Unsure
    Operating System: Windows XP
    Location: Trenton, nj

    Re: Scroller Text Forecast

    Post by Edkop » Sat 31 Oct 2015 8:56 am

    water01 wrote:This code

    Code: Select all

            // Singleton for the Status Scroller
            //
            singleStatus = (function () {
                var instance;   // Stores a reference to the Singleton
                var scroller;   // Stores a reference to the SS scrolling display
    
                function init() {
                    // create forecast display
                    if ($('#canvas_status').length) {
                        scroller = new steelseries.DisplaySingle(
                            'canvas_status', {
                                width             : $('#canvas_status').width(),
                                height            : $('#canvas_status').height(),
                                lcdColor          : gaugeGlobals.lcdColour,
                                unitStringVisible : false,
                                value             : strings.statusStr,
                                digitalFont       : config.digitalForecast,
                                valuesNumeric     : false,
                                autoScroll        : true,
                                alwaysScroll      : true
                        });
    
                    }
    starts around line 585 in gauges,js.

    Set autoScroll and alwaysScroll to true.
    Thank you David!

    Edkop
    Posts: 11
    Joined: Wed 21 Oct 2015 1:41 am
    Weather Station: Unsure
    Operating System: Windows XP
    Location: Trenton, nj

    Re: Scroller Text Forecast

    Post by Edkop » Sat 31 Oct 2015 9:00 am

    steve wrote:
    Also, I understand that on the main cumulus (console) page there is the white text box with the 'Current' label. The Wiki and help say to use that feature, turn it on in the display settings...I can't seem to find that anywhere;(
    If you can see it, then you've presumably turned it on? If not, the display settings are on the configuration menu, and the checkbox has the label "Show current conditions box".
    Steve,
    Yes , I can see it, so it must be on. Some I types 'test' in there and can not find any output on the web pages. Is there a tag I need to add somewhere?
    Thanks!

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    Joined: Mon 02 Jun 2008 6:49 pm
    Weather Station: None
    Operating System: None
    Location: Vienne, France
    Contact:

    Re: Scroller Text Forecast

    Post by steve » Sat 31 Oct 2015 10:06 am

    Yes - <#currcond>
    Steve

    Edkop
    Posts: 11
    Joined: Wed 21 Oct 2015 1:41 am
    Weather Station: Unsure
    Operating System: Windows XP
    Location: Trenton, nj

    Re: Scroller Text Forecast

    Post by Edkop » Sat 31 Oct 2015 12:40 pm

    I've made those modifications to the code...neither of them did anything :(

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    Joined: Mon 02 Jun 2008 6:49 pm
    Weather Station: None
    Operating System: None
    Location: Vienne, France
    Contact:

    Re: Scroller Text Forecast

    Post by steve » Sat 31 Oct 2015 12:48 pm

    The gauges.js on your web site still has alwaysScroll: false - http://www.yardvilleweather.com/scripts/gauges.js

    Please zip up and attach the template to which you have added the <#currcond> web tag.
    Steve

    Edkop
    Posts: 11
    Joined: Wed 21 Oct 2015 1:41 am
    Weather Station: Unsure
    Operating System: Windows XP
    Location: Trenton, nj

    Re: Scroller Text Forecast

    Post by Edkop » Tue 03 Nov 2015 12:00 pm

    Got the scroller to work :). Not sure what happened, maybe I didn't save it the first time :bash:
    When I get a chance I will zip up and upload my indexT.htm file. I'm on the IPad right now.
    Thanks!!

    griffo42
    Posts: 40
    Joined: Thu 10 Dec 2015 6:41 am
    Weather Station: Davis VantageVue
    Operating System: Win 10
    Location: Brisbane, Queensland, Australia
    Contact:

    Re: Scroller Text Forecast

    Post by griffo42 » Sun 28 Aug 2016 6:09 am

    Hi

    Could someone please tell how the forecast which scrolls is generated and from where it comes in the template suite of programs.

    Thanks

    griffo42
    Brisbane, Australia
    Davis Vantage Vue Model #6357 - CumulusMX - Win10 - Saratoga Scripts
    https://www.kstwx.net/index.php
    https://www.kstwx.net/cu/index.htm
    Image

    Post Reply