Various Scripts wot I have wrote

This page lists some of the scripts I have written that are freely available for you to download, use, and modify as you wish. Support is limited, but I'll help out where I can, you can usually find me (mcrossley) on the Cumulus support forum.

If you do use any of these scripts a credit back to me is appreciated but not required.

SteelSeries Weather Gauges

Based on the SteelSeries HTML5 gauges, this is a whole page template that integrates with a number of popular weather station programs.

There is a page on the Cumulus Wiki that covers the script installation for Cumulus.
The GitHub site for the gauges is here, and a direct download of the latest version is here.

Steelseries gauges

Cumulus Realtime Graphs

Dynamically updating a Highcharts graph from the Cumulus Realtime.txt file.
A PHP and AJAX based solution to add a dynamically updating chart to your web site. There is a page on the Cumulus Wiki describing how to implement this package, the page also contains the download.

You can see the script in use on my weather station home page.

realtime chart

CumulusMX Simple Server Side Graphs

Uses PHP and JPGraph to draw simple static graphs using either the CumulusMX JSON data files, or a MySQL database. These graphs were intended to reproduce the graphs that Cumulus 1 produced and are used on SteelSeries Weather Gauges, though they could be used anywhere.

You can find a thread on the Cumulus user forum about these scripts.

The code for both versions can be found on GitHub here.
Direct download of the JSON and SQL versions.

You can see the script in use on my weather station gauges page.

Simple MX graph

Historic HighCharts for Cumulus

These graphs use HighCharts to plot historic data from a MySQL database. There is currently no download package available for these as I 'fiddle' with them quite often!

You can view the source of the HTML page and the associated JavaScript via your browser. The source code of the PHP scripts can be viewed/copied by putting the PHP url directly into your browser and appending the parameter string "&view=sce". If you don't know what aall that means, then these scripts are probably not for you.
You can see the scripts in use on my weather station historic graphs page.

You can find a thread on the Cumulus user forum about these scripts.

Moon Phase

Plots a simple clean image of the current moon phase. This script requires the Solaris\MoonPhase class to be installed on your PHP server to perform some of the calculations.

Download the script from here.

You can see the script in use on my weather station home page.

moon phase

Sun Plot

Draws a plot of the suns path through the sky for the current day. The script has options for...
  • Alter the image size
  • Shading the ground, or not
  • Shading the twlight zones
  • Making the background transparent
  • Plotting when the sun has been shining - this requires a Cumulus realtime MySQL database or equivalent
  • Plotting hourly tick marks, and numbered hours (every 3)
  • Read sunshine data directly from a Blake-Larsen log file
Though I recommend that you alter the variables in the script once you have the required format finalised.

Download the script here (v1.3).

You can see the script in use on my weather station home page.

sun plot