Page 3 of 6

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Wed 18 Mar 2015 7:16 pm
by duke
duke wrote:I'd like to see the storm rain figure displayed on the dashboard and similar to above the RG11 data. Perhaps the RG11 data could be optional as I assume not many of us have these.
Taking note of Steve's comments above, the storm rain figure would be more suited to the 'Now' page. Where as the RG11 data is 'realtime'.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Wed 18 Mar 2015 7:28 pm
by steve
The 'Now' page gets its data in the same way as the dashboard, so you can add items (assuming I've included them in the data that gets sent from MX) in the same way. So to add storm rain to the 'now' page, you can add this to the end of the rain table:

Code: Select all

<tr>
  <td>Storm Rain</td>
  <td><span id="StormRain">--</span></td>
  <td><span class="RainUnit">--</span></td>
</tr>

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Thu 19 Mar 2015 7:06 pm
by duke
steve wrote:so you can add items (assuming I've included them in the data that gets sent from MX)
How can we find out whats in the data sent from MX?

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Thu 19 Mar 2015 7:26 pm
by steve
At some point I'll document it, but until then you could look at the JSON in your browser F12 console. In Chrome, for example, select 'Network' and 'WebSockets', then refresh the page and click on the entry that appears.

If there's anything that could sensibly be added to the data, just let me know and I'll add it.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Fri 27 Mar 2015 7:02 pm
by duke
"There will be 3min 39s more daylight tomorrow."

Thank you.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Fri 27 Mar 2015 8:06 pm
by steve
That should be working, I have it on my index page (hidden as a comment) and it looks OK:

<!--<p>There will be 5min 23s more daylight tomorrow</p>-->

Is it not working for you? Perhaps I screwed up the 3022 build, although I think someone thanked me for it, so I assume it was working for them.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Fri 27 Mar 2015 8:47 pm
by duke
It is working just fine and that was me thanking you :)

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Fri 27 Mar 2015 8:51 pm
by steve
Oh right - sorry! You're welcome.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Mon 30 Mar 2015 6:43 pm
by steve
Et voilĂ !
2015-03-30 19_40_32-Sanday weather.png
Now (in 3023) configurable via strings.ini, parsing no longer required.

(I have no idea whether that French is correct...)

Sunshine Hours Re: Things in Cumulus 1 missing from Cumulus

Posted: Mon 30 Mar 2015 10:57 pm
by BCJKiwi
Graph for Daily Sunshine Hours.
Already have the graph working - just manually building 2 .json files, one for highcharts and one for jpGraph which has an extra dummy day to get the last day inside the graph instead of to the right - an issue with jpGraph bar charts with a time scale axis!
see attachment for the gory details.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Tue 31 Mar 2015 6:59 am
by steve
Yes, and perhaps more importantly, there's no daily rainfall graph either. I did wonder why no-one had mentioned that.

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Tue 31 Mar 2015 9:53 am
by duke
steve wrote:I did wonder why no-one had mentioned that.
Because we were in 'awe' of the other features and stability of MX ;)

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Tue 31 Mar 2015 12:56 pm
by freddie
steve wrote:Now (in 3023)
When are you planning to release 3023?

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Tue 31 Mar 2015 1:11 pm
by steve
I have no idea. I generally release when there's something worth releasing, and the amount of time I spend writing code varies. Currently the only new things in 3023 are the fix for the DST change crash that I experienced, and the strings.ini setting for <#tomorrowdaylength> (I added the latter as a diversion, rather than as a critical feature).

Re: Things in Cumulus 1 missing from Cumulus MX

Posted: Tue 31 Mar 2015 2:14 pm
by bjamieson
I miss radio buttons allowing you to switch units on the gauges.

I love the cloud base gauge!

cheers,

Brian