Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

The inside of the ws-1081

Discussion specific to Fine Offset and similar rebadged weather stations
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: The inside of the ws-1081

Post by steve »

82M99, according to a post in this thread: https://cumulus.hosiene.co.uk/viewtopic.php?f=16&t=2936
Steve
MFX
Posts: 6
Joined: Tue 10 Apr 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Post by MFX »

Thanks, a bit more detail about my plan. :-

Fit a better quality TX/RX unit with decent aerials to extend the range.
Work out the protocol for the wireless link between the units (has someone done this already?)
Work out the protocol for the USB link (ditto?).
Fit my own little micro to the transmitter which will continue sending Wind speed and direction info when the units main micro isn't.
Fit another micro to the the receiver which will send the extra data to the PC via the USB connector.

This means that the update rate on the receivers LCD display will be unchanged but the PC will get far more frequent wind information. Could cumulus cope with this?

Long term would be to completely replace the transmitters micro with my own to do all the sensors at higher speed, I doubt the LCD will update faster but the PC should.

Martin.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: The inside of the ws-1081

Post by steve »

MFX wrote:Work out the protocol for the wireless link between the units (has someone done this already?)
Others have asked about this, but I'm not aware of anyone who has actually done it.
Work out the protocol for the USB link (ditto?).
The protocol is available unofficially from various places, e.g. http://code.google.com/p/fowsr/downloads/list
This means that the update rate on the receivers LCD display will be unchanged but the PC will get far more frequent wind information. Could cumulus cope with this?
Cumulus just reads the station's current data location every 10 seconds and treats what it gets as a new set of data, even if it hasn't changed. I can't think of any code in Cumulus which would care if it actually did update more often than the normal 48 seconds. I don't really understand how your plan works, but it involves hardware so that's not surprising :lol:
Steve
AllyCat
Posts: 1124
Joined: Sat 26 Feb 2011 1:58 pm
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
Location: SE London

Re: The inside of the ws-1081

Post by AllyCat »

MFX wrote:Fit my own little micro to the transmitter which will continue sending Wind speed and direction info when the units main micro isn't.
Hi Martin,

You've omitted "Fit a larger battery to the transmitter" (or maybe add solar powering). The reason that the transmitter runs for a year or more on a pair of cells is that it only transmits for 50ms every 48 seconds (i.e. 0.1% duty cycle).

Good luck working out the RF protocol, nobody else seems to have succeeded yet.

However, I am working on a project which happens to involve "processing" the FO wind data more frequently (but it's not the prime aim of the project), maybe some details in the Homebuilt section soon.

Cheers, Alan.
MFX
Posts: 6
Joined: Tue 10 Apr 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Post by MFX »

The protocol is available unofficially from various places, e.g. http://code.google.com/p/fowsr/downloads/list
Ah sorry I don't mean the USB link between the receiver and the PC I mean the bit between the micro in the receiver and the Holtek USB chip. Would there be any way of making Cumulus look at the data more frequently than every 10 seconds (at least for wind information?) My long term plan for this is for use at firework displays where wind information is a priority but what the weather in general is likely to do is also very useful so what I want to have is :-

Portable handheld receiver giving just wind information (with audible alarms) that can be carried round the site.
Existing LCD display giving an overview of the weather in general.
PC logging everything but in particular windspeed and direction.

Martin.
MFX
Posts: 6
Joined: Tue 10 Apr 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Post by MFX »

AllyCat wrote: You've omitted "Fit a larger battery to the transmitter" (or maybe add solar powering). The reason that the transmitter runs for a year or more on a pair of cells is that it only transmits for 50ms every 48 seconds (i.e. 0.1% duty cycle).
Not a concern for me it will only ever need to run for a week at a time maximum and usually a lot less than that.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: The inside of the ws-1081

Post by steve »

MFX wrote:Ah sorry I don't mean the USB link between the receiver and the PC I mean the bit between the micro in the receiver and the Holtek USB chip.
I had a feeling you were after something more low level than the bit I understand.
Would there be any way of making Cumulus look at the data more frequently than every 10 seconds (at least for wind information?)
It would be easy enough to make the interval configurable (I've been thinking of doing that anyway); I'd just have to check to make sure that I haven't written any code that currently relies on the 10 second interval. It would have to read all of the data at the same time, not just the wind data.
Steve
MFX
Posts: 6
Joined: Tue 10 Apr 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Post by MFX »

Good luck working out the RF protocol, nobody else seems to have succeeded yet.
Well I'm making progress, I've isolated the bits of the data stream that indicate :-

Wind speed
Direction
Rainfall
Temperature
Humidity
Low battery
possibly TX battery voltage?

But I haven't been able to work out how the numbers sent correspond to what's displayed yet. Next stage is to make a dummy transmitter so I can send numbers of my choice and see what they correspond to on the display. There's also a lot of bits that don't seem to change whatever I do, maybe reserved for other features?

Martin.
MFX
Posts: 6
Joined: Tue 10 Apr 2012 11:50 am
Weather Station: WH1081
Operating System: Windows XP
Location: UK

Re: The inside of the ws-1081

Post by MFX »

MFX wrote:
Good luck working out the RF protocol, nobody else seems to have succeeded yet.
possibly TX battery voltage?
Ah what I though may be battery voltage looks like it may be a checksum which is a bit of a stumbling block until I can work out what checksum method they've used.

Martin.
NullColaShip
Posts: 1
Joined: Sat 02 Jun 2012 12:00 pm
Weather Station: WH1081
Operating System: Windows 7
Location: Christchurch, New Zealand

Re: The inside of the ws-1081

Post by NullColaShip »

MFX wrote: Well I'm making progress, I've isolated the bits of the data stream that indicate :-

Wind speed
Direction
Rainfall
Temperature
Humidity
Low battery
possibly TX battery voltage?

But I haven't been able to work out how the numbers sent correspond to what's displayed yet. Next stage is to make a dummy transmitter so I can send numbers of my choice and see what they correspond to on the display. There's also a lot of bits that don't seem to change whatever I do, maybe reserved for other features?

Martin.
Can you please share your findings so far? I'm planning on rigging up a microcontroller to receive the data from my station (I'm just awaiting a pitch changer for the RF transceiver I've got, so I can attach it more easily) - so anything you're able to share would be a great help, both in terms of your setup and the protocol. I've got a TI Launchpad (with an MSP430G2553) lined up for the job, with a CC1101-based transceiver module, but no matter what you're using I'm sure there'll be some room for collaboration (i.e. the protocol).

Cheers,
Paul
ksangeelee
Posts: 8
Joined: Sun 20 Nov 2011 9:50 pm
Weather Station: WH-1081
Operating System: Debian
Location: Edinburgh
Contact:

Re: The inside of the ws-1081

Post by ksangeelee »

steve wrote:
MFX wrote:Work out the protocol for the wireless link between the units (has someone done this already?)
Others have asked about this, but I'm not aware of anyone who has actually done it.
I've created a receiver for my WH1081 (Maplin branded, 433MHz) using a Raspberry Pi. As part of the project, I had to figure out the wireless protocol, which I've documented in the (link) here.

Kevin
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: The inside of the ws-1081

Post by Super-T »

Well done.. Great project for a rainy day :-)
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: The inside of the ws-1081

Post by steve »

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

Re: The inside of the ws-1081

Post by mcrossley »

Also interesting that the radio data packet does have a checksum, so unless the base station ignores it, these 'wacky' values coming from the FO must be generated in the base station? Though I doubt the base station multi-tasks so my initial thought about possibly reading memory locations that are partially written to would seem unlikely?
AllyCat
Posts: 1124
Joined: Sat 26 Feb 2011 1:58 pm
Weather Station: Fine Offset 1080/1 & 3080
Operating System: Windows XP SP3
Location: SE London

Re: The inside of the ws-1081

Post by AllyCat »

mcrossley wrote:Also interesting that the radio data packet does have a checksum, so unless the base station ignores it, these 'wacky' values coming from the FO must be generated in the base station?
Hi,

Or the "Transmitter" (external module) is creating/reading wacky values before calculating the checksum? :)

Yes, well done Kevin; I suspect that "m" is indeed the top nibble of the rain count. I seem to remember that the rain count from the Console (USB/memory map) is two bytes (but of course the Console could maintain an "overflow" from the "n" nibble locally). However, it should be easy to test, just plug the Wind (anemometer) cable into the Rain socket for few hours ! ;)

I'm fairly sure that that protocol is the "new" one, introduced on the 308x (Solar) models and apparently now on "recent" Maplin units. The earlier protocol seems to be quite different (surprisingly using a significantly higher data rate) because the full transmission takes less than 50ms (but no "repeats") with earlier models.

Personally, I don't have an RPi but as it appears you've posted the source code, perhaps someone else will be able to analyse some of the "other" protocols. The x080 models transmit the Radio Controlled Clock data as well, and the 308x models transmit solar data in a separate packet (with 60 seconds repetition rate). That might be easier to decypher (now that you've cracked the basic data format) because the Solar Pod encodes the data packet to send to the transmitter, so it can be read (on the Solar Pod cable) even without a radio receiver.

Cheers, Alan.
Post Reply