Page 5 of 19

Re: Realtime gauges v1.0.0.3 available for download

Posted: Sun 14 Jun 2009 5:06 pm
by steve
There are some odd things going on there, and I don't know why. The font size of some of the text has increased ("Full Screen" no longer fits in the button, for example) and the graph axis is showing both date and time, which is messing up the formatting. I can't work out how/why this can be happening.

Edit: The error console shows some errors from the application - I'll investigate.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Sun 14 Jun 2009 6:39 pm
by steve
steve wrote:
There are some odd things going on there, and I don't know why. The font size of some of the text has increased ("Full Screen" no longer fits in the button, for example)
There are some errors in your html which may be the cause of the font funnies. I haven't specified sizes for some of the text, and it seems you can therefore affect this from html - I hadn't realised this. Possibly fixing the html errors will fix the font problems, and I'll make sure to supply sizes in the next version.

This may help you fix the errors: http://validator.w3.org/check?uri=http% ... ne&group=0

I still don't know why the graph is giving an error ("Input string was not in a correct format").

Re: Realtime gauges v1.0.0.3 available for download

Posted: Sun 14 Jun 2009 9:55 pm
by steve
Further investigation suggests that both the font problem and the date/time axis problem are a result of changing the extension of the Silverlight application to '.txt'.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Sun 14 Jun 2009 10:06 pm
by NorthNJwx
steve wrote:Further investigation suggests that both the font problem and the date/time axis problem are a result of changing the extension of the Silverlight application to '.txt'.
I noticed the font and graph axis problems, but I wasn't sure if it was worth it to ask about it or not. The functionality isn't really affected, even with the graph axis being a little tougher to read.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 4:47 am
by akasonny
For those who are having problems with the cumulusrealtime page, I discovered the following:

when entering: http://<mywebpage> i had the same problem. The data loading box just stayed forever.

However, when I entered http://www. it worked each and every time.

I don't pretend to understand the difference but I do know progress when I see it.

Hope this helps.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 8:54 am
by steve
akasonny wrote:when entering: http://<mywebpage> i had the same problem. The data loading box just stayed forever.

However, when I entered http://www. it worked each and every time.
Thanks - I think I understand the reason for this. The URL of the realtime.txt file that you put in the XML configuration needs to match the URL that you use to access the application (by 'match' I mean it needs to have the same domain). By default, there is a security restriction in Silverlight that prevents applications accessing data from sites other than the one hosting the application. It appears that the presence or otherwise of a leading 'www.' is included in the check.

You can override the security check, as I have done on sanday.org.uk, by placing a file called clientaccesspolicy.xml in the root of your web space, containing the following:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<access-policy>
  <cross-domain-access>
    <policy>
      <allow-from>
        <domain uri="*"/>
      </allow-from>
      <grant-to>
        <resource path="/" include-subpaths="true"/>
      </grant-to>
    </policy>
  </cross-domain-access>
</access-policy>
Instead of the <domain uri="*"/> line, you can if you wish restrict access just to specific domains, e.g:

Code: Select all

<allow-from>
  <domain uri="http://sanday.org.uk/"/>
  <domain uri="http://www.sanday.org.uk/"/>
</allow-from>

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 1:00 pm
by franciscus
franciscus wrote:
steve wrote:
franciscus wrote:In any case, I still am unable to use the cumulusrealtime in any browser
I think your web server needs configuring for xml files (I get a 'forbidden' when trying to access your xml file, so that may be a permissions problem). Unfortunately I don't know anything about Xitami so I can't really help.
I'll see if I can find anything, and failing that, ask the authors <G>. They have a new version, but, I dont like it. Opens in a DOS window, and have yet to get it to recognize where my webpages are located :(
Well, I seem to have fixed my problems by changing web servers. At least it works when I access it here. Proper title and temp etc.

http://www.lionsden.darktech.org/weathe ... ltime.html

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 1:17 pm
by steve
franciscus wrote:Well, I seem to have fixed my problems by changing web servers. At least it works when I access it here. Proper title and temp etc.
Yes, looks good from here too.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 1:22 pm
by akasonny
Thanks Steve.

I'll add that to the website.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Mon 15 Jun 2009 2:11 pm
by franciscus
steve wrote:
franciscus wrote:Well, I seem to have fixed my problems by changing web servers. At least it works when I access it here. Proper title and temp etc.
Yes, looks good from here too.
Thanks for confirming that. Using Abyss Web Server now. Tried several. This one does all I need it to do at the moment <G>

Re: Realtime gauges v1.0.0.3 available for download

Posted: Tue 16 Jun 2009 4:37 pm
by akasonny
Searched the forum but couldn't find the clue for this condition:

Realtime data, though set for realtime interval of 5, only updates, approximately, every 50 seconds. FTP data (realtime.txt) is reaching the website fine (though it seems its repeating the same data it transmitted 5 seconds before). I swear I've experimented with virtually every configurable file I can find with no results. Could this be a) the server, b) the weather unit itself, c) operator stupidity, d) all of the above?

Re: Realtime gauges v1.0.0.3 available for download

Posted: Tue 16 Jun 2009 4:41 pm
by steve
The Fine Offset stations only supply new data every 50 seconds or so.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Tue 16 Jun 2009 5:01 pm
by akasonny
Well that says alot :-( and seems to answer my question, thanks.

Wondering now if there's anyway to 'pull' the data faster. Hmmmmm.

Re: Realtime gauges v1.0.0.3 available for download

Posted: Wed 17 Jun 2009 8:09 pm
by Paul C
Got mine working in less than 3 minutes !!, cheers Steve.

http://www.bramptonweather.co.uk/cumulu ... ltime.html

Re: Realtime gauges v1.0.0.3 available for download

Posted: Thu 25 Jun 2009 7:27 pm
by ivestfold
My Cumulus actually receives data from the WH1080 every 10th second.. What did I do wrong?:-)

BR Ingve