Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Realtime gauges v1.0.0.3 available for download

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

    Moderator: daj

    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: Realtime gauges v1.0.0.3 available for download

    Post by steve » Thu 09 Feb 2012 7:23 pm

    Perhaps if you explain exactly what you want to do, and give a link to an example? I didn't reply as I know you can't actually enlarge the Silverlight application itself, so I assume whatever you want to do is something to do with HTML, in which I have a basic understanding but am by no means an expert.
    Steve

    User avatar
    duke
    Posts: 840
    Joined: Sun 03 Jul 2011 6:23 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 - 64 bit
    Location: Eastleigh, Hampshire, UK
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by duke » Thu 09 Feb 2012 7:47 pm

    Sorry for the bad explanation Steve. I've seen examples of this that are enlarged to nearly the same size as the background colour. So the background just appears as a border.

    Typical, can't find an example at the moment :(

    Duke
    Duke

    Nightingale Weather
    Eastleigh, Hampshire, UK
    ------------------------------------------------------
    Validate your pages - often!

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

    Re: Realtime gauges v1.0.0.3 available for download

    Post by gemini06720 » Fri 10 Feb 2012 11:39 pm

    duke wrote:Typical, can't find an example at the moment...
    Duke, how about the following to links/locations for examples (not yet 100% reliable as I am completely/still rebuilding my house/office computer network and the server can/could be offline at times):

    Tzouhalem-Maple Bay Weather

    Silverlight RealTime Weather

    User avatar
    duke
    Posts: 840
    Joined: Sun 03 Jul 2011 6:23 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 - 64 bit
    Location: Eastleigh, Hampshire, UK
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by duke » Sat 11 Feb 2012 6:40 am

    and give a link to an example?
    I thought some one might be along to offer an example, thanks. ;)
    Duke
    Duke

    Nightingale Weather
    Eastleigh, Hampshire, UK
    ------------------------------------------------------
    Validate your pages - often!

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

    Re: Realtime gauges v1.0.0.3 available for download

    Post by gemini06720 » Sat 11 Feb 2012 10:57 am

    duke wrote:I thought some one might be along to offer an example, thanks. ;)
    Yes, but is that what you were inquiring (writing) about... :D

    User avatar
    duke
    Posts: 840
    Joined: Sun 03 Jul 2011 6:23 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 - 64 bit
    Location: Eastleigh, Hampshire, UK
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by duke » Sat 11 Feb 2012 12:11 pm

    gemini06720 wrote:
    duke wrote:I thought some one might be along to offer an example, thanks. ;)
    Yes, but is that what you were inquiring (writing) about... :D
    Yes, as apposed to the regular "skinnier" look with borders @ Cumulus Realtime

    Duke
    Duke

    Nightingale Weather
    Eastleigh, Hampshire, UK
    ------------------------------------------------------
    Validate your pages - often!

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

    Re: Realtime gauges v1.0.0.3 available for download

    Post by Mapantz » Sat 11 Feb 2012 3:39 pm

    *delete*
    Image

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

    Re: Realtime gauges v1.0.0.3 available for download

    Post by gemini06720 » Sun 12 Feb 2012 5:41 am

    OK, Duke... ;)

    This is the code you have in the template used to display the Silverlight RealTime screen:

    Code: Select all

    <object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="700px">
    This is the code I have in the Weather-Blues template used to display the Silverlight RealTime screen:

    Code: Select all

    <object data="data:application/x-silverlight," type="application/x-silverlight-2" width="832" height="890">
    Through the years, I have learned not to use a percentage value for either the width or the height of any Adobe Flash or Microsoft Silverlight file formats.

    832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen - anything less will produce the navigation bar on the right side of the object. But, it is not just a matter of adjusting the width - the height must also be adjusted or navigation bars will be produced both to the right and the bottom of the object.

    If you are still unsure, here is the code I use to display this Silverlight RealTime screen:

    Code: Select all

        <div id="content">
          <h2>Silverlight RealTime Weather</h2>
          <table border="0" cellpadding="10" style="padding: 20px 0 0 45px;">
            <tr>
              <td>
                <div id="errorLocation" style="font-size: small; color: gray;"></div>
                <div id="silverlightControlHost">
                  <object data="data:application/x-silverlight" type="application/x-silverlight-2" width="832" height="890">
                    <param name="allowHtmlPopupWindow" value="true" />
                    <param name="autoUpgrade" value="true" />
                    <param name="background" value="silver" />
                    <param name="enableAutoZoom" value="true" />
                    <param name="enableGPUAcceleration" value="true" />
                    <param name="enablehtmlaccess" value="true" />
                    <param name="enableNavigation" value="all" />
                    <param name="maxframerate" value="60" />
                    <param name="minRuntimeVersion" value="3.0" />
                    <param name="onerror" value="onSilverlightError" />
                    <param name="source" value="CumulusRealtime.xap?v=1.0.0.4" />
                    <a target="_blank" href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
                      <img src="http://go.microsoft.com/fwlink/?LinkId=108181"
                          alt="Get Microsoft Silverlight" style="border-style: none" />
                    </a>
                  </object>
                  <iframe style="visibility: hidden; height: 0; width: 0; border: 0"></iframe>
                </div>
              </td>
            </tr>
          </table>
        </div><!-- end id content -->
    

    User avatar
    duke
    Posts: 840
    Joined: Sun 03 Jul 2011 6:23 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 - 64 bit
    Location: Eastleigh, Hampshire, UK
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by duke » Sun 12 Feb 2012 10:34 am

    It was on my to do list to have a sneeky look at your code today ;) .
    Through the years, I have learned not to use a percentage value for either the width or the height
    I actually tried various % and px figures here and was unable to effect the width only the height. I try to stay with px as I found % can have all sorts of strange results not just with this type of application.

    So what was i doing wrong? The addition of this line from you code appears to be the secret:
    <param name="enableAutoZoom" value="true" />
    832 pixels appears (at least on the different monitors I use in my home/office) to be the minimum width of the Silverlight RealTime screen
    I have a maximum of 810 due to my page layout so I have a nav bar at the bottom but it looks a lot better than before
    Cumulus Realtime

    Perhaps there is a way to eliminate the nav bar?

    Thanks for your help with this one, I wouldn't have got their on my own :bash: .

    Duke

    Oh.....
    Blumentals
    :clap:
    Duke

    Nightingale Weather
    Eastleigh, Hampshire, UK
    ------------------------------------------------------
    Validate your pages - often!

    david3
    Posts: 55
    Joined: Sat 28 Jan 2012 4:03 pm
    Weather Station: Davis Vantage Vue
    Operating System: Raspbian Stretch
    Location: Philippines
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by david3 » Sat 25 Feb 2012 11:58 am

    Just got these Silverlight realtime gauges working... It's pretty cool.

    http://www.sfcweather.com/wxrealtime.php
    Image

    drdscly
    Posts: 5
    Joined: Sun 16 Mar 2014 1:38 am
    Weather Station: Davis VUE
    Operating System: Windows 8.1
    Location: Newfoundland, Caanda
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by drdscly » Wed 19 Mar 2014 11:39 pm

    Slightly off topic - but how does one get the stickers I see here into a post. Can I just put the php code directly in the post?

    Mike

    User avatar
    duke
    Posts: 840
    Joined: Sun 03 Jul 2011 6:23 pm
    Weather Station: Davis VP2 Plus - 24hr FARS
    Operating System: Windows 10 - 64 bit
    Location: Eastleigh, Hampshire, UK
    Contact:

    Re: Realtime gauges v1.0.0.3 available for download

    Post by duke » Thu 20 Mar 2014 6:55 am

    This sure is an old topic you posted in :o

    But, in answer to your question Cumulus PHP-GD Banner
    Duke

    Nightingale Weather
    Eastleigh, Hampshire, UK
    ------------------------------------------------------
    Validate your pages - often!

    mareid123
    Posts: 3
    Joined: Mon 10 Nov 2014 10:09 am
    Weather Station: Davis Vantage Pro 2
    Operating System: Windows 7
    Location: Dover, AR USA

    Re: Realtime gauges v1.0.0.3 available for download

    Post by mareid123 » Wed 12 Nov 2014 5:18 pm

    Is there any way possible to take this and make it run as an "app" on your local PC, outside of any browser?

    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: Realtime gauges v1.0.0.3 available for download

    Post by steve » Wed 12 Nov 2014 5:45 pm

    Good question. Later versions of Silverlight did allow the creation of "out of browser" applications, but I don't think I ever got around to doing that with this. I don't think I have the ability to build the code now, as I didn't keep up the subscription for the components that it uses (it was costing me about £1000 per year) and I don't think the last version that I have a licence for will build against the current libraries.

    Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.
    Steve

    wetterfrosch1971
    Posts: 100
    Joined: Sun 06 Apr 2014 1:15 pm
    Weather Station: wh1080
    Operating System: windows7
    Location: south-west-germany

    Re: Realtime gauges v1.0.0.3 available for download

    Post by wetterfrosch1971 » Sun 15 Feb 2015 2:27 pm

    steve wrote:
    Silverlight itself seems to be pretty much dead now, MS seem to have abandoned it in favour of HTML5.
    Hi,

    I´m from Germany and in Germany is silverlight much dead.
    I love the realtime gauges but no one can see it, because in Germany has no one silverlight on the Computer.

    Please create a new Realtime gauges Version in a other Format, that would be so great.

    Many thanks.
    Frank

    Post Reply