New user questions

894 views
Skip to first unread message

Robin Edwards

unread,
Jul 14, 2013, 1:45:25 PM7/14/13
to weewx...@googlegroups.com
Hi,
I've just installed Weewx and it is running.   I have a few questions  hope you don't mind me asking.  I looked through the very comprehensive documentation but I suspect I've missed something.

First, background.
I had a SO 968NX (I think) that had run for a number of years under the control of MisterHouse.  However, unable to replace a failed outdoor thermometer as they no longer make them I decide to  get a new Weather Station.  An offer at Costco tempted me down the route of SO WMR88.  Not ideal due to it's apparent weak wireless and long sample time but in budget.  I have it with a UV sensor as well as the basic kit.  This I ran with wview for a couple of months (Since mid April).  It is running on my Excito B3 along with my file server, music etc for our home. I've had a couple of problems with wview mainly in area of restarting after power outages (or rather not restarting).

Anyway to cut a long story short yesterday afternoon I installed Weewx on the B3, stopped wview and I seem to be in business.  Install went straight through without problems.

Second, my questions.
Probably simple, so apologies, however....

1: I've changed the temperature reported to Centigrade an barometric pressure to mb by editing weewx.conf.  Hopefully that's the best place.  I also changed the radar to a UK meteox site based on what I saw from another user in Ireland.  All seems good.
2: Is there anything specific I need to do to make weewx start automatically after a power down or power fail of my server?
3: I have data saved under wview from 14th April until two weeks ago, it appears to be possible to import it, how please?  I have the default setting for databases (sqlite if I'm reading the conf file correctly).
4: I cannot see how to get the UV stats working, what am I missing?

Those answers will get me to a good position.  I've seen some other very nice implementations of weewx, those ideas are great but basics first.

Thank you in advance for any help.

regars, robin


Thomas Keffer

unread,
Jul 14, 2013, 2:46:49 PM7/14/13
to weewx-user
Hi, Robin and welcome

The answers to your questions:

1. The units used for your reports are set in skin.conf, not weewx.conf. See the [[Groups]] section of the Customizing Guide. For example, change the lines

group_temperature = degree_F
group_pressure = inHg

to

group_temperature = degree_C
group_pressure = mbar


2. To have weewx start automatically it should be run as a daemon. Instructions are in the Running as a daemon section of the User's Guide.

3. Instructions for how to import wview data are in the Compatibility with wview section of the User's Guide.

4. Just to be sure: you are using the driver wmr100.py, right? Looking through it, you may have uncovered a bug! Could you try the attached version of wmr100.py? Just substitute it for the old version in bin/weewx/drivers/wmr100.py.

-tk





--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer
wmr100.py

Robin Edwards

unread,
Jul 15, 2013, 9:11:10 AM7/15/13
to weewx...@googlegroups.com
Hi Thomas,
Thank you for the reply.  I'm having trouble responding to your reply so, as I'm stuck for time I'm responding this way (I think to my original).
1: Move the entries (I'd uncommented and added to weewx.conf, commented out again and moved to skin.conf as recommended.  Still working fine.
2: I'll check this at the weekend, however, I installed from the deb and I think the section says if I do that everything is set up OK.
3: Will tackle moving the data at the weekend
4: Tried new version, made no difference, it was being seen in wview so should be getting as far as the console of the wmr88.

Thank you for your help, robin

Thomas Keffer

unread,
Jul 15, 2013, 9:29:26 AM7/15/13
to weewx-user
Robin

I will be on the road for a few weeks, so I won't have a chance to debug the UV sensor until I get back. 

-tk


--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Robin Edwards

unread,
Jul 30, 2013, 12:08:40 PM7/30/13
to weewx...@googlegroups.com
Hi Thomas,

The UV is not a rush.

I followed the process for getting the wview data into weewx apart from I've copied all the files away safely so I have before copies of everything.  I misunderstood the process however.  I have run weewx for a couple of weeks before doing this step, so, now the the last couple of weeks of data is missing from the stats but I've got all of April, May and June!   
Is there anyone who could help point me in the right direction with recovering the data?  I have the data in duplicated files saved safely, just dont know how (if) I can get it merged into the database.

robin

Thomas Keffer

unread,
Aug 2, 2013, 2:20:19 PM8/2/13
to weewx-user
As I understand it, the problem you are trying to solve is merging two archive databases, right? I assume they are both sqlite databases. Call them wview.sdb (from your wview days) and weewx.sdb (from weewx). I'm assuming they both use the same schema. 

First, dump the wview database into a separate file:

$ sqlite3 wview.sdb
sqlite> .output wview.dump
sqlite> .dump
sqlite> .quit

Then import the dumped data into the weewx database:

$sqlite3 weewx.sdb
sqlite> .read wview.dump
(this will emit an error "table archive already exists", but then should proceed to import the wview data)
sqlite> .quit

NOT TESTED. Make backups before your start. :-)

Let us know how it goes!

-tk

Robins gmail

unread,
Aug 6, 2013, 3:56:56 PM8/6/13
to weewx...@googlegroups.com
Well, finally got a chance to try this.  I made a copy of everything then went through the process.  It appears to have worked, at least partially, but I think not fully. I'm using the default web pages not made any changes so the buttons are the defaults.
1: On selecting the month button see data from 13th July up to and including 6th August.
2: On selecting July 2013 in the month report I only see 13th July then a gap up to and including 29th August. 
The gap is the missing data, appears via one report but not another.

Pleased so far, cant quite see why it would be in one report and not the other.
robin
You received this message because you are subscribed to a topic in the Google Groups "Weewx user's group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/T2VuiIkcAEM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages