Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Using Cumulus with a rotatable AWS (on a windmill)

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by mcrossley »

Excellent :clap: , glad to be of help.
uncle_bob
Posts: 505
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by uncle_bob »

Stuart2007 wrote:I now have this working fine on a test web page, thanks for the currcond tip.

Stuart
Would love to see the web site and maybe a few pics of the mill ;)
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by beteljuice »

Ditto re a working page you are happy to share (so we can rip it apart :lol: )

Re. your site mystery machine:

Great fun !

Is it the right way up ?
Is the square 'key' relevent ?
If that is an 'in' hole - where's the 'out' ?
Why can't I see the axle shaft for the machined roller ?
Is there more than one ?

It looks a little like a chaff cutter, but there are no blades on the flywheel nor a 'feeder'.

I'm enjoying this mechanical diversion :clap:
Image
......................Imagine, what you will KNOW tomorrow !
Stuart2007
Posts: 51
Joined: Sat 22 Dec 2012 11:33 am
Weather Station: Chas Ohlson
Operating System: Windows 7
Location: United Kingdom

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by Stuart2007 »

Hi all

The 'proof of concept' is here : http://www.oldlandwindmill.co.uk/newsite/AWS/index4.htm. Rip away! but be a bit kind :-) I am teaching myself javascript as I go...

As you will see from the source, I simply use a webtag to pick up currcond (with the file regenerated each upload from a master file using an entry in the Files tab of Config Internet settings.

Next up, I want to add to the webpage a one hour and 4 hour average windspeed. That matters for milling.

I could just use the <#wspddate> and <#nextwindindex> webtags to heap 3600 entries into the file, but that is a big overhead when I need max 240 entries (and the internet conneciton will be a 3g one). I could pre-extract those 240 entries, and preload them into the webpage before Cumulus adds its stuff to the webtags...but that would mean the average data was always 10 mins (in my planned case) out of date. So neither ideal

Any suggestions?

At the moment, the sensors are in my garden, just working too on the mill installation.

Many thanks

Stuart

PS Phase 2 is to replace the manual entry of "Mill heading" with an arduino reading off a magnetometer and writing to the currcond file. Phase 3 is mill specific data, such as how fast the sweeps are rotating (just like a bike speedometer - magnet and read switch). Phase 4 may be a torque index sensor, perhaps measuring the deflection in the millshaft using IR....how late is the sweeptip in arriving on a radius compared to the centre)
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by beteljuice »

Excuse my ignorance, but is your 3G connection charged by number of connections, duration of connections or bandwidth (or a combination).

In the last case especially you should be thinking of php and / or Ajax scripted pages where you only need to upload data (especially if you do not really need Cumulus default 'console' graphs or moon image).

You can even contruct your own version of realtime.txt (see wiki / forum on php webtags and similar)
Image
......................Imagine, what you will KNOW tomorrow !
Stuart2007
Posts: 51
Joined: Sat 22 Dec 2012 11:33 am
Weather Station: Chas Ohlson
Operating System: Windows 7
Location: United Kingdom

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by Stuart2007 »

beteljuice wrote:Excuse my ignorance, but is your 3G connection charged by number of connections, duration of connections or bandwidth (or a combination).

You can even contruct your own version of realtime.txt (see wiki / forum on php webtags and similar)
Hi Beteljuice

Our cost relates to bandwidth; we are beneath the limit but without too much headroom. It irks me to upload 3600 units of data when 240 only are needed, when I could use the bandwidth for something else.

php/Ajax are not something I have tangled with, and lower priority at present than building sensors for compass bearing and mill operating parameters...ie Phase 5!

Stuart

PS Will pass your comments/questions re mystery machine on to the windmill gang
Stuart2007
Posts: 51
Joined: Sat 22 Dec 2012 11:33 am
Weather Station: Chas Ohlson
Operating System: Windows 7
Location: United Kingdom

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by Stuart2007 »

Quick update...thanks to your help (and Mark in particular with his gauges) I am getting well on the way to a usable website :D , correcting for the varying "Mill Heading". See http://www.oldlandwindmill.co.uk/newsit ... s-ssMH.htm. I still need to fix the tooltips, and the windrose.

Mark if you are reading this, I am thinking I need to rotate the data in Windrosedata uploaded from realtimegauges.txt after it arrives and before windrose.js uses it. It seems to be a set of radius measures for each of the 16 cardinal points (although your own gauge seems to eliminate the three-letter points which Fine Offset under records...I guess it will be easier to stick to the same 16 angles, not try to rotate the points to the nearest degree.

Is this a sensible approach - my gauges.js is becoming quite customised, but I would like to try to keep to your standard windrose.js

Best wishes

Stuart
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Using Cumulus with a rotatable AWS (on a windmill)

Post by mcrossley »

Without getting into some complex maths I think you are right the simple way to 'rotate' the rose is to 'rotate' the array elements. You will only have a 16 point resolution, but that is possibly "close enough". I checked the RGraph API just in case you could specify a start angle for the data - it hasn't got anything like that :(

However, thinking about it, that will only work if the mill heading has been constant over the wind rose period won't it? If the mill heading changes then old directional data is invalid isn't it?

You need a mechanical linkage/chain from the mill to the wind direction sensor base to rotate it in the opposite direction to the mill so it always points true North! All your problems solved :lol:

I have dropped the number of rose points from 16 to 8 in Cumulus because of the vagaries of the FO kit, but that would make things even worse for your resolution.
Post Reply