Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun Dec 21, 2014 10:11 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation) • Downloads
Please put your approximate location into your profile • Add your personal web site to the Cumulus user map
Read the Announcements and News section regularly!
Do not allow your PC to go into standby mode while Cumulus is running - read the readme.txt!
If you find Cumulus useful, please make a donation -

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Datalogger problem II
PostPosted: Mon Jan 30, 2012 8:22 pm 
Offline

Joined: Mon Jan 30, 2012 8:13 pm
Posts: 3
Location: Reading, Berkshire
Weather Station: Oregon WRM200
Operating System: XP
Hi All,

I just downloaded the latest Cumulus release from 25th Jan (no previous versions installed) and hooked it up to my Oregon WRM200 which had about 3 month worth of data in the logger.
Cumulus started downloading the history, which took quite a while :D, but once it was done, I could only see todays data. All the maximums etc. were from the last 5 minutes.
I tried to download the datalogger again using some other program (weather display), but the datalogger seems to have been wiped!

I'm a bit worried to have lost 3 months worth of data... :shock:

I've checked the backup and the data folders, nothing in there with any data in it.
However, I've found this in /diags/cumulus.001 with the size of about 10k with (among others) the following entries: see below
it seems to have ignored all history?

Any idea what has gone on? and how I can get my history back?
can I 'load' the below file again somehow or at least convert the line of 'package data' into a CSV file? (can do that myself ,just need to know the algorithm)

any ideas would be much appreciated!
Thanks,
Marc

30/01/2012 16:39:46.734 : 16:39:46 Initialising WMR200
30/01/2012 16:39:46.734 : 16:39:46 WMR200: Looking for station...
30/01/2012 16:39:46.750 : 16:39:46 WMR200: Found station
30/01/2012 16:39:46.750 : Sending reset
30/01/2012 16:39:46.750 : Loading last N hour data from data logs: 30/01/2012 16:38:57
30/01/2012 16:39:46.750 : Getting logger entries
30/01/2012 16:39:46.765 : Closing form
30/01/2012 16:39:46.765 : Station settings done
30/01/2012 16:39:47.140 : HISTORY_AVAILABLE_PACKET_TYPE
30/01/2012 16:39:47.140 : Sending DA response
30/01/2012 16:39:47.375 : Packet:D2 46 0B 10 0D 0A 0B 00 00 00 00 00 00 A9 00 00 0C 01 01 07 06 0C 06 A0 00 00 20 00 FD 33 05 34 04 60 00 01 34 96 00 00 01 D8 00 33 6E 00 00 44 E9 00 3A 96 00 00 03 DE 00 45 A0 00 00 02 DD 00 3D 8C 00 00 68 0C
30/01/2012 16:39:47.375 : History data for: 2011-10-13 16:11
30/01/2012 16:39:47.375 : Timestamp is earlier than latest data, ignoring
30/01/2012 16:39:47.390 : HISTORY_AVAILABLE_PACKET_TYPE
30/01/2012 16:39:47.390 : Sending DA response
30/01/2012 16:39:47.625 : Packet:D2 46 10 10 0D 0A 0B 00 00 00 00 00 00 A9 00 00 0C 01 01 07 08 0C 00 00 00 00 20 00 FD 33 05 34 04 60 00 01 36 A0 00 00 01 D6 00 33 6E 00 00 44 E7 00 39 8C 00 00 03 DD 00 44 A0 00 00 02 DC 00 3C 8C 00 00 C2 0B
30/01/2012 16:39:47.625 : History data for: 2011-10-13 16:16
30/01/2012 16:39:47.625 : Timestamp is earlier than latest data, ignoring
30/01/2012 16:39:47.843 : Packet:D2 46 15 10 0D 0A 0B 00 00 00 00 00 00 A9 00 00 0C 01 01 07 08 0C 00 00 00 00 20 00 FD 33 05 34 04 80 03 01 34 A0 00 00 01 D7 00 34 78 00 00 24 E7 00 39 8C 00 00 03 DD 00 45 A0 00 00 02 DC 00 3D 8C 00 00 D6 0B
30/01/2012 16:39:47.843 : History data for: 2011-10-13 16:21
30/01/2012 16:39:47.843 : Timestamp is earlier than latest data, ignoring


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Mon Jan 30, 2012 8:30 pm 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20769
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Cumulus starts collecting data from the point where you first run it. See http://wiki.sandaysoft.com/a/FAQ#I.E2.80.99ve_just_installed_Cumulus.2C_and_it_didn.E2.80.99t_download_all_the_old_data_from_my_weather_station

The WMR200 station is unusual in that it doesn't allow software to choose the point from which archive data is downloaded and gives no control over what is sent, it just sends it, and then deletes it. So I'm afraid your data is lost, other than what was recorded in the diags files.

If you want to attempt to create entries in the Cumulus data logs manually, the format of the WMR200 archive packets is here: http://www.bashewa.com/wmr200-protocol.php and the format of the Cumulus data logs in in the help and the wiki. You only need to create the 'monthly' files, and then Cumulus can build the rest from that.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Mon Jan 30, 2012 9:30 pm 
Offline

Joined: Mon Jan 30, 2012 8:13 pm
Posts: 3
Location: Reading, Berkshire
Weather Station: Oregon WRM200
Operating System: XP
Hi Steve,

thanks for the quick reply and those links!
very helpful, but it seems like there's a bit of a headache to be had down the road... but do-able.

Is there really no way to stop this from happening for future users?
Like at least providing a pop up saying 'All your history will be erased - unplug now!' if the program found a WRM200. Or simply stop sending 'DA' requests?
I didn't really expect the program to 'ignore' my history files... true, it's mentioned in the FAQ, but I've only just come across Cumulus, liked the screenshots and wanted to give it a try!

ok, will try to unpluck these hex log entries and post the program later in case someone else needs it!

Thanks,
Marc


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Mon Jan 30, 2012 9:46 pm 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20769
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Marc_Han wrote:
Is there really no way to stop this from happening for future users?

I've only recently added basic support for the WMR200 and it's the first station I've come across that behaves in this strange way, so there is currently no code in Cumulus to handle it. It's possible that I will improve the support for the WMR200 station at some point.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Wed Feb 01, 2012 10:19 pm 
Offline

Joined: Wed Feb 01, 2012 10:15 pm
Posts: 1
Location: melbourne
Weather Station: wm200
Operating System: windows 7
Hi, I've got a WM200 with datalogger enabled, and would like to use Cumulus.

I've got a few months of data as well, so I'm not going to plug it in, until I work out how to capture the data.

Apart from Cumulus, has anyone got the next best software to use? I've tried Weather OS, which doesn't work. I've tried Weather Display, which just seems so clunky its unusable.


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Wed Feb 01, 2012 11:46 pm 
Offline

Joined: Wed May 13, 2009 9:35 am
Posts: 122
Location: Nr Ilkley, West Yorks, UK
Weather Station: Davis Vantage Pro 2 Wireless
Operating System: Windows 7
For those of you who have just found Cumulus but have accumulated data on the WMR200 beforehand, try a slightly different viewpoint.
I bought my WMR200 quite a few months before Steve integrated support for it in Cumulus. I looked at and tried several other different weather packages, and quite frankly none of them came close to the easy interface and total flexibility that Cumulus offered. So, I waited. There was little I could do with my weather station without Cumulus, I just looked at the current stats it was displaying from day to day.
When Steve got the WMR models integrated, I just said great, at last, something I can really use. I reset everything and started from fresh as actually I had no idea as to the integrity of the data that I had already collected in the logger.
I know it might seem a pain loosing up to 3 months of data, but just go with the mindset that Cumulus will offer a great solution longterm, you won't regret it.
Oh, and also pay Steve his dues, whatever you can afford, it truly is a labour of love for him and he does deserve some small recognition because you will find that if you have a query, he responds all times of the day and night!
Just enjoy it for what it is.

_________________
bigmac
Menston Weather


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Thu Feb 02, 2012 9:13 am 
Offline
Cumulus Author
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 20769
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
You could try the following:

Install Cumulus but don't run it. In the 'data' folder, create a file called 'today.ini' containing the following

[General]
Date=01/01/2012
Timestamp=01/01/2012 08:45:00

Edit the dates to some point before the data in your logger starts. It's important to make the format of the dates match something which Windows on your system will recognise and be able to decode.

Start Cumulus and fill in the station settings screen appropriately.

I've tried this with a fresh install, and it downloaded the week's worth of data that was in my WMR200 logger. There's no guarantee that it will work for you, of course, Cumulus comes with no guarantees and you use it at your own risk. Remember that you'll probably only get one chance. You could watch the data folder when Cumulus starts downloading the data to see if it's created the monthly log file and is adding data to it, and quit if it isn't, you'll should only lose a few entries.

Note that downloading three months of data will take a very long time, and there will be a gap following the logger data in the logs as no live data is processed while logger data is being downloaded. The station may also stop sending the archive data from time to time; restarting Cumulus should get it going again from where it left off.

At the end of the download, once it seems to be running OK on live data, you should stop Cumulus (it will take a long time to close down) and edit dayfile.txt to delete the first entry as it most likely won't be valid. You may have some other tidying up to do.

That's the best I can offer.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Datalogger problem II
PostPosted: Thu Feb 02, 2012 10:27 am 
Offline

Joined: Mon Jan 30, 2012 8:13 pm
Posts: 3
Location: Reading, Berkshire
Weather Station: Oregon WRM200
Operating System: XP
Thanks for the workaround Steve!
Bigmac, you're spot on. The only reason I wanted to try Cumulus is, because the rest is basically not very usable, to put it politely.

So thanks for your all your work Steve, really do appreciate it, even if that might not have come accross in my first post :oops: - Sorry!

I'm still working on this conversion program (or rather: didn't have a chance to get started other than designing it in my head as I got sidetracked with other stuff) and wil post it should someone else fail to read this before plugging in..

Thanks,
Marc


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group