Re: [weewx-user] Procedure to convert from wview to weewx

2017-05-20 Thread David Trebacz
Thanks Tom. I did see the short section, but thought perhaps there was more 
to it. I'll make the attempt in the future... Thanks.

On Friday, May 5, 2017 at 11:04:09 AM UTC-7, Tom Keffer wrote:
>
> There is a (short) section 
>  in the User's 
> Guide about moving to weewx. Hopefully it will answer any questions. If 
> not, feel free to come back.
>
> -tk
>
> On Fri, May 5, 2017 at 10:35 AM, David Trebacz  > wrote:
>
>> I've been running wview for a long time, but love the active development 
>> and community around weewx. I plan to move my current wview Ubuntu setup to 
>> weewx Ubuntu VM. I know there is good compatibility between the two systems 
>> (though they are built fundamentally different). I was hoping to find a 
>> general procedure of how to move from wview to weewx. I thought I looked 
>> pretty good through the online resources and documentation. Did I miss it? 
>> Does it make sense to have something in the Wiki?
>>
>> Just want to plan my conversion for minimal downtime and have reasonable 
>> safety net if something goes wrong.
>>
>> -- 
>> 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.


[weewx-user] Re: Procedure to convert from wview to weewx

2017-05-20 Thread David Trebacz
Sorry Vince -got distracted on another project. I'm currently using USB. I 
did adjust my VM to be able to see the USB hardware on the physical 
machine, but haven't actually tested it being virtualized yet.

On Friday, May 5, 2017 at 10:56:21 AM UTC-7, vince wrote:
>
> On Friday, May 5, 2017 at 10:45:48 AM UTC-7, David Trebacz wrote:
>>
>> I've been running wview for a long time, but love the active development 
>> and community around weewx. I plan to move my current wview Ubuntu setup to 
>> weewx Ubuntu VM. I know there is good compatibility between the two systems 
>> (though they are built fundamentally different). I was hoping to find a 
>> general procedure of how to move from wview to weewx. I thought I looked 
>> pretty good through the online resources and documentation. Did I miss it? 
>> Does it make sense to have something in the Wiki?
>>
>>
> The database schema are the same.
>
> My recollection is the basic procedure is:
>  - install weewx in your VM
>  - copy your wview database into place, renaming it to weewx.sdb as weewx 
> expects
>  - start weewx
> And always always always work off a 'copy' of your old database just in 
> case.
>
> If you want to get your feet wet a little, run your weewx VM in simulator 
> mode.
>
> I do have one question though - how are you going to get your VM access to 
> the serial or usb port your station is connected to ?  That's not really a 
> weewx question, but if the VM can't talk to the hardware (regardless of 
> which weather software you run), that's a showstopper
>
>

-- 
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: STOP Receiving Wind Data by Request.

2017-05-20 Thread Ruben Navarro Huedo
Yes it is what I need with driver but my programming knowing is not
good :(

I did some try without good result.


El 20 may. 2017 17:22, "Cameron D"  escribió:

The circuit boards are placed:

   1. level with the mounting tube (perpendicular to the shafts) , and
   2. extending up until the housing diameter starts to get smaller.

So, basically, shielding the top half of the large diameter section of
housing plus the taper might be enough (depending on placement of RF
source).

It would be quite simple to add code to the driver to check for existence
of a file and simply ignore any wind speed packets while the file exists.
It would need to be an option, because it is not particularly efficient,
and I would prefer not to do the check for all users.
You can have other code (external to weewx) that creates and deletes the
file.


On Saturday, 20 May 2017 22:30:39 UTC+10, Ruben Navarro Huedo wrote:
>
> Yes
> Only anemometer has problems
> I will try shield it ASAP.
>
> A driver mute could help me also.
>
> If only a mute when a file exists could be done then it could be the
> solution  for me
>
> --
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/RLuIG7LdO0A/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.


[weewx-user] Re: weewx daemon will not run

2017-05-20 Thread Craig Kimble
Thanks Tom for your help. I can start weewx manually and it has 
successfully logged data for over 10 hours now. After trying to get the 
daemon running, for way too long, I have decided to put it on the back 
burner for a while. Hopefully, as my skill and confidence increase I will 
be able to see my silly error. Again, many thanks for your time.

Craig

On Friday, May 19, 2017 at 1:53:29 PM UTC-6, Craig Kimble wrote:
>
> I am a noob and need some help getting weewx to run at startup. weewx will 
> run fine if I start it manually. I believe I have tracked the problem down 
> to the ntp time server. I installed weewx on a pi using the documentation 
> in the user guide. 
>
> pi@raspberrypi:~ $ /etc/init.d/weewx status
> ● weewx.service - LSB: weewx weather system
>Loaded: loaded (/etc/init.d/weewx)
>Active: active (exited) since Wed 1969-12-31 17:00:23 MST; 47 years 4 
> months ago
>   Process: 347 ExecStart=/etc/init.d/weewx start (code=exited, 
> status=0/SUCCESS)
>   
>   
> pi@raspberrypi:~ $ ntpq -pn
>  remote   refid  st t when poll reach   delay   offset 
>  jitter
>
> ==
> +198.206.133.14  115.21.111.663 u   18   64  377   46.0590.672   
> 0.412
> -148.167.132.200 LOCAL(0) 2 u   53   64  147   49.062   -7.131 
>  16.491
> +154.16.245.246  152.2.253.1262 u   28   64  377   57.5984.819   
> 0.290
> *67.40.5.51  127.67.113.922 u   57   64  377   49.7652.080   
> 0.496
>
>
> pi@raspberrypi:~ $ systemctl list-unit-files | grep enabled 
> autologin@.service enabled 
> avahi-daemon.service   enabled 
> bluetooth.service  enabled 
> cron.service   enabled 
> dbus-org.bluez.service enabled 
> dbus-org.freedesktop.Avahi.service enabled 
> dhcpcd.service enabled 
> display-manager.serviceenabled 
> hciuart.serviceenabled 
> hwclock-save.service   enabled 
> lightdm.serviceenabled 
> rpi-display-backlight.service  enabled 
> rsyslog.serviceenabled 
> ssh.serviceenabled 
> sshswitch.service  enabled 
> syslog.service enabled 
> vncserver-x11-serviced.service enabled 
> avahi-daemon.socketenabled 
> remote-fs.target   enabled 
>
>
> I hope I supplied enough info
> Craig
>

-- 
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: STOP Receiving Wind Data by Request.

2017-05-20 Thread Cameron D
The circuit boards are placed:

   1. level with the mounting tube (perpendicular to the shafts) , and 
   2. extending up until the housing diameter starts to get smaller.

So, basically, shielding the top half of the large diameter section of 
housing plus the taper might be enough (depending on placement of RF 
source).

It would be quite simple to add code to the driver to check for existence 
of a file and simply ignore any wind speed packets while the file exists.
It would need to be an option, because it is not particularly efficient, 
and I would prefer not to do the check for all users.
You can have other code (external to weewx) that creates and deletes the 
file.


On Saturday, 20 May 2017 22:30:39 UTC+10, Ruben Navarro Huedo wrote:
>
> Yes
> Only anemometer has problems 
> I will try shield it ASAP. 
>
> A driver mute could help me also.
>
> If only a mute when a file exists could be done then it could be the 
> solution  for me
>
>

-- 
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: WMR300 driver - deleting history and other misc changes.

2017-05-20 Thread Ruben Navarro Huedo
I will test driver in 10 days 
I am working now out of home 

-- 
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: STOP Receiving Wind Data by Request.

2017-05-20 Thread Ruben Navarro Huedo
 Yes
Only anemometer has problems 
I will try shield it ASAP. 

A driver mute could help me also.

If only a mute when a file exists could be done then it could be the solution  
for me

-- 
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] Acurite lightning sensor distance value

2017-05-20 Thread Craig Thom
It appears that the "distance" value archived is the average of the values 
from each loop packet.  Since that value appears to be whatever the last 
distance was, even if that was a month ago, I don't think this is a useful 
number.  Here's an example:

The value reported at the start of the archive interval is 15.
There are, just for example, twenty packet loops in this interval.
There is a strike with a distance of 1 just before the loop packet.
The archive would then show 1 strike at a distance if 14.3.

I would rather see "distance" be the minimum value for the interval.

An alternative would be to make "distance" be the average for the strikes 
in the interval, but this would require two things:
Only counting the packets in which strikes_total changes, and
weighting the values by the number of strikes per loop packet 
(strikes_total delta).

So, I think I see how to do the minimum.  I could add a column 
"distanceMinimum", add self._mimimums, and write functions 
_calculate_minimum(self, pkt) and _calculate_minimums(label, newtotal, 
oldtotal). 

Would that be the best way?

Average distance per strike looks a lot trickier, since the values in some 
look packets wouldn't count, and the values of some would count more than 
others, and the distance value need not change for it to be useful.

-- 
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: connect to wireless sensors in addition to a weather station

2017-05-20 Thread Craig Thom
And, since the antennas for these are monopoles, they will work much better 
when stuck on a piece of metal at least a foot in diameter.

On Friday, May 19, 2017 at 12:33:16 AM UTC-4, Andy wrote:
>
> https://m.aliexpress.com/s/item/32611544795.html this one works ok, as 
> said before antenna is weak link
>
> Andy
>

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