[weewx-user] Re: fresh setup.py install issues

2016-08-05 Thread Andrew Milner
I am reluctant to change the wiki if it is indeed me who has got it 
wrong!!  The logwatch wiki specifically says to copy if using setup.py 
(although a little vague on exactly what to copy) instead of using symlink 
for some reason, whilst the others just say to use symlink.  So I am still 
unsure exactly what is 'right' when doing a setup.py installation.  I 
recall the wiki used to be spot on correct but that was before the days of 
the .deb installation method, so I suspect they have already been 'tweaked' 
but now reflect only the .deb.

Hence this posting - hoping Matthew or Tom will comment further.




On Saturday, 6 August 2016 09:42:56 UTC+3, gjr80 wrote:

> On-line system is a deb install so don't touch that much, but frequently 
> do setup.py installs on VMs. I just have it in my head to replace 
> /etc/weewx with /home/weewx/util for those exotics. If it's a link link it, 
> or a copy copy it, same files just different location.
>
> I think the standard answer is feel free to add to the wiki, that's what 
> it's there for :)
>
> 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] fresh setup.py install issues

2016-08-05 Thread gjr80
On-line system is a deb install so don't touch that much, but frequently do 
setup.py installs on VMs. I just have it in my head to replace /etc/weewx with 
/home/weewx/util for those exotics. If it's a link link it, or a copy copy it, 
same files just different location.

I think the standard answer is feel free to add to the wiki, that's what it's 
there for :)

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] fresh setup.py install issues

2016-08-05 Thread Andrew Milner
I just decided to do a fresh install on a new rpi3 with hdd and whilst 
following the user guide ran into a few issues.

It seems that the user guide and wiki have been 'tweeked' for .deb package 
installs, rendering it a little harder to determine what is needed for a 
setup.py install.  I think I finally got it to work by 'remembering' that 
in olden days one had to copy files to init.d, logwatch, syslog etc . 
but the current guide seems to assume that everything is in /etc/weewx 
location where it would be if installed via deb package.  

I still do not know if I just had to change the symlinks or do what I ended 
up doing, and copying files.

Did I miss something, or misread something??  The logwatch wiki does say to 
copy instead of symlink - so I that for all the others too!!!

Andrew

-- 
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] Conversion from VWS to weewx

2016-08-05 Thread gjr80
It's easy to see why the pressure issue comes up all the time...

>From the VWS manual regarding the VWS database format:

Column   Parameter
Number
9Barometric Pressure
24   Sea-level Barometric Pressure
25   Pressure Altitude 

The manual goes on to define the following in it's glossary:

Barometric Pressure. The pressure exerted by the atmosphere as a 
consequence of gravitational attraction exerted upon the "column" of air 
lying directly above the point in question. The measurement can be 
expressed in several ways. One is in millibars. Another is in inches or 
millimeters of mercury (Hg). Also known as atmospheric pressure. 

Pressure Altitude. Atmospheric or barometric pressure expressed in terms of 
altitude which corresponds to that pressure in the standard atmosphere. 

Sea Level Pressure. The atmospheric pressure at mean sea level either 
directly measured by stations at sea level or empirically determined from 
the station pressure and temperature by stations not at sea level. Used as 
a common reference for analyses of surface pressure patterns. 

I can probably make sense of it so far, in VWS speak 'Barometric Pressure' 
is what in weewx speak we call 'pressure', 'Pressure Altitude' is what we 
call 'altimeter' and 'Sea level Pressure' is what we call 'barometer'. Bu 
then the VWS tabulated daily text file includes a column titled 'Raw 
Barom', now things start to get confusing...

Gary

On Tuesday, 2 August 2016 08:31:28 UTC+10, Tom Keffer wrote:
>
> 5) any other gotchas in doing a conversion to weewx?
>>
>
> ​Please note that field 'rain' is the amount of rain that fell *during 
> that archive interval*. That is, it's the amount of rain that fell in the 
> five minute sampling window.
>
> Also, see the Wiki 
> for 
> the differences between the three different kinds of pressure: barometer, 
> pressure, and altimeter.
>
> -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.


Re: [weewx-user] question on wind direction chart after upgrade to 3.5

2016-08-05 Thread Andrew Milner
If the wind is zero the vane will be in a random position - if the pole is 
not perfectly vertical there may be a tendency for the vane to move, under 
the force of graviy, to a particular direction.  The station will report 
the vane position regardless of wind strength.  It is weewx which will 
'cancel' any 'rogue' reading depending on the setting of ignore_zero_wind.


On Saturday, 6 August 2016 02:29:17 UTC+3, vince wrote:

> On Friday, August 5, 2016 at 1:42:18 PM UTC-7, Steve2Q wrote:
>>
>> I did have ignore_zero_wind = False. I had put in a comment that I did 
>> this to try and prevent Wunderground for posting incorrectly when my speed 
>> = 0, but I had forgotten to switch it back. It is kind of windy right now, 
>> so I will get back to you when it drops to 0 again. For interests sake, 
>> before I corrected the ignore switch, when I ran weewxd, the loops showed 
>> that wind direction = 94.588 when speed = 0. I won't know what is happening 
>> until the wind dies down.
>>
>>
> I wonder if the station reports the wind direction it last learned (?) but 
> that's just a guess 
>

-- 
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: Conversion from VWS to weewx

2016-08-05 Thread gjr80
Joe,

Have given this some more thought, did a bit of googling and reading of the 
online VWS manual. I've developed the opinion that importing VWS data is 
best done through CSV files, the so called 'daily tabulated text files' are 
just too 'variable' and too hard to parse. The daily text files have 
everything in there that you need; they identify the column, provide the 
units, provide an unambiguous date and time and of course the observations. 
But trying to pull out the column names and match them with their units is 
difficult, and to be able to handle all cases without some user input will 
be very complex and I am sure will lead to errors. In googling I found a 
wide variety of day text files formats, the most complex had the following 
columns/units:

Time Vapor Press Wind Dir A Wind Spd A WindGust A Hum In A Humidity A Temp 
In A Temp Out A Barom A Tot Rain A UV Avg Solar Avg WindCh AHeatIx In A 
HeatIx A Dew Pt A SL Barom A Wind Dir H Wind Spd H WindGust H Hum In H 
Humidity H Temp In H Temp Out H Barom H Tot Rain H UV Hi Solar Hi WindCh 
HHeatIx In H HeatIx H Dew Pt H SL Barom H Wind Dir L Wind Spd L WindGust L 
Hum In L Humidity L Temp In L Temp Out L Barom L Tot Rain L UV Lo Solar Lo 
WindCh LoHeatIx In L HeatIx L Dew Pt L SL Barom L RainRate
 in ° mph mph % % °F °F in in W/sqm °F °F °F °F in ° mph mph % % °F °F in in 
W/sqm °F °F °F °F in ° mph mph % % °F °F in in W/sqm °F °F °F °F in in/hr 

Would be a lot easier (and less prone to errors) if there weren't so many 
single spaces! Some columns having no units (eg UV) makes it more complex 
again.

That being said it was a fairly simple matter to rework the existing VWS 
import code to be a bit smarter and handle a variable number of columns 
rather than the fixed format I had originally coded. If you go and pull 
down the latest relase from GitHub you should have more success.

Gary

On Saturday, 6 August 2016 04:17:50 UTC+10, jmltech wrote:
>
> Thanks for the info Gary. I'll take a closer look this weekend at the 
> early daily files. 

-- 
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] question on wind direction chart after upgrade to 3.5

2016-08-05 Thread vince
On Friday, August 5, 2016 at 1:42:18 PM UTC-7, Steve2Q wrote:
>
> I did have ignore_zero_wind = False. I had put in a comment that I did 
> this to try and prevent Wunderground for posting incorrectly when my speed 
> = 0, but I had forgotten to switch it back. It is kind of windy right now, 
> so I will get back to you when it drops to 0 again. For interests sake, 
> before I corrected the ignore switch, when I ran weewxd, the loops showed 
> that wind direction = 94.588 when speed = 0. I won't know what is happening 
> until the wind dies down.
>
>
I wonder if the station reports the wind direction it last learned (?) but 
that's just a guess 

-- 
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] question on wind direction chart after upgrade to 3.5

2016-08-05 Thread Steve2Q
Tom: thank you for your quick (as usual) reply:

I did have ignore_zero_wind = False. I had put in a comment that I did this 
to try and prevent Wunderground for posting incorrectly when my speed = 0, 
but I had forgotten to switch it back. It is kind of windy right now, so I 
will get back to you when it drops to 0 again. For interests sake, before I 
corrected the ignore switch, when I ran weewxd, the loops showed that wind 
direction = 94.588 when speed = 0. I won't know what is happening until the 
wind dies down.

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.


[weewx-user] Re: AcuRite 1035 and rounding interval microframes

2016-08-05 Thread Jake Matic
Well... since everything is working otherwise, I added the last two lines 
so my syslog will be sane again:

/etc/rsyslog.d# cat 00-weewx.conf
if $programname == 'weewx' then /var/log/weewx.log
if $programname == 'weewx' then stop

if $msg contains 'microframe' then /dev/null
if $msg contains 'microframe' then stop


-- 
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: Conversion from VWS to weewx

2016-08-05 Thread jmltech
Thanks for the info Gary. I'll take a closer look this weekend at the early 
daily files. 

-- 
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] question on wind direction chart after upgrade to 3.5

2016-08-05 Thread Thomas Keffer
Setting wind direction to null when wind speed is zero is now done by the
service StdWxCalculate. This way it is consistent across all drivers.

Option ignore_zero_wind turns this behavior on or off. The default is true,
so I have no explanation for why your experience would be any different.
(Unless, of course, for some reason you set it to false!)

Try running weewxd from the  command line and see what values you are
getting for windDir when windSpeed is zero.

-tk



On Fri, Aug 5, 2016 at 8:48 AM, Steve2Q  wrote:

> Hello: I did the upgrade to 3.5 from 3.2.1  Everything appears to be
> functioning properly with one exception: There has been a change in the
> appearance of my wind direction chart.
>
> This is how it looks now:[image: Hi Wind]
>
> Before the upgrade, when the windspeed =0, there were no dots plotted
> (which is how I preferred it. The only obvious change I have found is in
> the version of the Ultimeter driver which is included with V 3.5.
>
> Before, the old version of ultimeter.py ( V 0.14rc1 ) has the following
> lines:
>
> # no wind direction when wind speed is zero
>
> if 'windSpeed' in packet and not packet['windSpeed']:
>
> packet['windDir'] = None
>
>
> The new version (0.15) does not include these lines. Was this done to
> prevent Wunderground from drawing a dotted circle around your site when
> windspeed = 0? If so, did this also change the graph? I thought skin.conf
> was where the chart settings are made.
>
>
> Ideas??
>
>
> Thanks, 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.
>

-- 
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: Only updating twice an hour? plus linux question

2016-08-05 Thread Kevin Tarr


On Sunday, July 31, 2016 at 4:26:43 PM UTC-4, mwall wrote:
>
>
>
> On Sunday, July 31, 2016 at 12:17:13 PM UTC-4, Kevin Tarr wrote:
>>
>>
>> I've changed  the intervals to five minutes
>> sudo wee_config_device --set-interval=5 
>> now I get this error:
>> Jul 31 12:01:17  weewx[26813]: fousb: unstable read: blocks differ for 
>> ptr 0x009ea0
>>
>
> the fine offset driver reads memory twice to be sure that the data are 
> correct (the fine offset stations do not have any checksum or other 
> mechanism to ensure the quality of the data).  if the two reads are not 
> identical, you'll see the 'unstable read' message. 
>
> it is not unusual to see 'unstable read'
>
> if you *only* see unstable read and no data, then you have a usb problem
>
> m
>

I had it working. If I set the unit to 6(360) and kept weewx.conf at 300, 
it worked. Great. Unhook everything, take to final location in the new 
house, hook back up, not downloading data. Third time I reset the console, 
WS-2080, it gets a fatal error, according to Ambient. The display just has 
four numbers and nothing else.
Was it the unit the whole time? I don't know how old, I'm the second owner. 
Every time I put batteries, including when I unpacked, I had to reset the 
unit by holding the up arrow.
I'm buying a replacement console, at least I'll have a warranty.

Thank you for the help.

-- 
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] question on wind direction chart after upgrade to 3.5

2016-08-05 Thread Steve2Q
Hello: I did the upgrade to 3.5 from 3.2.1  Everything appears to be 
functioning properly with one exception: There has been a change in the 
appearance of my wind direction chart.

This is how it looks now:[image: Hi Wind]

Before the upgrade, when the windspeed =0, there were no dots plotted 
(which is how I preferred it. The only obvious change I have found is in 
the version of the Ultimeter driver which is included with V 3.5.

Before, the old version of ultimeter.py ( V 0.14rc1 ) has the following 
lines:

# no wind direction when wind speed is zero

if 'windSpeed' in packet and not packet['windSpeed']:

packet['windDir'] = None


The new version (0.15) does not include these lines. Was this done to 
prevent Wunderground from drawing a dotted circle around your site when 
windspeed = 0? If so, did this also change the graph? I thought skin.conf 
was where the chart settings are made.


Ideas??


Thanks, 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] Re: Davis Vantage Vue

2016-08-05 Thread Dave Webb KB1PVH
It's a little cheaper here.
www.scaledinstruments.com/discount-price-list/

Dave-KB1PVH

Sent from my Galaxy S7

On Aug 5, 2016 9:37 AM, "Peter Ten Eyck"  wrote:

> Thanks. Yes, I see that is pricey...
>
> On Thursday, August 4, 2016 at 10:07:33 PM UTC-4, Tom Keffer wrote:
>>
>> ​You want Davis part #6510, available from Amazon
>> ,
>> Ambient Weather , and
>> other vendors. Throw the software away, keep the connector. It is
>> grotesquely overpriced for what you get, tempting users to either build
>> their own , or find a 3rd
>> party alternative
>> 
>> .
>>
>> On Thu, Aug 4, 2016 at 6:59 PM, Peter Ten Eyck 
>> wrote:
>>
>>> Can you point me to where I can get a connection cable to connect from
>>> my Vantage VUE console to my computer? I am assuming that is what I will
>>> need to do, have my console connected to a USB port on my computer that
>>> weewx is "listening" on. Correct?
>>>
>>>
>>> On Wednesday, July 20, 2016 at 12:10:48 PM UTC-4, vince wrote:

 On Tuesday, July 19, 2016 at 5:51:10 PM UTC-7, Peter Ten Eyck wrote:
>
> Yes... I am discovering that in my research. What would be a good
> weather station to select for reasonable quality and price that weewx will
> work with?
>
>
 You can't do better than Davis for a hobbyist.


> I was thinking that most stations would have a receiver that would
> plug into my home network via an Ethernet cable... is this how most work?
>
>
 No, most require a console the sensors talk to (generally proprietary
 radio) that plugs into a computer via serial or usb.

 --
>>> 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.


Re: [weewx-user] Re: Davis Vantage Vue

2016-08-05 Thread Peter Ten Eyck
Thanks. Yes, I see that is pricey...

On Thursday, August 4, 2016 at 10:07:33 PM UTC-4, Tom Keffer wrote:
>
> ​You want Davis part #6510, available from Amazon 
> ,
>  
> Ambient Weather , and 
> other vendors. Throw the software away, keep the connector. It is 
> grotesquely overpriced for what you get, tempting users to either build 
> their own , or find a 3rd 
> party alternative 
> 
> .
>
> On Thu, Aug 4, 2016 at 6:59 PM, Peter Ten Eyck  > wrote:
>
>> Can you point me to where I can get a connection cable to connect from my 
>> Vantage VUE console to my computer? I am assuming that is what I will need 
>> to do, have my console connected to a USB port on my computer that weewx is 
>> "listening" on. Correct?
>>
>>
>> On Wednesday, July 20, 2016 at 12:10:48 PM UTC-4, vince wrote:
>>>
>>> On Tuesday, July 19, 2016 at 5:51:10 PM UTC-7, Peter Ten Eyck wrote:

 Yes... I am discovering that in my research. What would be a good 
 weather station to select for reasonable quality and price that weewx will 
 work with?


>>> You can't do better than Davis for a hobbyist.
>>>  
>>>
 I was thinking that most stations would have a receiver that would plug 
 into my home network via an Ethernet cable... is this how most work?


>>> No, most require a console the sensors talk to (generally proprietary 
>>> radio) that plugs into a computer via serial or usb.
>>>
>>> -- 
>> 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.