Re: [weewx-user] Re: alarm module - multiple alarms

2017-04-05 Thread bjs . pdx
Thanks for the updated script.  I see the code that does the multiple 
alarms.  I'll give it a try tomorrow.

Bill S.

On Wednesday, April 5, 2017 at 9:11:53 PM UTC-7, gjr80 wrote:
>
> Hi,
>
> There have been substantial changes to the weeWX architecture since 
> William posted his code (May 2013 - circa weeWX 2.3.1). I have taken the 
> current (3.7.1) example alarm.py and overlaid William's code. It is 
> working fine for me under 3.7.1 but I would not say it has been extensively 
> tested. Try the attached alarm_multi.py, setup instructions are in the 
> comments at the start of the file, note that as this file is named 
> alarm_multi.py you need to use user.alarm_multi.MyAlarm when you add it 
> to the list of report services.
>
> 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.


Re: [weewx-user] Re: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread Alec Bennett
>
> https://github.com/weewx/weewx/wiki
> and please add your driver to the weewx wiki!


Done.



On Tue, Apr 4, 2017 at 4:48 PM, mwall  wrote:

> On Tuesday, April 4, 2017 at 8:10:20 PM UTC-4, Alec Bennett wrote:
>>
>> I adapted the Arduino code for easy reading from weeWX and made a weeWX
>> driver, posted here along with the Arduino code:
>>
>> https://github.com/wrybread/ArduinoWeatherStation
>>
>
> very nicely done!
>
>
>
>> Some questions and issues:
>>
>> - the driver currently gets the wind speed about every 17 seconds even
>> though the Arduino is reporting it much more often that that. When using a
>> Vantage I get the wind about every 2 seconds. Any thoughts on how to make
>> the updates more frequent?
>>
>
> make genLoopPacket return every time data is emitted from the arduino.
>
> instead of polling the hardware, open the serial port once in the driver
> __init__.  then do a non-blocking read instead (a read with timeout)
> instead of read-then-close.
>
>
>
>> - I named the driver "aws", as in "Arduino Weather Station". I'm a bit
>> worried that might get confusing and hard to search for because of Amazon
>> Web Services. Agreed? Idea for other name?
>>
>
> i usually prefix any exension with 'weewx-' for packaging.  for example,
> the 'aws' driver would be in a package called 'weewx-aws-x.y.z.tgz' that
> expands to a directory weewx-aws, that contains the actual driver
> weewx-aws/bin/user/aws.py
>
> but weewx does not care - you can call it whatever you want.
>
>
>
>> - where to place the driver file? Currently in
>> /home/weewx/bin/weewx/drivers/aws.py.
>>
>
> you should put it in user/aws.py
>
> if you install in weewx/drivers/aws.py then it will be removed when you
> upgrade weewx.  things in the user directory do not get moved/touched
> during an upgrade.
>
>
>
>> - should I make any changes to how it's packaged? Would this be something
>> useful for the main fork of weewx?
>>
>
> if you package it using the instructions in the weewx customization guide:
>
> http://weewx.com/docs/customizing.htm#How_to_package_an_extension
>
> then it will be a bit easier for people to install/update. the
> wee_extension utility will be able to install it, and wee_config will
> recognize it when someone tries to (re)configure their installation.  see
> the other drivers on the weewx wiki for examples, such as weewx-twi or
> weewx-sdr or weewx-wh23xx:
>
> https://github.com/weewx/weewx/wiki
>
> and please add your driver to the weewx wiki!
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/R7j98YGv1ME/unsubscribe.
> To unsubscribe from this group and all its topics, 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread Alec Bennett
>
> $ PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/aws.py
>

Thanks, working now.

-- 
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: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread gjr80
On Thursday, 6 April 2017 13:36:50 UTC+10, Alec Bennett wrote:
>
>
> Another question: there's some code at the bottom of the driver that (I 
> think) lets it run independently of weewx for testing. In my case it starts 
> with:
>
>
> if __name__ == '__main__':
>> import optparse
>> usage = """%prog [options] [--help]"""
>> syslog.openlog('aws', syslog.LOG_PID | syslog.LOG_CONS)
>> syslog.setlogmask(syslog.LOG_UPTO(syslog.LOG_DEBUG))
>>
>
> When I try to run aws.py directly though I get import errors. I'm not sure 
> if I should worry about it, since for example simulator.py gets an import 
> error too (in that case its "No module named weedb"). Is it worth looking 
> into? Note that I made a separate script (arduino_test.py 
> )
>  
> for testing the connection to the Arduino. 
>

 Hi,

What command are you using to run aws.py directly? If you are having import 
errors it is probably a PYTHONPATH issue, something like this should work 
(for a setup.py install):

$ PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/aws.py

Obviously the paths will need to be changed for a deb or rpm install. 

You will find this sort of arrangement (with perhaps more detailed 
instructions) used in a number of the the drivers in bin/weewx/drivers.

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.


Re: [weewx-user] Re: alarm module - multiple alarms

2017-04-05 Thread gjr80
Hi,

There have been substantial changes to the weeWX architecture since William 
posted his code (May 2013 - circa weeWX 2.3.1). I have taken the current 
(3.7.1) example alarm.py and overlaid William's code. It is working fine 
for me under 3.7.1 but I would not say it has been extensively tested. Try 
the attached alarm_multi.py, setup instructions are in the comments at the 
start of the file, note that as this file is named alarm_multi.py you need 
to use user.alarm_multi.MyAlarm when you add it to the list of report 
services.

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.
#Copyright (c) 2009-2015 Tom Keffer 
#See the file LICENSE.txt for your rights.

"""Example of how to implement multiple email alarms in weewx.

Based on the code by user William Phelps in this user group post:
https://groups.google.com/d/msg/weewx-user/-IGQC3CpXAE/ItUpebyZlL8J

Modified 6 April 2017 by Gary Roderick to work under weeWX 3.7.1

***

To use this alarm, add the following to the weewx configuration file:

[Alarm]
time_wait = 3600
smtp_host = smtp.mymailserver.com
smtp_user = myusername
smtp_password = mypassword
mailto = au...@adomain.com, anotheru...@someplace.com
from = m...@mydomain.com
count = 2
expression.0 = "outTemp < 40.0"
subject.0 = "Alarm message from weewx - Low temperature!"
expression.1 = "outTemp > 90.0"
subject.1 = "Alarm message from weewx- High temperature!"

In this example, if the outside temperature falls below 40, or rises above 90,
it will send an email to the the comma separated list specified in option
"mailto", in this case au...@adomain.com, anot...@somewhere.com

The example assumes that your SMTP email server is at smtp.mymailserver.com
that requires login.  If the SMTP server does not require login, leave out the
lines for smtp_user and smtp_password.

Setting an email "from" is optional. If not supplied, one will be filled in,
but your SMTP server may or may not accept it.

Setting an email "subject" is optional. If not supplied, one will be filled in.

To avoid a flood of emails, one will only be sent every 3600 seconds (one
hour).

***

To enable this service:

1) copy this file to the user directory

2) modify the weewx configuration file by adding this service to the option
"report_services", located in section [Engine][[Services]].

[Engine]
  [[Services]]
...
report_services = weewx.engine.StdPrint, weewx.engine.StdReport, user.alarm_multi.MyAlarm

***

If you wish to use both this example and the lowBattery.py example, simply
merge the two configuration options together under [Alarm] and add both
services to report_services.

***
"""

import time
import smtplib
from email.mime.text import MIMEText
import threading
import syslog

import weewx
from weewx.engine import StdService
from weeutil.weeutil import timestamp_to_string, option_as_list

# Inherit from the base class StdService:
class MyAlarm(StdService):
"""Service that sends email if an arbitrary expression evaluates true"""

def __init__(self, engine, config_dict):
# Pass the initialization information on to my superclass:
super(MyAlarm, self).__init__(engine, config_dict)

try:
# Dig the needed options out of the configuration dictionary.
# If a critical option is missing, an exception will be raised and
# the alarm will not be set.
self.time_wait = int(config_dict['Alarm'].get('time_wait', 3600))
self.smtp_host = config_dict['Alarm']['smtp_host']
self.smtp_user = config_dict['Alarm'].get('smtp_user')
self.smtp_password = config_dict['Alarm'].get('smtp_password')
self.FROM = config_dict['Alarm'].get('from', 'al...@example.com')
self.TO = option_as_list(config_dict['Alarm']['mailto'])

self.count = int(config_dict['Alarm']['count'])
self.last_msg_ts = {}
self.expression = {}
self.subject = {}
for i in range(self.count):
self.last_msg_ts[i] = 0
self.expression[i] = config_dict['Alarm']['expression.'+str(i)]
self.subject[i] = config_dict['Alarm'].get('subject.'+str(i),
   "Alarm message from weewx")
syslog.syslog(syslog.LOG_INFO,
  "Alarm: Alarm set for expression %s: \"%s\"" % (str(i),self

Re: [weewx-user] Re: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread Alec Bennett
>
>  driver = user.aws
>

Thanks, fixed.

Another question: there's some code at the bottom of the driver that (I
think) lets it run independently of weewx for testing. In my case it starts
with:


if __name__ == '__main__':
> import optparse
> usage = """%prog [options] [--help]"""
> syslog.openlog('aws', syslog.LOG_PID | syslog.LOG_CONS)
> syslog.setlogmask(syslog.LOG_UPTO(syslog.LOG_DEBUG))
>

When I try to run aws.py directly though I get import errors. I'm not sure
if I should worry about it, since for example simulator.py gets an import
error too (in that case its "No module named weedb"). Is it worth looking
into? Note that I made a separate script (arduino_test.py
)
for testing the connection to the Arduino.


And last question I hope (ha who am I kidding): the Arduino is simply
reporting wind speed as calculated over the number of rotations that the
cups on the anemometer make over the last 2.5 seconds. It doesn't try to
determine wind speed and gusts separately. I see from the charts that weeWX
is calculating gusts:

[image: Inline image 1]

But when I upload to Weather Underground there's no gusts:

https://www.wunderground.com/personal-weather-station/dashboard?ID=KCASANFR1076#history

I don't imagine there's an easy fix for that?

> Ardweeno

> Winduino

Ha! Love it!

-- 
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: alarm module - multiple alarms

2017-04-05 Thread bjs . pdx
I realize this is a very old thread, but was wondering if the problems were 
ever resolved?  I'd like to setup multiple alarms but  I get the error 
message listed for the missing "expression" variable.

Bill S.


On Monday, September 14, 2015 at 7:59:22 AM UTC-7, Steve2Q wrote:
>
> Hi William:
>
> I did not see that you wrote the mod so long ago. When I tried it I got a 
> "No alarm set. 'expression' " error. Maybe your mod is not compatible with 
> Weewx V 3.2.1 as the  newer alarm.py has additional code. I did make a "cut 
> and paste" trial where I added your stuff into the new version, but that 
> gives me the same error message. I will add that although I get the message 
> in syslog, Weewx does not crash. I only know very little about Python, so I 
> am not sure where to look for the problem, but thank you for giving me a 
> starting place.
>
> Steve
>
>
>

-- 
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] Weewx v3.7.1, WMR200 and alarms

2017-04-05 Thread bjs . pdx
Not sure what happened to my reply.  Thanks for the suggestion of running 
via command prompt.  Running that way I was able to find the correct 
variable I needed to generate the alert.  Do you know of a way to setup 
multiple alarms?  I tried the setup shown in this post:  

https://groups.google.com/forum/#!msg/weewx-user/-IGQC3CpXAE/0dlEB2SRAAAJ;context-place=topic/weewx-user/r5or_vi5sxk

I got the same result..."No alarm set. 'expression' " error. 

Bill S.

On Tuesday, April 4, 2017 at 12:48:29 PM UTC-7, Tom Keffer wrote:
>
> I need to test from the command line.  Where would I see the values?
>>
>>
> ​http://weewx.com/docs/usersguide.htm#Running_directly
>
> -tk​
>

-- 
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 | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
Nigel, you just made my night!

Thank you thank you! I'm over here in the USA, and I'd happily pay postage 
and a little for your time.  I'll private message you in a minute. 

Cheers,
-Chris


On Wednesday, April 5, 2017 at 5:09:52 PM UTC-4, Devonian wrote:
>
> @Chris,
>
> Whereabouts are you in the world?
>
> I'm in the UK and have a redundant original VP wired console and genuine 
> logger (RS232/serial but missing the PC lead) you can have it all - the LCD 
> leaked some time ago so it's useless, but I believe the main board etc is 
> still OK?
>
> It's yours for the price of postage.
>
> Nigel.
>

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
Hey Tom:

Oh, the rabbit hole goes deeper. Check this out:

Apr  5 18:12:15 public weewx[1740]: vantage: gentle wake up of console 
successful 
Apr  5 18:12:15 public weewx[1740]: manager: Daily summary version is 2.0 
Apr  5 18:12:15 public weewx[1740]: cheetahgenerator: Generated 7 files for 
report StandardReport in 0.47 seconds 
Apr  5 18:12:15 public weewx[1740]: manager: Daily summary version is 2.0 
Apr  5 18:12:15 public weewx[1740]: imagegenerator: Generated 5 images for 
StandardReport in 0.42 seconds 
Apr  5 18:12:15 public weewx[1740]: copygenerator: copied 6 files to 
/var/www/plnjweather.com 
Apr  5 18:12:15 public weewx[1740]: reportengine: Running report FTP 
Apr  5 18:12:15 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Ftp/skin.conf for report FTP 
Apr  5 18:12:15 public weewx[1740]: ftpgenerator: FTP upload not requested. 
Skipped. 
Apr  5 18:12:15 public weewx[1740]: reportengine: Running report RSYNC 
Apr  5 18:12:15 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Rsync/skin.conf for report RSYNC 
Apr  5 18:12:15 public weewx[1740]: rsyncgenerator: rsync upload not 
requested. Skipped. 
Apr  5 18:12:26 public weewx[1740]: vantage: LOOP try #1; error: Expected 
to read 99 chars; got 96 instead 
Apr  5 18:12:26 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:12:26 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 18:12:34 public weewx[1740]: vantage: LOOP try #2; error: Expected 
to read 99 chars; got 0 instead 
Apr  5 18:12:34 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:12:35 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 18:12:35 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 18:12:44 public weewx[1740]: vantage: LOOP try #3; error: Expected 
to read 99 chars; got 0 instead 
Apr  5 18:12:44 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:12:45 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 18:12:45 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 18:12:54 public weewx[1740]: vantage: LOOP try #4; error: Expected 
to read 99 chars; got 0 instead 
Apr  5 18:12:54 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:12:55 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 18:12:55 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 18:13:04 public weewx[1740]: vantage: LOOP try #5; error: Expected 
to read 99 chars; got 0 instead 
Apr  5 18:13:04 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:13:05 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 18:13:05 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 18:13:14 public weewx[1740]: manager: Added record 2017-04-05 
18:13:00 EDT (1491430380) to database 'weewx' 
Apr  5 18:13:15 public weewx[1740]: manager: Added record 2017-04-05 
18:13:00 EDT (1491430380) to daily summary in 'weewx' 
Apr  5 18:13:15 public weewx[1740]: reportengine: Running reports for 
latest time in the database. 
Apr  5 18:13:15 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 18:13:15 public weewx[1740]: reportengine: Running report 
StandardReport 
Apr  5 18:13:15 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Sofaskin/skin.conf for report StandardReport 
Apr  5 18:13:15 public weewx[1740]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.ch
eetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] 
Apr  5 18:13:15 public weewx[1740]: manager: Daily summary version is 2.0 
Apr  5 18:13:15 public weewx[1740]: cheetahgenerator: Generated 7 files for 
report StandardReport in 0.46 seconds 
Apr  5 18:13:15 public weewx[1740]: manager: Daily summary version is 2.0

I suppose that's an improvement, as it's gone from not communicating at all 
to spitting out data that's garbage. Maybe I should try speaking to it in 
Swahili or something. :(

Cheers,
-Chris

-- 
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: (old) Irox usb station support

2017-04-05 Thread davidlloydbroster
Great news. I'll try next week when I'm home and report back to you
David


Sent from my Samsung Galaxy smartphone.
 Original message From: Paul Bartholdi 
 Date: 05/04/2017  22:03  (GMT+00:00) To: weewx-user 
 Subject: [weewx-user] Re: (old) Irox usb station 
support 
Hello,  I have also an Irox Pro X station, probably 4-5 years old (not the more 
modern X2) and use without any difficulty the TE923 driver. Previous versions 
(before 3.5 as I remember had some troubles with his driver, but it seems they 
have been solved. 3days ago I updated to 3.7.1 (.deb package) without any 
hi-cup. Nice !  
Have a good time, Paul

On Wednesday, April 5, 2017 at 9:14:48 PM UTC+2, David Broster wrote:Hi, I'm 
completely new to Weewx. so I first quickly looked at the list of supported 
stations - no obvious support.
Does anyone have any ideas on how I could interface to my old USB Irox station
(Originally set-up years ago to use WDisplay32 & WDLive, but now time to move 
on shut down WindowsHomeServer and shift to RaspberryPi)
Thanks for some hints ..  David



-- 

You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.

To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/hK6ifz_XQS8/unsubscribe.

To unsubscribe from this group and all its topics, 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
I looked through there, and did not see anything that appeared to be 
critical for use of weewx.

It still functions as it did before with version 3.1

On Wednesday, April 5, 2017 at 4:14:37 PM UTC-5, Tom Keffer wrote:
>
> If there is, it will be noted in the Upgrade Guide 
> .
>
> -tk
>
> On Wed, Apr 5, 2017 at 1:47 PM, Joe > 
> wrote:
>
>> I've been very impressed with weeWX.  I'm a user for life.
>>
>> I noticed some changes to the weewx.conf file were made since my 3.1 
>> version ( I was a bit behind ).  Is there any manual editing I need to do?
>>
>> On Wednesday, April 5, 2017 at 3:41:21 PM UTC-5, Tom Keffer wrote:
>>>
>>> We've worked hard to make sure upgrades go smoothly, so if it's working, 
>>> it's working!
>>>
>>> -tk
>>>
>>> On Wed, Apr 5, 2017 at 1:36 PM, Joe  wrote:
>>>
 Update went ok. Everything still working.

 I kept my previous .conf file.

 Is there any negative to this?

 -- 
 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+...@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+...@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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Thomas Keffer
If there is, it will be noted in the Upgrade Guide
.

-tk

On Wed, Apr 5, 2017 at 1:47 PM, Joe  wrote:

> I've been very impressed with weeWX.  I'm a user for life.
>
> I noticed some changes to the weewx.conf file were made since my 3.1
> version ( I was a bit behind ).  Is there any manual editing I need to do?
>
> On Wednesday, April 5, 2017 at 3:41:21 PM UTC-5, Tom Keffer wrote:
>>
>> We've worked hard to make sure upgrades go smoothly, so if it's working,
>> it's working!
>>
>> -tk
>>
>> On Wed, Apr 5, 2017 at 1:36 PM, Joe  wrote:
>>
>>> Update went ok. Everything still working.
>>>
>>> I kept my previous .conf file.
>>>
>>> Is there any negative to this?
>>>
>>> --
>>> 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+...@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 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread Devonian
@Chris,

Whereabouts are you in the world?

I'm in the UK and have a redundant original VP wired console and genuine 
logger (RS232/serial but missing the PC lead) you can have it all - the LCD 
leaked some time ago so it's useless, but I believe the main board etc is 
still OK?

It's yours for the price of postage.

Nigel.

-- 
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: (old) Irox usb station support

2017-04-05 Thread Paul Bartholdi
Hello,  I have also an Irox Pro X station, probably 4-5 years old (not the 
more modern X2) and use without any difficulty the TE923 driver. Previous 
versions (before 3.5 as I remember had some troubles with his driver, but 
it seems they have been solved. 3days ago I updated to 3.7.1 (.deb package) 
without any hi-cup. Nice !  
Have a good time, Paul

On Wednesday, April 5, 2017 at 9:14:48 PM UTC+2, David Broster wrote:
>
> Hi, I'm completely new to Weewx
> . so I first quickly looked at the list of supported stations - no 
> obvious support.
>
> Does anyone have any ideas on how I could interface to my old USB Irox 
> station
>
> (Originally set-up years ago to use WDisplay32 & WDLive, but now time to 
> move on shut down WindowsHomeServer and shift to RaspberryPi)
>
> Thanks for some hints ..  David
>

-- 
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: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
I've been very impressed with weeWX.  I'm a user for life.

I noticed some changes to the weewx.conf file were made since my 3.1 
version ( I was a bit behind ).  Is there any manual editing I need to do?

On Wednesday, April 5, 2017 at 3:41:21 PM UTC-5, Tom Keffer wrote:
>
> We've worked hard to make sure upgrades go smoothly, so if it's working, 
> it's working!
>
> -tk
>
> On Wed, Apr 5, 2017 at 1:36 PM, Joe > 
> wrote:
>
>> Update went ok. Everything still working.
>>
>> I kept my previous .conf file.
>>
>> Is there any negative to this?
>>
>> -- 
>> 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+...@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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Thomas Keffer
We've worked hard to make sure upgrades go smoothly, so if it's working,
it's working!

-tk

On Wed, Apr 5, 2017 at 1:36 PM, Joe  wrote:

> Update went ok. Everything still working.
>
> I kept my previous .conf file.
>
> Is there any negative to this?
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
Update went ok. Everything still working.

I kept my previous .conf file.

Is there any negative to this?

-- 
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: Update NOAA text files

2017-04-05 Thread Bill M
Thanks Tom, nuking that file did the trick!
Bill

On Wednesday, April 5, 2017 at 11:57:59 AM UTC-5, Bill M wrote:
>
> I've recently migrated from WView and have everything working as expected 
> except the only NOAA-MM. txt & NOAA-.txt files being generated are 
> those for the current Month/Year
> The historical ones going back to mid 2010 have not been generated.
>
> Question is there a way to force them to be created or have I missed 
> something?
>

-- 
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: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
Thanks! It's the DEB package!

Appreciate the fast reply.





On Wednesday, April 5, 2017 at 3:07:01 PM UTC-5, Joe wrote:
>
> OK guys I installed WEEWX a couple of years ago and its due for an upgrade.
>
> I Have NO idea what 'method' I used to install Weewx.
>
> How do I know?
>

-- 
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: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Thomas Keffer
Most likely.

Another thing to look at is the init file for the daemon:
/etc/init.d/weewx. Look for the variable WEEWX_BIN.

-tk

On Wed, Apr 5, 2017 at 1:18 PM, Joe  wrote:

> Hmm Ok I will try that.
>
> Also, I see a weewx_3.1.0-1_all.deb in the root directory.
>
> Myabe that means I installed the .deb with the command line.
>
>
> On Wednesday, April 5, 2017 at 3:07:01 PM UTC-5, Joe wrote:
>>
>> OK guys I installed WEEWX a couple of years ago and its due for an
>> upgrade.
>>
>> I Have NO idea what 'method' I used to install Weewx.
>>
>> How do I know?
>>
> --
> 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
Hmm Ok I will try that.

Also, I see a weewx_3.1.0-1_all.deb in the root directory.

Myabe that means I installed the .deb with the command line.

On Wednesday, April 5, 2017 at 3:07:01 PM UTC-5, Joe wrote:
>
> OK guys I installed WEEWX a couple of years ago and its due for an upgrade.
>
> I Have NO idea what 'method' I used to install Weewx.
>
> How do I know?
>

-- 
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] UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Thomas Keffer
​Compare the locations of its bits and pieces:
http://weewx.com/docs/usersguide.htm#Where_to_find_things

-tk​

On Wed, Apr 5, 2017 at 1:07 PM, Joe  wrote:

> OK guys I installed WEEWX a couple of years ago and its due for an upgrade.
>
> I Have NO idea what 'method' I used to install Weewx.
>
> How do I know?
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
Your re-write works a charm:

Apr  5 16:11:17 public weewx[1740]: vantage: rude wake up of console 
successful 
Apr  5 16:11:34 public weewx[1740]: vantage: Sleeping 5... 
Apr  5 16:11:39 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 16:11:41 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 16:11:41 public weewx[1740]: vantage: gentle wake up of console 
successful 
Apr  5 16:11:56 public weewx[1740]: vantage: Sleeping 5... 
Apr  5 16:12:01 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 16:12:03 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 16:12:03 public weewx[1740]: vantage: gentle wake up of console 
successful 
Apr  5 16:12:14 public weewx[1740]: manager: Added record 2017-04-05 
16:12:00 EDT (1491423120) to database 'weewx' 
Apr  5 16:12:14 public weewx[1740]: manager: Added record 2017-04-05 
16:12:00 EDT (1491423120) to daily summary in 'weewx' 
Apr  5 16:12:14 public weewx[1740]: vantage: Requesting 10 LOOP packets. 
Apr  5 16:12:14 public weewx[1740]: reportengine: Running reports for 
latest time in the database. 
Apr  5 16:12:14 public weewx[1740]: reportengine: Running report 
StandardReport 
Apr  5 16:12:14 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Sofaskin/skin.conf for report StandardReport 
Apr  5 16:12:14 public weewx[1740]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.ch
eetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras'] 
Apr  5 16:12:14 public weewx[1740]: manager: Daily summary version is 2.0 
Apr  5 16:12:15 public weewx[1740]: cheetahgenerator: Generated 7 files for 
report StandardReport in 0.47 seconds 
Apr  5 16:12:15 public weewx[1740]: manager: Daily summary version is 2.0 
Apr  5 16:12:15 public weewx[1740]: imagegenerator: Generated 5 images for 
StandardReport in 0.41 seconds 
Apr  5 16:12:15 public weewx[1740]: copygenerator: copied 0 files to 
/var/www/plnjweather.com 
Apr  5 16:12:15 public weewx[1740]: reportengine: Running report FTP 
Apr  5 16:12:15 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Ftp/skin.conf for report FTP 
Apr  5 16:12:15 public weewx[1740]: ftpgenerator: FTP upload not requested. 
Skipped. 
Apr  5 16:12:15 public weewx[1740]: reportengine: Running report RSYNC 
Apr  5 16:12:15 public weewx[1740]: reportengine: Found configuration file 
/etc/weewx/skins/Rsync/skin.conf for report RSYNC 
Apr  5 16:12:15 public weewx[1740]: rsyncgenerator: rsync upload not 
requested. Skipped. 
Apr  5 16:12:17 public weewx[1740]: vantage: retry  #0 failed 
Apr  5 16:12:17 public weewx[1740]: vantage: rude wake up of console 
successful


.but the problem is still there!

I wonder if this really is either a firmware problem or an actual 
mechanical problem (bad coupling capacitor, undervolt of something, 
etc...). I'm going to physically lay into the display tonight and see if 
there's anything to see. 

Tom, thanks. Really. This has been great; thank you for your help!!
-Chris

-- 
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: Update NOAA text files

2017-04-05 Thread Thomas Keffer
That makes more sense.

The FTP module only updates things newer than the last FTP session.
Occasionally things get messed up. To reset, delete the file #FTP.last.

-tk

On Wed, Apr 5, 2017 at 12:27 PM, Bill M  wrote:

> Just went to nuke the NOAA directory from /var/www/html/weewx/NOAA and
> discovered that all the files seem to exist, however on my WebHost the only
> contents of NOAA are NOAA-2017-04.txt and NOAA-2017,txt.
> So it's not the creation of the file but the ftp upload that isn't
> happening!
>
> On Wednesday, April 5, 2017 at 11:57:59 AM UTC-5, Bill M wrote:
>
>> I've recently migrated from WView and have everything working as expected
>> except the only NOAA-MM. txt & NOAA-.txt files being generated are
>> those for the current Month/Year
>> The historical ones going back to mid 2010 have not been generated.
>>
>> Question is there a way to force them to be created or have I missed
>> something?
>>
> --
> 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] UPGRADE and " you must use the same upgrade technique ". How to know?

2017-04-05 Thread Joe
OK guys I installed WEEWX a couple of years ago and its due for an upgrade.

I Have NO idea what 'method' I used to install Weewx.

How do I know?

-- 
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: (old) Irox usb station support

2017-04-05 Thread mwall
On Wednesday, April 5, 2017 at 3:14:48 PM UTC-4, David Broster wrote:
>
> Hi, I'm completely new to Weewx
> . so I first quickly looked at the list of supported stations - no 
> obvious support.
>
> Does anyone have any ideas on how I could interface to my old USB Irox 
> station
>
> (Originally set-up years ago to use WDisplay32 & WDLive, but now time to 
> move on shut down WindowsHomeServer and shift to RaspberryPi)
>

which irox model is it?

do you see any stations here that look like your station:

http://weewx.com/hardware.html

m

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider

>
> Awesome!!
>

It's going in now.let's see what happens.

-Chris 

-- 
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: Update NOAA text files

2017-04-05 Thread Bill M
Just went to nuke the NOAA directory from /var/www/html/weewx/NOAA and 
discovered that all the files seem to exist, however on my WebHost the only 
contents of NOAA are NOAA-2017-04.txt and NOAA-2017,txt. 
So it's not the creation of the file but the ftp upload that isn't 
happening!

On Wednesday, April 5, 2017 at 11:57:59 AM UTC-5, Bill M wrote:
>
> I've recently migrated from WView and have everything working as expected 
> except the only NOAA-MM. txt & NOAA-.txt files being generated are 
> those for the current Month/Year
> The historical ones going back to mid 2010 have not been generated.
>
> Question is there a way to force them to be created or have I missed 
> something?
>

-- 
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] (old) Irox usb station support

2017-04-05 Thread David Broster
Hi, I'm completely new to Weewx
. so I first quickly looked at the list of supported stations - no 
obvious support.

Does anyone have any ideas on how I could interface to my old USB Irox 
station

(Originally set-up years ago to use WDisplay32 & WDLive, but now time to 
move on shut down WindowsHomeServer and shift to RaspberryPi)

Thanks for some hints ..  David

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
...and if Davis made it easier to upgrade their firmware, I'd love to get 
in to their .bin file. Alas.

Thank you for taking a look to see if you can modify the LOOP mode. I'd be 
thrilled to use this as a test bed! \
Granted, it's a problem that exactly one other person might ever have, but 
for experimental purposes, it's interesting. 

Cheers,
-Chris

>
>

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
...and if Davis made it easier to upgrade their firmware, I'd love to get 
in to their .bin file. Alas.

Thank you for taking a look to see if you can modify the LOOP mode. I'd be 
thrilled to use this as a test bed! \
Granted, it's a problem that exactly one other person might ever have, but 
for experimental purposes, it's interesting. 

Cheers,
-Chris

On Wednesday, April 5, 2017 at 2:39:06 PM UTC-4, Tom Keffer wrote:
>
> Good to know that it's a Davis firmware problem.
>
> I guess one option would be to modify the driver so it takes it out of 
> LOOP mode every 20 seconds or so to give the VP a chance to do whatever it 
> needs to do.
>
> Let me see if that's an easy patch.
>
> -tk
>
>
> On Wed, Apr 5, 2017 at 11:31 AM, RedShoeRider  > wrote:
>
>>
>> Hey Tom:
>>>
>>
>> Having a day off makes this sort of stuff go a lot faster. 
>>
>> I just got off the phone with Davis tech support. Their answer: Yes, the 
>> original VantagePro does support continuous LOOP queries. 
>> They have heard of this particular problem, though not with Weewx, but 
>> with their software. It's, apparently, a problem with the I/O in the 
>> VantagePro itself when the logger is reporting data, and they used to 
>> repair that problem. But, because it's an original Vantage, they don't 
>> service them anymore, so I'm stuck. 
>> Looks like an eBay unit is the path forward, though there's no guarantee 
>> that it will work any better than the one that I have. 
>>
>> My sincere thanks for your help!
>> -Chris
>>
>> -- 
>> 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+...@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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread Thomas Keffer
Good to know that it's a Davis firmware problem.

I guess one option would be to modify the driver so it takes it out of LOOP
mode every 20 seconds or so to give the VP a chance to do whatever it needs
to do.

Let me see if that's an easy patch.

-tk


On Wed, Apr 5, 2017 at 11:31 AM, RedShoeRider 
wrote:

>
> Hey Tom:
>>
>
> Having a day off makes this sort of stuff go a lot faster.
>
> I just got off the phone with Davis tech support. Their answer: Yes, the
> original VantagePro does support continuous LOOP queries.
> They have heard of this particular problem, though not with Weewx, but
> with their software. It's, apparently, a problem with the I/O in the
> VantagePro itself when the logger is reporting data, and they used to
> repair that problem. But, because it's an original Vantage, they don't
> service them anymore, so I'm stuck.
> Looks like an eBay unit is the path forward, though there's no guarantee
> that it will work any better than the one that I have.
>
> My sincere thanks for your help!
> -Chris
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider


> Hey Tom:
>

Having a day off makes this sort of stuff go a lot faster. 

I just got off the phone with Davis tech support. Their answer: Yes, the 
original VantagePro does support continuous LOOP queries. 
They have heard of this particular problem, though not with Weewx, but with 
their software. It's, apparently, a problem with the I/O in the VantagePro 
itself when the logger is reporting data, and they used to repair that 
problem. But, because it's an original Vantage, they don't service them 
anymore, so I'm stuck. 
Looks like an eBay unit is the path forward, though there's no guarantee 
that it will work any better than the one that I have. 

My sincere thanks for your help!
-Chris

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread Thomas Keffer
Everything looks normal to me.

This may be one for Davis support. The question would be: does an
old-fashioned VantagePro support continuous LOOP queries?

-tk

On Wed, Apr 5, 2017 at 11:03 AM, RedShoeRider 
wrote:

> Hey Tom:
>
> Thanks for the quick reply! Here's the log:
> Apr  5 13:54:44 public weewx[2198]:  * Starting weewx weather system weewx
> Apr  5 13:54:44 public weewx[2212]: engine: Initializing weewx version
> 3.7.1
> Apr  5 13:54:44 public weewx[2212]: engine: Using Python 2.7.12 (default,
> Nov 19 2016, 06:48:10) #012[GCC 5.4.0 20160609]
> Apr  5 13:54:44 public weewx[2212]: engine: Platform
> Linux-4.4.0-72-generic-x86_64-with-Ubuntu-16.04-xenial
> Apr  5 13:54:44 public weewx[2212]: engine: Locale is 'en_US.UTF-8'
> Apr  5 13:54:44 public weewx[2212]: engine: pid file is /var/run/weewx.pid
> Apr  5 13:54:44 public weewx[2198]:...done.
> Apr  5 13:54:44 public systemd[1]: Started LSB: weewx weather system.
> Apr  5 13:54:44 public weewx[2216]: engine: Using configuration file
> /etc/weewx/weewx.conf
> Apr  5 13:54:44 public weewx[2216]: engine: debug is 1
> Apr  5 13:54:44 public weewx[2216]: engine: Initializing engine
> Apr  5 13:54:44 public weewx[2216]: engine: Loading station type Vantage
> (weewx.drivers.vantage)
> Apr  5 13:54:44 public weewx[2216]: vantage: driver version is 3.0.10
> Apr  5 13:54:44 public weewx[2216]: vantage: Opened up serial port
> /dev/ttyS0; baud 19200; timeout 2.00
> Apr  5 13:54:44 public weewx[2216]: vantage: gentle wake up of console
> successful
> Apr  5 13:54:44 public weewx[2216]: vantage: _setup; hardware type is 16
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.engine.StdTimeSynch
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.engine.StdTimeSynch
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.engine.StdConvert
> Apr  5 13:54:44 public weewx[2216]: engine: StdConvert target unit is 0x1
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.engine.StdConvert
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.engine.StdCalibrate
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.engine.StdCalibrate
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.engine.StdQC
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.engine.StdQC
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.wxservices.StdWXCalculate
> Apr  5 13:54:44 public weewx[2216]: wxcalculate: The following values will
> be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
> dewpoint=prefer_hardware, appTemp=prefer_hard
> ware, rainRate=prefer_hardware, windrun=prefer_hardware,
> heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
> humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardwar
> e, ET=prefer_hardware, altimeter=prefer_hardware,
> cloudbase=prefer_hardware
> Apr  5 13:54:44 public weewx[2216]: wxcalculate: The following algorithms
> will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.wxservices.StdWXCalculate
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.engine.StdArchive
> Apr  5 13:54:44 public weewx[2216]: engine: Archive will use data binding
> wx_binding
> Apr  5 13:54:44 public weewx[2216]: engine: Record generation will be
> attempted in 'software'
> Apr  5 13:54:44 public weewx[2216]: engine: Using archive interval of 60
> seconds (specified by hardware)
> Apr  5 13:54:44 public weewx[2216]: engine: Use LOOP data in hi/low
> calculations: 1
> Apr  5 13:54:44 public weewx[2216]: manager: Daily summary version is 2.0
> Apr  5 13:54:44 public weewx[2216]: engine: Using binding 'wx_binding' to
> database 'weewx'
> Apr  5 13:54:44 public weewx[2216]: manager: Starting backfill of daily
> summaries
> Apr  5 13:54:44 public weewx[2216]: manager: Processed 341 records to
> backfill 1 day summaries in 0.26 seconds
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.engine.StdArchive
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.restx.StdStationRegistry
> Apr  5 13:54:44 public weewx[2216]: restx: StationRegistry: Registration
> not requested.
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.restx.StdStationRegistry
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.restx.StdWunderground
> Apr  5 13:54:44 public weewx[2216]: restx: Wunderground-RF: Data for
> station KNJPOMPT6 will be posted
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service
> weewx.restx.StdWunderground
> Apr  5 13:54:44 public weewx[2216]: engine: Loading service
> weewx.restx.StdPWSweather
> Apr  5 13:54:44 public weewx[2216]: restx: PWSweather: Posting not
> enabled.
> Apr  5 13:54:44 public weewx[2216]: engine: Finished loading servi

Re: [weewx-user] Re: Update NOAA text files

2017-04-05 Thread Thomas Keffer
That looks normal.

It shouldn't be necessary, but one other thing you can try is deleting the
NOAA subdirectory. It, and its contents, will be recreated. If this works,
I'm gonna have to figure out why...

-tk

On Wed, Apr 5, 2017 at 10:56 AM, Bill M  wrote:

>
> OK as you suggested I ran the command with a result of 2010-07-26 12.35.00
> which is much what I expected.
>
> Log with debug=1 attached, I only see an error relating to a missing .tmpl
> file which I can fix easily.
>
> No rush, I'm out for the bulk of the afternoon.
>
> On Wednesday, April 5, 2017 at 11:57:59 AM UTC-5, Bill M wrote:
>>
>> I've recently migrated from WView and have everything working as expected
>> except the only NOAA-MM. txt & NOAA-.txt files being generated are
>> those for the current Month/Year
>> The historical ones going back to mid 2010 have not been generated.
>>
>> Question is there a way to force them to be created or have I missed
>> something?
>>
> --
> 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
Hey Tom: 

Thanks for the quick reply! Here's the log:
Apr  5 13:54:44 public weewx[2198]:  * Starting weewx weather system weewx 
Apr  5 13:54:44 public weewx[2212]: engine: Initializing weewx version 
3.7.1 
Apr  5 13:54:44 public weewx[2212]: engine: Using Python 2.7.12 (default, 
Nov 19 2016, 06:48:10) #012[GCC 5.4.0 20160609] 
Apr  5 13:54:44 public weewx[2212]: engine: Platform 
Linux-4.4.0-72-generic-x86_64-with-Ubuntu-16.04-xenial 
Apr  5 13:54:44 public weewx[2212]: engine: Locale is 'en_US.UTF-8' 
Apr  5 13:54:44 public weewx[2212]: engine: pid file is /var/run/weewx.pid 
Apr  5 13:54:44 public weewx[2198]:...done. 
Apr  5 13:54:44 public systemd[1]: Started LSB: weewx weather system. 
Apr  5 13:54:44 public weewx[2216]: engine: Using configuration file 
/etc/weewx/weewx.conf 
Apr  5 13:54:44 public weewx[2216]: engine: debug is 1 
Apr  5 13:54:44 public weewx[2216]: engine: Initializing engine 
Apr  5 13:54:44 public weewx[2216]: engine: Loading station type Vantage 
(weewx.drivers.vantage) 
Apr  5 13:54:44 public weewx[2216]: vantage: driver version is 3.0.10 
Apr  5 13:54:44 public weewx[2216]: vantage: Opened up serial port 
/dev/ttyS0; baud 19200; timeout 2.00 
Apr  5 13:54:44 public weewx[2216]: vantage: gentle wake up of console 
successful 
Apr  5 13:54:44 public weewx[2216]: vantage: _setup; hardware type is 16 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.engine.StdTimeSynch 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.engine.StdTimeSynch 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.engine.StdConvert 
Apr  5 13:54:44 public weewx[2216]: engine: StdConvert target unit is 0x1 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.engine.StdConvert 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.engine.StdCalibrate 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.engine.StdCalibrate 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.engine.StdQC 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.engine.StdQC 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.wxservices.StdWXCalculate 
Apr  5 13:54:44 public weewx[2216]: wxcalculate: The following values will 
be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hard
ware, rainRate=prefer_hardware, windrun=prefer_hardware, 
heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardwar
e, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware 
Apr  5 13:54:44 public weewx[2216]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.wxservices.StdWXCalculate 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.engine.StdArchive 
Apr  5 13:54:44 public weewx[2216]: engine: Archive will use data binding 
wx_binding 
Apr  5 13:54:44 public weewx[2216]: engine: Record generation will be 
attempted in 'software' 
Apr  5 13:54:44 public weewx[2216]: engine: Using archive interval of 60 
seconds (specified by hardware) 
Apr  5 13:54:44 public weewx[2216]: engine: Use LOOP data in hi/low 
calculations: 1 
Apr  5 13:54:44 public weewx[2216]: manager: Daily summary version is 2.0 
Apr  5 13:54:44 public weewx[2216]: engine: Using binding 'wx_binding' to 
database 'weewx' 
Apr  5 13:54:44 public weewx[2216]: manager: Starting backfill of daily 
summaries 
Apr  5 13:54:44 public weewx[2216]: manager: Processed 341 records to 
backfill 1 day summaries in 0.26 seconds 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.engine.StdArchive 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.restx.StdStationRegistry 
Apr  5 13:54:44 public weewx[2216]: restx: StationRegistry: Registration 
not requested. 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.restx.StdStationRegistry 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.restx.StdWunderground 
Apr  5 13:54:44 public weewx[2216]: restx: Wunderground-RF: Data for 
station KNJPOMPT6 will be posted 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.restx.StdWunderground 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.restx.StdPWSweather 
Apr  5 13:54:44 public weewx[2216]: restx: PWSweather: Posting not enabled. 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.restx.StdPWSweather 
Apr  5 13:54:44 public weewx[2216]: engine: Loading service 
weewx.restx.StdCWOP 
Apr  5 13:54:44 public weewx[2216]: restx: CWOP: Posting not enabled. 
Apr  5 13:54:44 public weewx[2216]: engine: Finished loading service 
weewx.restx.StdCWOP 
Apr  5 13:54:44 public weewx[2216]: engin

[weewx-user] Re: Update NOAA text files

2017-04-05 Thread Bill M


OK as you suggested I ran the command with a result of 2010-07-26 12.35.00 
which is much what I expected.

Log with debug=1 attached, I only see an error relating to a missing .tmpl 
file which I can fix easily.

No rush, I'm out for the bulk of the afternoon.

On Wednesday, April 5, 2017 at 11:57:59 AM UTC-5, Bill M wrote:
>
> I've recently migrated from WView and have everything working as expected 
> except the only NOAA-MM. txt & NOAA-.txt files being generated are 
> those for the current Month/Year
> The historical ones going back to mid 2010 have not been generated.
>
> Question is there a way to force them to be created or have I missed 
> something?
>

-- 
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.log.tar.gz
Description: Binary data


Re: [weewx-user] nonlinear yscale options - do they exist?

2017-04-05 Thread Thomas Keffer
Unfortunately, no.

-tk

On Wed, Apr 5, 2017 at 9:53 AM, Messy Potamia 
wrote:

> For one of my parameters I'd like a nonlinear y-axis on it's plot, I think
> a logarithmic scale is what I'm looking for (0 - 12, with 0 - 4 taking up
> half of the vertical space, then decreasing exponentially to about 12 ...
> that's a logarithmic or exponential scale?) but in checking the
> customization guide I can't find any mention of a nonlinear y-axis scale,
> and I tried looking in genplot.py for a hint but found none there.
> Is this possible with the stock 3.6.2?
> Thanks.
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Update NOAA text files

2017-04-05 Thread Thomas Keffer
First, check the earliest timestamp in your archive (adjust path as
necessary):

echo "select datetime(min(dateTime),'unixepoch','localtime') from archive;"
| sqlite3 /home/weewx/archive/weewx.sdb


See if that's what you expect.

Second, the log, especially with debug=1. would be useful.

-tk


On Wed, Apr 5, 2017 at 9:57 AM, Bill M  wrote:

> I've recently migrated from WView and have everything working as expected
> except the only NOAA-MM. txt & NOAA-.txt files being generated are
> those for the current Month/Year
> The historical ones going back to mid 2010 have not been generated.
>
> Question is there a way to force them to be created or have I missed
> something?
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] Update NOAA text files

2017-04-05 Thread Bill M
I've recently migrated from WView and have everything working as expected 
except the only NOAA-MM. txt & NOAA-.txt files being generated are 
those for the current Month/Year
The historical ones going back to mid 2010 have not been generated.

Question is there a way to force them to be created or have I missed 
something?

-- 
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] nonlinear yscale options - do they exist?

2017-04-05 Thread Messy Potamia
For one of my parameters I'd like a nonlinear y-axis on it's plot, I think 
a logarithmic scale is what I'm looking for (0 - 12, with 0 - 4 taking up 
half of the vertical space, then decreasing exponentially to about 12 ... 
that's a logarithmic or exponential scale?) but in checking the 
customization guide I can't find any mention of a nonlinear y-axis scale, 
and I tried looking in genplot.py for a hint but found none there. 
Is this possible with the stock 3.6.2?
Thanks.

-- 
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: Air quality sensors?

2017-04-05 Thread Horacio
Hello Yves

If the unit sends data via USB port and if it's record format is not too 
complex, It could be possible to write a service program to get data.

This is a cheaper CO2 sensor but you'll need a MCU like an Arduino between 
the sensor and your PC.
http://www.ebay.ca/sch/i.html?_odkw=co2+sensor&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR12.TRC2.A0.H0.XMG811.TRS0&_nkw=MG811&_sacat=0

I hope this helps you


On Tuesday, April 4, 2017 at 6:44:40 PM UTC-3, Yves Martin wrote:
>
> Hi,
>
> Just a simple question about "air quality", because it is nowadays an 
> important health factor in the cities. I'm using a Vantage Pro since 10 
> years now, and this station is a rock... it never failed and gives accurate 
> information.
>
> Is there a kind of project that could be used with "weewx" for this kind 
> of information? This is the kind of air quality sensor I found on eBay: 
> http://www.ebay.ca/itm/132141883335?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT
>  
> (2017 AirMaster2 AM7 master air CO2 laser pm2.5 formaldehyde air quality 
> testing). Is there a way to integrate this with weewx?
>
> Yves,
> YMartin.com/meteo
> CANADA
>

-- 
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] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread Thomas Keffer
It's quite possible you are the first person to try Weewx with a VantagePro.

I know you think there are no errors in the log, but you should still post
it. There can be valuable clues in there.

Also, run wee_device with the --info option.

Without the log, I'm just theorizing, but it's possible the old-fashioned
VantagePro does not respond well to the LOOP command, which is what weewx
uses to pull data off the logger.

-tk

On Wed, Apr 5, 2017 at 9:02 AM, RedShoeRider  wrote:

> Good Afternoon, All:
>
> I have a head-scratcher that despite beating the heck out of Google, I
> can't find an answer.
>
> The Hardware:
> Davis Vantage Pro (not the Pro2) running wired to the ISS
> Davis Serial Datalogger connection
> Dell Desktop box with a serial port
> Weewx / SQL database / SofaSkin skin
>
> The site it feeds: www.plnjweather.com
>
>
> The Problem:
> At random times, the ISS connection drops out (an "R" on the display), but
> only if I have weewx running. If I halt the process, the Davis will
> function normally for a week at a time. With Weewx running, anywhere from 2
> minutes to 4 hours later, the ISS drops out. It's not just a data drop
> going to the logger; the Davis display shows "---" for all of the ISS
> inputs (outside temperature, wind, etc).
>
> To make matter weriderthis behavior is very reproduceable. I
> originally had this setup running on a Raspberry Pi with a USB interface.
> It did it then. I switched to a desktop box with the USB interface. Same
> thing. Now switching to a serial interface (I purchased a serial Davis
> Datalogger from eBay), it's STILL doing the same thing. New installations
> of weewx, different config setups, etc. There are no errors in the log
> file, even with the verbose setting turned on in weewx. The problem seems
> to be coming from the Davis itself, but how on earth would the datalogger
> hang up the entire unit? And two different loggers, to boot?
>
> So.suggestions/ideas/thoughts/whatever. I've about run out of ideas
> and spent more than a bit of time trying to hunt though this problem with
> no luck, sowhat say everyone (besides "go get a Pro2"). :)
>
> Thank you!
> -Chris
>
>
>
> --
> 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 more options, visit https://groups.google.com/d/optout.


[weewx-user] Weewx | Davis Vantage Pro | ISS dropping out

2017-04-05 Thread RedShoeRider
Good Afternoon, All:

I have a head-scratcher that despite beating the heck out of Google, I 
can't find an answer.

The Hardware:
Davis Vantage Pro (not the Pro2) running wired to the ISS
Davis Serial Datalogger connection
Dell Desktop box with a serial port
Weewx / SQL database / SofaSkin skin

The site it feeds: www.plnjweather.com


The Problem:
At random times, the ISS connection drops out (an "R" on the display), but 
only if I have weewx running. If I halt the process, the Davis will 
function normally for a week at a time. With Weewx running, anywhere from 2 
minutes to 4 hours later, the ISS drops out. It's not just a data drop 
going to the logger; the Davis display shows "---" for all of the ISS 
inputs (outside temperature, wind, etc). 

To make matter weriderthis behavior is very reproduceable. I originally 
had this setup running on a Raspberry Pi with a USB interface. It did it 
then. I switched to a desktop box with the USB interface. Same thing. Now 
switching to a serial interface (I purchased a serial Davis Datalogger from 
eBay), it's STILL doing the same thing. New installations of weewx, 
different config setups, etc. There are no errors in the log file, even 
with the verbose setting turned on in weewx. The problem seems to be coming 
from the Davis itself, but how on earth would the datalogger hang up the 
entire unit? And two different loggers, to boot?

So.suggestions/ideas/thoughts/whatever. I've about run out of ideas and 
spent more than a bit of time trying to hunt though this problem with no 
luck, sowhat say everyone (besides "go get a Pro2"). :)

Thank you!
-Chris

 

-- 
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: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread vince


On Wednesday, April 5, 2017 at 5:35:10 AM UTC-7, Devonian wrote:
>
>
>>
>> - I named the driver "aws", as in "Arduino Weather Station". I'm a bit 
>> worried that might get confusing and hard to search for because of Amazon 
>> Web Services. Agreed? Idea for other name?
>>
>>
> Winduino ?
>

Ardweeno
 

-- 
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: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread Devonian

>
>
>
> - I named the driver "aws", as in "Arduino Weather Station". I'm a bit 
> worried that might get confusing and hard to search for because of Amazon 
> Web Services. Agreed? Idea for other name?
>
>
Winduino ? 

-- 
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] How to use appTemp

2017-04-05 Thread Christopher McAvaney
Sounds like a challenge - I might just add that to my list! :)

Thanks again for your great.

Regards,
Christopher

On Wednesday, 5 April 2017 00:59:17 UTC+10, Tom Keffer wrote:
>
> The job of the --rebuild-daily option is to rebuild the daily summaries 
> from the archive data. If a value is not in the archive data, then it will 
> not appear in the daily summaries.
>
> Unfortunately, you'd have to go back through your historical archive 
> records and calculate apparent temperature for all those old records. That 
> would require some Python and SQL programming.
>
> I suppose it could be added as an option to wee_database, but I'd have to 
> say that's a low priority. Still, a well-written Pull Request would be 
> welcome.
>
> -tk
>
>
> On Tue, Apr 4, 2017 at 6:13 AM, Christopher McAvaney <
> chris...@figntigger.id.au > wrote:
>
>> O.K. - some success (I think).
>>
>> I took the approach of creating a new schema file wview_apptemp.py (i.e. 
>> weewx/schemas/wview_apptemp.py) which consists of:
>> import schemas.wview
>> schema = schemas.wview.schema + [('appTemp', 'REAL')]
>>
>> I then modified the binding, checked database permissions, created and 
>> populated the new database, changed the weewx.conf to point to the new 
>> database and ran the wee_database script:
>> wee_database /etc/weewx/weewx.conf --rebuild-daily
>>
>> But it doesn't appear to have calculated the appTemp for each archive 
>> record.
>> Is there a way/tool to invoke that calculation on archive records?
>>
>> Regards,
>> Christopher
>>
>> On Saturday, 1 April 2017 10:37:26 UTC+11, Christopher McAvaney wrote:
>>
>>> Righto. Will give that a go and let you know how it goes.
>>>
>>> Thanks,
>>> Christopher
>>>
>> -- 
>> 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+...@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 more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread mwall
On Tuesday, April 4, 2017 at 10:05:17 PM UTC-4, Alec Bennett wrote:
>
> you should put it in user/aws.py
>
>  
> When I put it in /home/weewx/bin/user/aws.py, engine.py can't find it:
>

the 'driver' parameter tells weewx where to find the driver.  your weewx 
config should have this:

[AWS]
driver = user.aws

m

-- 
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: No data from station

2017-04-05 Thread Cameron D


On Friday, 10 March 2017 21:58:21 UTC+10, Ruben Navarro Huedo wrote:
>
>
>
> In another vein: Have we some more information about clearing console 
> datalogger from weewx
>

Well, it's nearly a month now,  and I still cannot reply in the positive.

I have posted the command sequence to the development mailing list, but, 
when I tried to implement it in the weewx driver on a buffer 70 to 80% 
full, the console has ignored me.

Other bits I have since found:

   - the console will not clear the buffer (even for the Windows s/w) when 
   it is very low (I do not know the lower limit)
   - The windows s/w has cleared the buffer from completely full (0x7fe0) , 
   as well as the high byte being 0x33 and 0x6e

Now that I have used Windows s/w to clear the buffer, I am going to have to 
repeatedly test that until I know how small a buffer will clear.
Then I will have to wait for it to build up again to try with the weewx 
code.

-- 
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: My Arduino based weather station (with weeWX driver)...

2017-04-05 Thread Alec Bennett
>
> make genLoopPacket return every time data is emitted from the arduino.
> instead of polling the hardware, open the serial port once in the driver
> __init__.  then do a non-blocking read instead (a read with timeout)
> instead of read-then-close.


Thanks hugely for this tip. The driver code I was starting with had clearly
been repurposed a few times and was a bit of a mess. Once I took your
advice and restructured it everything started working perfectly.










On Tue, Apr 4, 2017 at 6:04 PM, Alec Bennett  wrote:

> you should put it in user/aws.py
>
>
> When I put it in /home/weewx/bin/user/aws.py, engine.py can't find it:
>
> Traceback (most recent call last):
>>   File "/home/weewx/bin/weewxd", line 64, in 
>> weewx.engine.main(options, args)
>>   File "/home/weewx/bin/weewx/engine.py", line 916, in main
>> engine = engine_class(config_dict)
>>   File "/home/weewx/bin/weewx/engine.py", line 72, in __init__
>> self.setupStation(config_dict)
>>   File "/home/weewx/bin/weewx/engine.py", line 96, in setupStation
>> __import__(driver)
>> ImportError: No module named aws
>
>
> Do I have to do something other than simply place aws.py in that directory?
>
>
>
>
>
> On Tue, Apr 4, 2017 at 4:48 PM, mwall  wrote:
>
>> On Tuesday, April 4, 2017 at 8:10:20 PM UTC-4, Alec Bennett wrote:
>>>
>>> I adapted the Arduino code for easy reading from weeWX and made a weeWX
>>> driver, posted here along with the Arduino code:
>>>
>>> https://github.com/wrybread/ArduinoWeatherStation
>>>
>>
>> very nicely done!
>>
>>
>>
>>> Some questions and issues:
>>>
>>> - the driver currently gets the wind speed about every 17 seconds even
>>> though the Arduino is reporting it much more often that that. When using a
>>> Vantage I get the wind about every 2 seconds. Any thoughts on how to make
>>> the updates more frequent?
>>>
>>
>> make genLoopPacket return every time data is emitted from the arduino.
>>
>> instead of polling the hardware, open the serial port once in the driver
>> __init__.  then do a non-blocking read instead (a read with timeout)
>> instead of read-then-close.
>>
>>
>>
>>> - I named the driver "aws", as in "Arduino Weather Station". I'm a bit
>>> worried that might get confusing and hard to search for because of Amazon
>>> Web Services. Agreed? Idea for other name?
>>>
>>
>> i usually prefix any exension with 'weewx-' for packaging.  for example,
>> the 'aws' driver would be in a package called 'weewx-aws-x.y.z.tgz' that
>> expands to a directory weewx-aws, that contains the actual driver
>> weewx-aws/bin/user/aws.py
>>
>> but weewx does not care - you can call it whatever you want.
>>
>>
>>
>>> - where to place the driver file? Currently in
>>> /home/weewx/bin/weewx/drivers/aws.py.
>>>
>>
>> you should put it in user/aws.py
>>
>> if you install in weewx/drivers/aws.py then it will be removed when you
>> upgrade weewx.  things in the user directory do not get moved/touched
>> during an upgrade.
>>
>>
>>
>>> - should I make any changes to how it's packaged? Would this be
>>> something useful for the main fork of weewx?
>>>
>>
>> if you package it using the instructions in the weewx customization guide:
>>
>> http://weewx.com/docs/customizing.htm#How_to_package_an_extension
>>
>> then it will be a bit easier for people to install/update. the
>> wee_extension utility will be able to install it, and wee_config will
>> recognize it when someone tries to (re)configure their installation.  see
>> the other drivers on the weewx wiki for examples, such as weewx-twi or
>> weewx-sdr or weewx-wh23xx:
>>
>> https://github.com/weewx/weewx/wiki
>>
>> and please add your driver to the weewx wiki!
>>
>> m
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/weewx-user/R7j98YGv1ME/unsubscribe.
>> To unsubscribe from this group and all its topics, 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 more options, visit https://groups.google.com/d/optout.