[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-06 Thread 'Don l' via weewx-user
hi I looked at your program. If you just whipped up that one on a whim just 
for an answer for me I am impressed. I am just begining to learn python so 
I know almost nothing yet. I do not have any written data for the rain days 
up to now. I got my new station earler this year but have not been able to 
do anything with it really. I previously had buntu on my machine because I 
could not get it to cooperate with me to get Debian installed. I finally 
learned enough to get it done so I did it when I was having problems. After 
I got it running I found Weewx a different weather program to use. I had 
wview before and it was being a beast to me. So new OS and new Weather 
program. My previous two weather stations did not have a bridge so it did 
not keep data on the computer. Enough of this explaining why. Sorry to 
waste your time. 

Today I removed the wind sensor and took it apart and cleaned the battery 
terminals and spider webs out of the holes changed the batteries and reset 
the sensor. I reinstalled the wind sensor and it still is not reading. I 
did learn that the web display page is static and it only updates when I do 
an F5 key or reload the page or reload the browser. The graphics are 
updating to show the readings all the time. Wind speed and direction are 
blank so for. The log still shows the wind sensor fail every few minutes so 
I think it is not synced yet. It was working till this fiasco happened. 
Maybe it will again. 

Does anyone know if you actually have to reset the console to resync the 
sensors after a battery change and reset of sensor or power down of sensor. 
I also did another edit to correct the data some more on the location and 
GPS numbers. The numbers are not displaying correct for the info I have. 
Digital display is supposed to be Lat Long 34.9028 -93.9945  for my 
location but it displays as 34 54.17' N  093 59.67' W. I looked up on the 
net to find out how to change the number to what the program asked for but 
now it displays it like it had it before. Google earth says I am at 34 54 
10.33N / 93 59 40.24W. What is the correct method to use?
Don


On Wednesday, October 5, 2016 at 12:52:51 AM UTC-5, John Smith wrote:
>
>
>
> On Wednesday, October 5, 2016 at 4:19:23 PM UTC+11, Andrew Milner wrote:
>>
>> Regarding the rainfall to date - if you have the data for January - 
>> current already stored somewhere (eg wunderground or in another 
>> application) you may be able to use wee_import to grab the historic data.  
>> If the rainfall for the year is just a number which you know in your head 
>> then I would suggest that you just forget it - or maybe even set weewx to 
>> start a rain year in October (by using the start rainyear setting in the 
>> weewx .conf file)
>>
>
> I wrote a simple php script to work out raindays, rain to date and rain 
> days/total for last year.
>
> http://pastebin.com/mGLBAyG1
>

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-04 Thread John Smith


On Wednesday, October 5, 2016 at 4:19:23 PM UTC+11, Andrew Milner wrote:
>
> Regarding the rainfall to date - if you have the data for January - 
> current already stored somewhere (eg wunderground or in another 
> application) you may be able to use wee_import to grab the historic data.  
> If the rainfall for the year is just a number which you know in your head 
> then I would suggest that you just forget it - or maybe even set weewx to 
> start a rain year in October (by using the start rainyear setting in the 
> weewx .conf file)
>

I wrote a simple php script to work out raindays, rain to date and rain 
days/total for last year.

http://pastebin.com/mGLBAyG1

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-04 Thread 'Don l' via weewx-user
Hello Yes we are getting a display with data showing on the web page. The 
wind direction and speed are not showing on the console at present. However 
some times a value is displayed on the webpage. The current readings have a 
value displayed. The time display is not updating over time, but if I close 
the browser and restart it, it updates the time one time. The graphs appear 
to be updating. There has been no rain yet and the previous  setup was 
problematic so I am  hopeful to get good rain measurement later.  

On Tuesday, October 4, 2016 at 7:28:32 PM UTC-5, gjr80 wrote:
>
>
> Ok now I have stopped weewx and did a delete of the weewx.sdb. I did a 
>> start of weewx. That was at 2:22PM and that time is still showing on the 
>> web page. it is now 3:15PM.
>>
>
> Looking at what is displayed on the web page is an unreliable way of 
> determining whether there is an error. The weewx log is your friend and the 
> log will tell you what is happening/has happended. There could well be an 
> error, or depending on your station weewx could just be downloading records 
> stored in the stations logger. You need to look at the log starting at the 
> time you started weewx (2:22pm in this case). If you are having trouble 
> interpreting what is going on post it here (in its entirety not just the 
> bit you can't interpret) and someone will help.
>
> all other functions are working I think except the wind sensor. No rain 
>> yet either.
>>
> Just information here. 

>
> Exactly what is the issue? Wind is not being displayed on the station 
> console? If so I would not expect weewx will see it then, but then weewx is 
> not displaying anything? You say no rain yet, do you doubt your rain gauge? 
> The simple process to follow when an observation is missing is to (1) 
> ensure there is something to observe (ie there is some wind or there is 
> some rain) (2) what does the station display natively (3) what does weewx 
> display. If the station and weewx agree either all is good or there is an 
> issue with your station. If the latter then you need to sort out your 
> station then repeat the steps. If the station and weewx disagree then you 
> may have an issue with weewx. You should then check that weewx is 
> correcttly configured for your station, consult the weewx user manual, 
> search the forums etc. If you believe it is configured correctly and you 
> can't troubleshoot any further then seek help through this forum providing 
> station/weewx install details, config info and log extracts etc.
>  
>
>> How can I add the accumulated rain to the data base? I have 31.87 inches 
>> recorded so far this year on  my other system. It does not connect to the 
>> computer. 
>>
>
> There are a number of things you can do but they are going to be a kludge 
> no matter what you do unless you have details records of times/amounts of 
> rain for each archive period for the year to date (ie each 5 minute period 
> if you are now using a 5 minute archive period with weewx). If you just 
> have 'there has been 31.87 inches of rain so far this year up until 3 
> October' then all you can really do is create some records in the weewx 
> archive and arbitrarily add some rain to each until you come to 31.87 
> inches. This can be done by adding just 1 record, a few records or many 
> records. You need to add the rain value to the rain field in the archive 
> record, the dateTime field needs to hold the unix epoch timestamp of the 
> record, the usUnits field needs to hold the weewx value for the relevant 
> units used by your archive (likely 1 for US customary) and the interval field 
> needs to hold the archive period in minutes. All other fields should 
> contain NULL (or None in python terms). Once complete you would need to use 
> the wee_database utility to drop your daily summaries then backfill 
> 
>  
> them. You will now have a database that reflects your rain to date, but you 
> will have likely made many other historical rain statistics meaningless (eg 
> if you put all your rain in 1 record then if you ever looked for the 
> highest rain in a day I suspect it will always be 31.87 inches) . Your 
> 'future' stats will make sense but anything before 3 October 2016 will not. 
> Its a personal choice.
>
> Gary
>
> Ok I will skip trying to add the rain to date. 
 
At least it is working to some extent and that makes me happy for now.

I was trying to get a copy of the log file but I can only get a single 
screen full tonight. Gotta quit for now. Must go to bed early tonight. Have 
3 hour trip to Dr appoint tomorrow. Will try again tomorrow night.
Don

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-04 Thread 'Don l' via weewx-user
Ok now I have stopped weewx and did a delete of the weewx.sdb. I did a 
start of weewx. That was at 2:22PM and that time is still showing on the 
web page. it is now 3:15PM. all other functions are working I think except 
the wind sensor. No rain yet either. How can I add the accumulated rain to 
the data base? I have 31.87 inches recorded so far this year on  my other 
system. It does not connect to the computer. 
Thanks Don

On Tuesday, October 4, 2016 at 12:47:31 PM UTC-5, Andrew Milner wrote:
>
> If you want a completely clean start then delete the database and reset 
> the weather station.
>
>
>
> On Tuesday, 4 October 2016 20:00:26 UTC+3, Don l wrote:
>
>> I found that the time was incorrect in the console so I set it right I 
>> think. Then I just went to bed last nite. I got up to find the page had 
>> indeed updated. Everything is working but the wind sensor. I took it apart 
>> and checked the batteries and they are 1.5Vdc and the solar cell is putting 
>> out 1.5Vdc also. I did push the reset button and here we are. After about 
>> 20 minutes still no wind info. But that is major progress. 
>>
>> Now am I correct is saying that I probably have bad data in the file 
>> weewx.sdb so I should stop weewx and delete weewx.sdb. Is that the only 
>> file that needs to be deleted? Should I also clear and reset the WMR200A 
>> station and let it start from scratch again? 
>> Don
>>
>> On Tuesday, October 4, 2016 at 1:57:45 AM UTC-5, gjr80 wrote:
>>>
>>> Ok, I am guessing here as I am not familiar with the WMR200 or its 
>>> driver. In essence, the driver is talking to the WMR200, obtaining a 
>>> record, adjusting the timestamp of the record and finding it is earlier 
>>> than the last record in the weewx archive (28 Aug 2016 23:25), discarding 
>>> the record and then getting the next record. This sort of behaviour can 
>>> occur when you first start up with stations that have a logger that can 
>>> store a history. Looking at the weewx Hardware comparison page 
>>> , the WMR200 stores up to 41760 odd 
>>> records, at 1 minute that is about 29 days so it will eventually catch up 
>>> (worst case it might take 41760 records being processed 2 or 3 per second 
>>> or 41760/3 sec = approx 3 hrs 50 min). You could clear the WMR200 memory 
>>> (not sure how that is done - check the manual) or you could leave it run, 
>>> once the received record is timestamped after the last archived record you 
>>> should see the incoming record being saved and reports run. Once the log 
>>> history has been processed the system should settle down into the normal 
>>> save archive record, run reports rhythm.
>>>
>>> One thing though, given the problems you have had gettting this working 
>>> with your station, is the old data in your weewx archive in fact simulator 
>>> data? If so you probably don't want to keep that (it will mess up your 
>>> stats), in fact you probably don't want to wait 4 odd hours, delete the 
>>> data and then wait another 4 odd hours. If you want to get rid of all of 
>>> the old data your best bet is to stop weewx, delete the file 
>>> /var/lib/weewx/weewx.sdb then start weewx. This will start you off with 
>>> a clean database and weewx should start downloading the history again.
>>>
>>> Gary
>>>
>>

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-04 Thread 'Don l' via weewx-user
I found that the time was incorrect in the console so I set it right I 
think. Then I just went to bed last nite. I got up to find the page had 
indeed updated. Everything is working but the wind sensor. I took it apart 
and checked the batteries and they are 1.5Vdc and the solar cell is putting 
out 1.5Vdc also. I did push the reset button and here we are. After about 
20 minutes still no wind info. But that is major progress. 

Now am I correct is saying that I probably have bad data in the file 
weewx.sdb so I should stop weewx and delete weewx.sdb. Is that the only 
file that needs to be deleted? Should I also clear and reset the WMR200A 
station and let it start from scratch again? 
Don

On Tuesday, October 4, 2016 at 1:57:45 AM UTC-5, gjr80 wrote:
>
> Ok, I am guessing here as I am not familiar with the WMR200 or its driver. 
> In essence, the driver is talking to the WMR200, obtaining a record, 
> adjusting the timestamp of the record and finding it is earlier than the 
> last record in the weewx archive (28 Aug 2016 23:25), discarding the record 
> and then getting the next record. This sort of behaviour can occur when you 
> first start up with stations that have a logger that can store a history. 
> Looking at the weewx Hardware comparison page 
> , the WMR200 stores up to 41760 odd records, 
> at 1 minute that is about 29 days so it will eventually catch up (worst 
> case it might take 41760 records being processed 2 or 3 per second or 
> 41760/3 sec = approx 3 hrs 50 min). You could clear the WMR200 memory (not 
> sure how that is done - check the manual) or you could leave it run, once 
> the received record is timestamped after the last archived record you 
> should see the incoming record being saved and reports run. Once the log 
> history has been processed the system should settle down into the normal 
> save archive record, run reports rhythm.
>
> One thing though, given the problems you have had gettting this working 
> with your station, is the old data in your weewx archive in fact simulator 
> data? If so you probably don't want to keep that (it will mess up your 
> stats), in fact you probably don't want to wait 4 odd hours, delete the 
> data and then wait another 4 odd hours. If you want to get rid of all of 
> the old data your best bet is to stop weewx, delete the file 
> /var/lib/weewx/weewx.sdb then start weewx. This will start you off with a 
> clean database and weewx should start downloading the history again.
>
> Gary
>

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-04 Thread 'Don l' via weewx-user
Ahh I think something is happening now. here is a different set of data in 
the log file. weewx.log


Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 11:59:00 CDT 
(1180198740) => 2016-08-21 14:25:24 CDT (1471807524)
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2851 archive_queue_len:1
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:00:00 CDT 
(1180198800) => 2016-08-21 14:26:24 CDT (1471807584)
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:54:58 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2852 archive_queue_len:1
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:01:00 CDT 
(1180198860) => 2016-08-21 14:27:24 CDT (1471807644)
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2853 archive_queue_len:1
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:02:00 CDT 
(1180198920) => 2016-08-21 14:28:24 CDT (1471807704)
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:54:59 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2854 archive_queue_len:1
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:03:00 CDT 
(1180198980) => 2016-08-21 14:29:24 CDT (1471807764)
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2855 archive_queue_len:1
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:04:00 CDT 
(1180199040) => 2016-08-21 14:30:24 CDT (1471807824)
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:55:00 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2856 archive_queue_len:1
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:05:00 CDT 
(1180199100) => 2016-08-21 14:31:24 CDT (1471807884)
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2857 archive_queue_len:1
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving archive packets cnt:0 len:1
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I Using pc time 
adjusting archive record time by 291608784 sec 2007-05-26 12:06:00 CDT 
(1180199160) => 2016-08-21 14:32:24 CDT (1471807944)
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: I genStartup() 
Discarding received archive record before time requested cnt:0 
timestamp:2016-08-28 23:25:00 CDT (1472444700)
Oct  4 00:55:01 One weewx[26634]: wmr200: MainThread: D   Queuing archive 
packet rx:2858 archive_queue_len:1
Oct  4 00:55:02 One weewx[26634]: wmr200: MainThread: I genStartup() Still 
receiving 

Re: [weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread Liz
On Mon, 3 Oct 2016 15:23:47 -0700 (PDT)
"'Don l' via weewx-user"  wrote:

> I wrote another post that dissappeared. 

The posts don't disappear. 
Google hides them from you (the sender).

Liz

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread gjr80
A few things.

Regarding wee_debug destination, have a read of the 'Redirecting wee_debug 
output' section under wee_debug 

 
section of the User's Manual. That has everything you need to redirect to a 
file.

Secondly:
First good timestamp: 2016-08-28 23:20:00 CDT (147200)
Last good timestamp:  2016-08-28 23:25:00 CDT (1472444700)

This is why you have 'old' data being displayed. No records have been added 
to the archive since 28 August, so now new pages have been generated. so 
hence you see the old (incorrect) data on the main page.

Thirdly, looking at the log extract you provided it seesm there is at least 
2 instances of weewx running:
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Running report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Found configuration 
file /etc/weewx/skins/Rsync/skin.conf for report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: rsync upload not 
requested. Skipped.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running reports for 
latest time in the database.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running report 
StandardReport

I suggest you need to stop all running instances of weewx and then start it 
once. From the command line use 
sudo /etc/init.d/weewx stop

and once retuned to the command line use:
ps -aux|more

to look through for any weewx instances that are left running, you are 
looking for something like:
root 16113  0.1  4.2  47732 32884 ?S09:46   0:06 
/usr/bin/python 
/home/weewx/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /home/weewx/
weewx.conf

If you find any take note of the PID number, in this case it is 16113 and 
then kill it. Use (using your PID number not 16113):
sudo kill -9 16113

Fourthly(?), it seems you still have the word 'feet' somewhere, have a look 
in /etc/weewx/skins/Standard/skin.conf under [Units] [[Groups]] at 
group_altitude. 

Finally, it seems there is still a permissions problem:
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Caught unrecoverable 
exception in generator weewx.reportengine.CopyGenerator
Oct  3 16:43:48 One wee_reports[23507]:   [Errno 13] Permission 
denied: '/var/www/weewx/backgrounds/band.gif'

How are you starting weewx? sudo /etc/init.d/weewx start or sudo 
/usr/share/weewx/weewxd /etc/weewx/weewx.conf ? If the latter make sure sudo 
is included upfront of the command.

Gary

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread 'Don l' via weewx-user


On Monday, October 3, 2016 at 7:24:52 PM UTC-5, Don l wrote:
>
> This is part of the /etc/weewx/weewx.conf file.
> *
> debug = 1
>
> # Root directory of the weewx data file hierarchy for this station
> WEEWX_ROOT = /
>
> # How long to wait before timing out a socket (FTP, HTTP) connection
> socket_timeout = 20
>
> # Do not modify this. It is used when installing and updating weewx.
> version = 3.5.0
>
>
> ##
>
> wee_debug output will be sent to stdout(console)
>
> Using configuration file /etc/weewx/weewx.conf
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
>
> System info
>   cpu cores:  4
>   bogomips:   6800.43
>   core id:3
>   apicid: 6
>   fpu_exception:  yes
>   stepping:   3
>   cache_alignment:64
>   clflush size:   64
>   microcode:  0x17
>   cache size: 6144 KB
>   cpuid level:13
>   fpu:yes
>   model name: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
>   siblings:   4
>   physical id:0
>   address sizes:  39 bits physical, 48 bits virtual
>   cpu family: 6
>   vendor_id:  GenuineIntel
>   wp: yes
>   power management:   
>   flags:  fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe 
> syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good 
> nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor 
> ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic 
> movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida 
> arat xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase 
> tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm
>   cpu MHz:1042.179
>   model:  60
>   processor:  3
>   initial apicid: 6
>
>   Operating system:   debian 8.6 
>   Linux One 3.16.0-4-amd64 #1 SMP Debian 
> 3.16.36-1+deb8u1 (2016-09-03) x86_64
>   1 minute load average:  0.14
>   5 minute load average:  0.10
>   15 minute load average: 0.11
>
> General weewx info
>   Weewx version 3.5.0 detected.
>
> Station info
>   Station type: WMR200
>   Driver:   weewx.drivers.wmr200
>
> Driver info
> [WMR200]
> # This section is for the Oregon Scientific WMR200
> 
> # The station model, e.g., WMR200, WMR200A, Radio Shack W200
> model = WMR200
> 
> # The driver to use:
> driver = weewx.drivers.wmr200
>
> Currently installed extensions
> No extensions installed
>
> Archive info
>   Database name:weewx.sdb
>   Table name:   archive
>   Unit system:  1 (US)
>   First good timestamp: 2016-08-28 23:20:00 CDT (147200)
>   Last good timestamp:  2016-08-28 23:25:00 CDT (1472444700)
>   Number of records:1
>   weewx (weewx.conf) is set to use an archive interval of 300 seconds.
>   The station hardware was not interrogated in determining archive 
> interval.
>
> Databases configured in weewx.conf
>   Database name:weewx.sdb
>   Database driver:  weedb.sqlite
>
>   Database name:weewx
>   Database driver:  weedb.mysql
>   Database host:localhost
>
>
> Parsed and obfuscated weewx.conf
> # WEEWX CONFIGURATION FILE
> #
> # Copyright (c) 2009-2015 Tom Keffer 
> # See the file LICENSE.txt for your rights.
>
>
> ##
>
> # This section is for general configuration information.
>
> # Set to 1 for extra debug info, otherwise comment it out or set to zero
> debug = 1
>
> # Root directory of the weewx data file hierarchy for this station
> WEEWX_ROOT = /
>
> # How long to wait before timing out a socket (FTP, HTTP) connection
> socket_timeout = 20
>
> # Do not modify this. It is used when installing and updating weewx.
> version = 3.5.0
>
>
> ##
>
> #   This section is for information about the station.
>
> [Station]
> 
> # Description of the station location
> location = "Waldron, Ar"
> 
> # Latitude and longitude in decimal degrees
> latitude = 34.90
> longitude = -93.99
> 
> # Altitude of the station, with unit it is in. This is downloaded from
> # from the station if the hardware supports it.
> altitude = 754, foot
> 
> # Set to type of station hardware. There must be a corresponding stanza
> # in this file with a 'driver' parameter indicating the driver to be 
> used.
> station_type = XXX obfuscated by wee_debug XXX
> 
> # If you have a website, you may specify an URL
> #station_url 

[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread 'Don l' via weewx-user
This is part of the /etc/weewx/weewx.conf file.
*
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.5.0

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Waldron, Ar"

# Latitude and longitude in decimal degrees
latitude = 34.90
longitude = -93.99

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 754, foot

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be 
used.
station_type = WMR200

# If you have a website, you may specify an URL
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6
*

This is the /var/log/weewx.log   file since I did the edits earlier.
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Running report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: Found configuration 
file /etc/weewx/skins/Rsync/skin.conf for report RSYNC
Oct  3 16:43:17 One wee_reports[23502]: reportengine: rsync upload not 
requested. Skipped.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running reports for 
latest time in the database.
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Running report 
StandardReport
Oct  3 16:43:47 One wee_reports[23507]: reportengine: Found configuration 
file /etc/weewx/skins/Standard/skin.conf for report StandardReport
Oct  3 16:43:48 One wee_reports[23507]: units: Unable to convert from feet 
to meter
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Caught unrecoverable 
exception in generator weewx.cheetahgenerator.CheetahGenerator
Oct  3 16:43:48 One wee_reports[23507]:   'feet'
Oct  3 16:43:48 One wee_reports[23507]:   Traceback (most 
recent call last):
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/reportengine.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:   obj.start()
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/reportengine.py", line 170, in start
Oct  3 16:43:48 One wee_reports[23507]:   self.run()
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:  
 self.initExtensions(gen_dict[option_section_name])
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 177, in initExtensions
Oct  3 16:43:48 One wee_reports[23507]:  
 self.search_list_objs.append(class_(self))
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 455, in __init__
Oct  3 16:43:48 One wee_reports[23507]:   altitude_vt = 
weewx.units.convert(generator.stn_info.altitude_vt, "meter")
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/units.py", line 1054, in convert
Oct  3 16:43:48 One wee_reports[23507]:   conversion_func = 
conversionDict[val_t[1]][target_unit_type]
Oct  3 16:43:48 One wee_reports[23507]:   KeyError: 'feet'
Oct  3 16:43:48 One wee_reports[23507]:   Generator 
terminated...
Oct  3 16:43:48 One wee_reports[23507]: genimages: Generated 12 images for 
StandardReport in 0.08 seconds
Oct  3 16:43:48 One wee_reports[23507]: reportengine: Caught unrecoverable 
exception in generator weewx.reportengine.CopyGenerator
Oct  3 16:43:48 One wee_reports[23507]:   [Errno 13] Permission 
denied: '/var/www/weewx/backgrounds/band.gif'
Oct  3 16:43:48 One wee_reports[23507]:   Traceback (most 
recent call last):
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/reportengine.py", line 140, in run
Oct  3 16:43:48 One wee_reports[23507]:   obj.start()
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/reportengine.py", line 170, in start
Oct  3 16:43:48 One wee_reports[23507]:   self.run()
Oct  3 16:43:48 One wee_reports[23507]: File 
"/usr/share/weewx/weewx/reportengine.py", line 326, in run
Oct  3 16:43:48 One wee_reports[23507]:  
 

[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread vince
On Monday, October 3, 2016 at 3:43:30 PM UTC-7, vince wrote:
>
> On Monday, October 3, 2016 at 3:23:47 PM UTC-7, Don l wrote:
>>
>> I wrote another post that dissappeared. I did another edit to make the 
>> lat long 2 decimals long instead of 4 and also changed the feet to foot in 
>> the altitude. I did a stop and a start command and waited about 10 minutes 
>> and the page still says Santa workshop and the same default data. Am I 
>> doing this wrong? Shouldn't the page update with the new data when I called 
>> up the page again?
>>
>
> we really need a less skeletal amount of data to be able to help more
>
>- did you install weewx from .deb package or from setup.py manual 
>installation method ?
>- what does the bottom 200 or so lines of /var/log/messages indicate ?
>- what does the output of wee_debug indicate ?
>
>
(oops, wee_debug)

I did a clean install of weewx on current debian using the .deb package, 
and it works fine here. 

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


[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread vince
On Monday, October 3, 2016 at 3:23:47 PM UTC-7, Don l wrote:
>
> I wrote another post that dissappeared. I did another edit to make the lat 
> long 2 decimals long instead of 4 and also changed the feet to foot in the 
> altitude. I did a stop and a start command and waited about 10 minutes and 
> the page still says Santa workshop and the same default data. Am I doing 
> this wrong? Shouldn't the page update with the new data when I called up 
> the page again?
>

we really need a less skeletal amount of data to be able to help more

   - did you install weewx from .deb package or from setup.py manual 
   installation method ?
   - what does the bottom 200 or so lines of /var/log/messages indicate ?
   - what does the output of wee_diag indicate ?

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


Re: [weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread Thomas Keffer
Hard to say without seeing the log.

-tk

On Mon, Oct 3, 2016 at 3:23 PM, 'Don l' via weewx-user <
weewx-user@googlegroups.com> wrote:

> I wrote another post that dissappeared. I did another edit to make the lat
> long 2 decimals long instead of 4 and also changed the feet to foot in the
> altitude. I did a stop and a start command and waited about 10 minutes and
> the page still says Santa workshop and the same default data. Am I doing
> this wrong? Shouldn't the page update with the new data when I called up
> the page again?
> Don
>
>
> On Sunday, October 2, 2016 at 4:45:43 PM UTC-5, Don l wrote:
>>
>> I am back to the Weather Station problem now. Previous posts repaired
>> system. The operating system is Debian 8.5.0. Recent upgrade from Ubuntu
>> 14.04.
>> I have an I5 cpu in a MSI Z97 Guard Pro Mother board, 8gig ram, 500 gig
>> hd, wired Ps2 keyboard, wireless mouse, and an hdmi monitor. I have the USB
>> Ohio Scientific WMR200A weather station and Weewx 3.5.0. Hope that is
>> enough info this time.
>>
>> My problem is that I have installed the weewx. I have run the weewx.conf
>> and gave it the parameters for my location and station type. When I call up
>> the page to see the weather data (file:///var/www/weewx/index.html)
>> I get a Santas Workshop at North pole page. The only thing on the page
>> that seems to have been changed is the install date which was August 28
>> 2016. All other date is the default that came with the install. I have
>> found two log files that seem to be important. one is the syslog that has
>> everything on the systems errors, and the other is Weewx specific which is
>> Weewx.log. Weewx.log has all the weewx errors and I will try to copy it
>> here.
>>
>>
>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Using PC Time:
>> True
>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Erase archive
>> data: False
>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive
>> interval: 60
>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive
>> threshold: 604800
>> Sep 27 14:29:36 One weewx[5166]: engine: Caught unrecoverable exception
>> in engine:
>> Sep 27 14:29:36 One weewx[5166]:   invalid literal for float():
>> 34 54N
>> Sep 27 14:29:36 One weewx[5166]:   Traceback (most recent call
>> last):
>> Sep 27 14:29:36 One weewx[5166]: File
>> "/usr/share/weewx/weewx/engine.py", line 853, in main
>> Sep 27 14:29:36 One weewx[5166]:   engine =
>> EngineClass(config_dict)
>> Sep 27 14:29:36 One weewx[5166]: File
>> "/usr/share/weewx/weewx/engine.py", line 72, in __init__
>> Sep 27 14:29:36 One weewx[5166]: 
>>  self.preLoadServices(config_dict)
>> Sep 27 14:29:36 One weewx[5166]: File
>> "/usr/share/weewx/weewx/engine.py", line 110, in preLoadServices
>> Sep 27 14:29:36 One weewx[5166]:   self.stn_info =
>> weewx.station.StationInfo(self.console, **config_dict['Station'])
>> Sep 27 14:29:36 One weewx[5166]: File
>> "/usr/share/weewx/weewx/station.py", line 55, in __init__
>> Sep 27 14:29:36 One weewx[5166]:   self.latitude_f  =
>> float(stn_dict['latitude'])
>> Sep 27 14:29:36 One weewx[5166]:   ValueError: invalid literal
>> for float(): 34 54N
>> Sep 27 14:29:36 One weewx[5166]:   Exiting.
>> Sep 27 14:29:51 One weewx[5166]: wmr200: Thread-2: E read_device() USB
>> Error Reason:Connection timed out
>> Sep 27 15:06:39 One weewx[5415]: engine: Initializing weewx version 3.5.0
>> Sep 27 15:06:39 One weewx[5415]: engine: Using Python 2.7.9 (default, Jun
>> 29 2016, 13:08:31) #012[GCC 4.9.2]
>> Sep 27 15:06:39 One weewx[5415]: engine: Platform
>> Linux-3.16.0-4-amd64-x86_64-with-debian-8.6
>> Sep 27 15:06:39 One weewx[5415]: engine: Unable to open configuration
>> file /weewx
>> Sep 27 18:08:49 One weewx[7034]: Reloading weewx weather system: weewx.
>> Sep 29 11:14:42 One weewx[21523]: Reloading weewx weather system: weewx.
>> :
>>
>> That is the complete file and I hope that it is helpful. I think I have
>> found a DB that is 129,000 bytes long that I think is
>> the data that is supposed to be displayed. If it is the data is being
>> collected but not displayed.
>>
>> Also when it runs, How do you get the program to start with a particular
>> value? like the current rain fall here is about 38" for the year?
>>
>> Thanks for any help available to get it running and displaying the
>> weather.
>>
>> Don
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For 

[weewx-user] Re: Weewx not running properly No update to Santa Clause page

2016-10-03 Thread 'Don l' via weewx-user
I wrote another post that dissappeared. I did another edit to make the lat 
long 2 decimals long instead of 4 and also changed the feet to foot in the 
altitude. I did a stop and a start command and waited about 10 minutes and 
the page still says Santa workshop and the same default data. Am I doing 
this wrong? Shouldn't the page update with the new data when I called up 
the page again?
Don

On Sunday, October 2, 2016 at 4:45:43 PM UTC-5, Don l wrote:
>
> I am back to the Weather Station problem now. Previous posts repaired 
> system. The operating system is Debian 8.5.0. Recent upgrade from Ubuntu 
> 14.04.
> I have an I5 cpu in a MSI Z97 Guard Pro Mother board, 8gig ram, 500 gig 
> hd, wired Ps2 keyboard, wireless mouse, and an hdmi monitor. I have the USB 
> Ohio Scientific WMR200A weather station and Weewx 3.5.0. Hope that is 
> enough info this time. 
>
> My problem is that I have installed the weewx. I have run the weewx.conf 
> and gave it the parameters for my location and station type. When I call up 
> the page to see the weather data (file:///var/www/weewx/index.html)  
> I get a Santas Workshop at North pole page. The only thing on the page 
> that seems to have been changed is the install date which was August 28 
> 2016. All other date is the default that came with the install. I have 
> found two log files that seem to be important. one is the syslog that has 
> everything on the systems errors, and the other is Weewx specific which is 
> Weewx.log. Weewx.log has all the weewx errors and I will try to copy it 
> here.
>
>
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Using PC Time: 
> True
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Erase archive 
> data: False
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive interval: 
> 60
> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D   Archive 
> threshold: 604800
> Sep 27 14:29:36 One weewx[5166]: engine: Caught unrecoverable exception in 
> engine:
> Sep 27 14:29:36 One weewx[5166]:   invalid literal for float(): 34 
> 54N
> Sep 27 14:29:36 One weewx[5166]:   Traceback (most recent call 
> last):
> Sep 27 14:29:36 One weewx[5166]: File 
> "/usr/share/weewx/weewx/engine.py", line 853, in main
> Sep 27 14:29:36 One weewx[5166]:   engine = 
> EngineClass(config_dict)
> Sep 27 14:29:36 One weewx[5166]: File 
> "/usr/share/weewx/weewx/engine.py", line 72, in __init__
> Sep 27 14:29:36 One weewx[5166]:  
>  self.preLoadServices(config_dict)
> Sep 27 14:29:36 One weewx[5166]: File 
> "/usr/share/weewx/weewx/engine.py", line 110, in preLoadServices
> Sep 27 14:29:36 One weewx[5166]:   self.stn_info = 
> weewx.station.StationInfo(self.console, **config_dict['Station'])
> Sep 27 14:29:36 One weewx[5166]: File 
> "/usr/share/weewx/weewx/station.py", line 55, in __init__
> Sep 27 14:29:36 One weewx[5166]:   self.latitude_f  = 
> float(stn_dict['latitude'])
> Sep 27 14:29:36 One weewx[5166]:   ValueError: invalid literal for 
> float(): 34 54N
> Sep 27 14:29:36 One weewx[5166]:   Exiting.
> Sep 27 14:29:51 One weewx[5166]: wmr200: Thread-2: E read_device() USB 
> Error Reason:Connection timed out
> Sep 27 15:06:39 One weewx[5415]: engine: Initializing weewx version 3.5.0
> Sep 27 15:06:39 One weewx[5415]: engine: Using Python 2.7.9 (default, Jun 
> 29 2016, 13:08:31) #012[GCC 4.9.2]
> Sep 27 15:06:39 One weewx[5415]: engine: Platform 
> Linux-3.16.0-4-amd64-x86_64-with-debian-8.6
> Sep 27 15:06:39 One weewx[5415]: engine: Unable to open configuration file 
> /weewx
> Sep 27 18:08:49 One weewx[7034]: Reloading weewx weather system: weewx.
> Sep 29 11:14:42 One weewx[21523]: Reloading weewx weather system: weewx.
> :
>
> That is the complete file and I hope that it is helpful. I think I have 
> found a DB that is 129,000 bytes long that I think is 
> the data that is supposed to be displayed. If it is the data is being 
> collected but not displayed. 
>
> Also when it runs, How do you get the program to start with a particular 
> value? like the current rain fall here is about 38" for the year?
>
> Thanks for any help available to get it running and displaying the weather.
>
> Don
>

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