Page 1 of 1

Sunshine Recorder - Creating a 'Live' web page

PostPosted: 2013 Aug 31, 14:55
by Nick Gardner
Does anyone know how to create a web page showing 'live' sunshine duration for the day so far, i.e., a total sunshine figure in hours updated say, every 15 minutes?

I have a Instromet Sunshine Recorder connected to a PicoTechnology ADC-16 data logger but the software supplied doesn't seem to have any capability to create data in a format (html) that I can automatically upload (ftp) to display on my website.

Avenues I have been trying to explore are connecting it to a Raspberry Pi and using that as a data logger. But that would be a bit of a learning curve for me, i.e., writing scripts so that the voltage output from the sunshine recorder can be interpreted by the Raspberry Pi so that it converts that to sunshine duration and uploads a graphic or simple webpage that I can automatically incorporate into my website to show daily sunshine totals for that day and previous days/weeks/months.

The datalogger is currently connected to a small notebook computer, so being able to use that instead of a Raspberry would be even better.

Re: Sunshine Recorder - Creating a 'Live' web page

PostPosted: 2013 Sep 02, 14:57
by Mike Brown
I use Labjack ( to take the output from my Instrumet Sunshine Recorder. In connection with DAQFactory, there is a built in FTP program. I have not used this myself but it might be worth exploring. DAQFactory software is free for the 'lite' version, but even that is very powerful. Worth a look perhaps.

Best wishes


Re: Sunshine Recorder - Creating a 'Live' web page - SOLVED!

PostPosted: 2014 Mar 06, 20:00
by Nick Gardner
After trying all sorts of things from COM port monitoring and code writing I have finally found a way to get regularly updated (every 10 minutes) sunshine hours from a R&D type Instromet sunshine recorder automatically onto my website.

I dug out an old Davis Weather Wizard III that used to be my weather station. I connected the 1/100th hour connection from the sunshine recorder (it sends a pulse every 36 seconds whilst the sun is shining) to the rain connector on the Davis unit. The unit was set to record rainfall in 0.01" increments and away it works.

To get the live data onto the website I have used VWS (Virtual Weather Station) which is rather good at customisation. This communicates with the Davis unit, collects the data and with a few changes of titles, FTPs text/jpegs/graphics/graphs etc to the website every 1, 2, 5 or whatever time intervals you want. The data on the website can be presented as daily sunshine hours, monthly and annual totals plus graphs can be uploaded as small jpegs showing at what times the sun was actually shining.

I have kept the original ADC-16 datalogger and the PicoLog software running side-by-side the Davis unit as this presents the daily sunshine data in a very easy to use spreadsheet (at 1 minute increments) that is quickly accessed over my network with minimal file size.

I have an old ASUS netbook with a very slimmed down Windows 8 Pro OS running everything from the VP2+, Weather Wizard III, webcam, FTP, WeatherLink, PicoLog & VWS programs and sunshine recorder. The netbook also acts as an ethernet and wifi network server/drive (with an external media drive attached) and stores all files, films, videos, music, backups etc for my home network. Inserting a fast 8 GB SD card and using that as ReadyBoost memory has significantly speeded things up.

I also run everything (netbook, sunshine recorder, external drive and weather stations) off a 12v sealed lead acid battery (7 amp hour) and a charger connected to that (the charger spends most of its time in standby with a battery terminal voltage of 13.8). This has enabled me to get rid of all those mains transformers producing heat and wasting electricity. Power consumption of the whole set up is around 5 to 15 watts (depending on the processor usage at the time). I've turned the charger off (simulating a power outage) and everything runs for at least 8 hours.