Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
 I can't tell you how many times this has happened to me. On Sun, Oct 25, 2020 at 6:16 PM Mark Jenks wrote: > Ugh, I looked right at it and didn't even see it. I looked into > /home/weewx, but only glanced into bin. > Removed and it's working! > > Thank you! > > -Mark > > On Sunday, October

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
Ugh, I looked right at it and didn't even see it. I looked into /home/weewx, but only glanced into bin. Removed and it's working! Thank you! -Mark On Sunday, October 25, 2020 at 8:07:49 PM UTC-5 tke...@gmail.com wrote: > Did you look in /home/weewx/bin? > > On Sun, Oct 25, 2020 at 6:02

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
Did you look in /home/weewx/bin? On Sun, Oct 25, 2020 at 6:02 PM Mark Jenks wrote: > I completely removed pyserial using pip and dnf. > Same thing. Maybe something to do with rules.d? I tried tty and usb > both, and get the same thing. > > [root@server ~]# systemctl status weewx.service > ●

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I completely removed pyserial using pip and dnf. Same thing. Maybe something to do with rules.d? I tried tty and usb both, and get the same thing. [root@server ~]# systemctl status weewx.service ● weewx.service - weewx weather system Loaded: loaded (/usr/lib/systemd/system/weewx.service;

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
If you use pip to install things while in the WeeWX directory /home/weewx, it will see the setup.cfg file there, then try and install things in the WeeWX directory system. Take a look in /home/weewx/bin and see if serial ended up in there. If so, delete it, then cd to some other directory, such

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
Never had to do that before.. But just added weewx go dialout group and no change. On Sunday, October 25, 2020 at 5:16:31 PM UTC-5 ti...@skybase.net wrote: > Hi Mark, > > Does the user, that weewx is running as, belong to the group dialout ? > > On linux, a user that wants to use a serial

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tim Tuck
Hi Mark, Does the user, that weewx is running as, belong to the group dialout ? On linux, a user that wants to use a serial port must belong to the dialout group. This still applies even if the serial port is via a USB interface. regards Tim On 26/10/20 7:06 am, Mark Jenks wrote: I just

[weewx-user] Weewx and Acurite 5in1 additional sensor data

2020-10-25 Thread K1IW
I have an Acurite 01536 5in1 station. I recently added an additional temp/humid sensor. The station is showing the additional sensor, so all is working there. Is there a way for weewx to report the additional sensor data? There seems to be a lot of information on other stations, but I can

[weewx-user] Re: Belchertown skin 1.1 RainWithRainRate in cm not mm

2020-10-25 Thread Neville Davis
Now have had some good rain, display is now in mm. Thanks Arend Neville On Sunday, October 25, 2020 at 10:25:43 PM UTC+10 Neville Davis wrote: > OK found my site had crashed, edited as suggested, after a light shower of > rain the data looks good so far. > > > Thanks > > Nev > > On Sunday,

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I just did a full stop and start, and I get this. Permissions? Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL weewx.engine: Vantage.__init__(self, **config_dict[DRIVER_NAM> Oct 25 15:04:18 server.mjenks.net weewxd[20245]: weewx[20245] CRITICAL

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread John Kline
I’m not sure what OS you are on, but would you try: python3 import serial > On Oct 25, 2020, at 12:40 PM, Mark Jenks wrote: > > This works... > > [weewx@server ~]$ python > Python 3.7.6 (default, Jan 30 2020, 09:44:41) > [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux > Type "help",

Re: [weewx-user] Re: Belchertown: earthquake miles vs km's

2020-10-25 Thread Tim Tuck
Hi Arend, OK, cool :) thanks for the update cheers Tim On 25/10/20 7:57 pm, Arend wrote: Hi Tim, That was a new line of code which applied to both eqmag (quick fix). But I have changed the repository issue. It now shows which lines of code to change and apply locale formatting directly.

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
This works... [weewx@server ~]$ python Python 3.7.6 (default, Jan 30 2020, 09:44:41) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import serial >>> On Sunday, October 25, 2020 at 2:10:28 PM UTC-5 Mark Jenks wrote: >

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I just did this. No change.. dnf install python3-pyserial On Sunday, October 25, 2020 at 1:59:28 PM UTC-5 Mark Jenks wrote: > pip install pyserial > > On Sunday, October 25, 2020 at 1:28:02 PM UTC-5 tke...@gmail.com wrote: > >> How did you install pyserial? >> >> On Sun, Oct 25, 2020 at 10:00

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
pip install pyserial On Sunday, October 25, 2020 at 1:28:02 PM UTC-5 tke...@gmail.com wrote: > How did you install pyserial? > > On Sun, Oct 25, 2020 at 10:00 AM Mark Jenks wrote: > >> # The station model, e.g., WMR200, WMR200A, Radio Shack W200 >> model = Vantage >> >> # The driver

Re: [weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Tom Keffer
How did you install pyserial? On Sun, Oct 25, 2020 at 10:00 AM Mark Jenks wrote: > # The station model, e.g., WMR200, WMR200A, Radio Shack W200 > model = Vantage > > # The driver to use: > driver = weewx.drivers.vantage > type = Serial > port = /dev/ttyUSB0 > > # The

[weewx-user] Re: Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
# The station model, e.g., WMR200, WMR200A, Radio Shack W200 model = Vantage # The driver to use: driver = weewx.drivers.vantage type = Serial port = /dev/ttyUSB0 # The type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both loop_request = 1 On Sunday,

[weewx-user] Upgrade from 3.9.2 to 4.1.1 issues

2020-10-25 Thread Mark Jenks
I was running python 2 before, and upgraded to python 3. Never had an issue until I upgraded to 4.1.1. What am I missing? # python --version Python 3.7.6 pyserial is installed. [root@server bin]# ./wee_device Using configuration file /home/weewx/weewx.conf Using Vantage driver version

Re: [weewx-user] MQTT lagging

2020-10-25 Thread Greg Troxel
T Reid writes: > I am using the MQTT add-in to pipe real time loop entries from my Davis > Vantage Pro into the Belchertown skin, using the standard instructions for > that skin. It generally works great. But every couple of days the MQTT > feed will fall behind, sometimes by as much as an

Re: [weewx-user] Using Ephem for LST estimation

2020-10-25 Thread Kevin Davis
Is 12:67 in your date field correct? > On Oct 25, 2020, at 5:13 AM, Tom Keffer wrote: > >  > Perhaps the time is in UTC? > >> On Sun, Oct 25, 2020 at 12:53 AM Priya wrote: >> Hi all, >> >> I am trying to estimate the local sidereal time for my location with >> following lines: >> gatech =

[weewx-user] Re: Belchertown skin 1.1 RainWithRainRate in cm not mm

2020-10-25 Thread Neville Davis
OK found my site had crashed, edited as suggested, after a light shower of rain the data looks good so far. Thanks Nev On Sunday, October 25, 2020 at 9:23:48 PM UTC+10 Neville Davis wrote: > Thanks I will try this edit. > > Nev > > On Sunday, October 25, 2020 at 8:01:05 PM UTC+10 Arend

Re: [weewx-user] Using Ephem for LST estimation

2020-10-25 Thread Tom Keffer
Perhaps the time is in UTC? On Sun, Oct 25, 2020 at 12:53 AM Priya wrote: > Hi all, > > I am trying to estimate the local sidereal time for my location with > following lines: > gatech = ephem.Observer() > gatech.lon, gatech.lat = '+82.5', '+32' > gatech.date = '2020/10/25 12:67' >

[weewx-user] Re: Belchertown skin 1.1 RainWithRainRate in cm not mm

2020-10-25 Thread Neville Davis
Thanks I will try this edit. Nev On Sunday, October 25, 2020 at 8:01:05 PM UTC+10 Arend wrote: > I can not connect to you MQTT broker, but noticed that you are using km/h > for windspeed. In that case I think you should stick to METRIC for > unit_system and make these changes to MQTT section:

[weewx-user] Re: Belchertown: earthquake miles vs km's

2020-10-25 Thread blee...@xs4all.nl
Goedemiddag Arend, Thnx, changes made! At this time it says 'no recent data avilabale' so I have to wait for een eartqauke data-update. Keep you informed. Regards, Keimpe Op zaterdag 24 oktober 2020 om 21:46:02 UTC+2 schreef Arend: > Hi Keimpe, > > I had the same problem and created an issue

[weewx-user] Re: Belchertown skin 1.1 RainWithRainRate in cm not mm

2020-10-25 Thread Arend
I can not connect to you MQTT broker, but noticed that you are using km/h for windspeed. In that case I think you should stick to METRIC for unit_system and make these changes to MQTT section: [[MQTT]] server_url = mqtt:x topic = weather unit_system =

Re: [weewx-user] Re: Belchertown: earthquake miles vs km's

2020-10-25 Thread Arend
Hi Tim, That was a new line of code which applied to both eqmag (quick fix). But I have changed the repository issue. It now shows which lines of code to change and apply locale formatting directly. Maybe that will make things more clear.

[weewx-user] Using Ephem for LST estimation

2020-10-25 Thread Priya
Hi all, I am trying to estimate the local sidereal time for my location with following lines: gatech = ephem.Observer() gatech.lon, gatech.lat = '+82.5', '+32' gatech.date = '2020/10/25 12:67' gatech.elevation = 4500.0 print(gatech) print('LST:' gatech.sidereal_time()) LST: 20:54:30.92