Unexpected text traffic

38 views
Skip to first unread message

gch...@juno.com

unread,
Jun 2, 2019, 11:35:37 AM6/2/19
to weewx-user
Hi there.  I'm a newbie to WeeWx.  I have a Davis Instruments Vantage Pro2.

Firstly, let me say, that it seems to be working perfectly. However ...

Since this is my first time using it, I decided to try "Installation using setup.py." This says to "Download the source archive weewx-X.Y.Z.tar.gz from weewx.com/downloads."  I did that and found X.Y.Z == 3.9.1.  I am running Ubuntu 18.04, where the default version of python is 2.7.  Some additional python libraries did need to be downloaded/installed.  Thereafter, WeeWx build and install worked fine.  So far, so good.

However, "sudo ./bin/weewxd weewx.conf" produced a Dictionary dump for LOOP every two seconds on the terminal, and for another dictionary less frequently.   I could fix this by doing "sudo ./bin/weewxd weewx.conf >/dev/null 2>&1 &" instead.  However, I don't think I should have to.  I looked at drivers/vantage.py and I couldn't see where it was coming from, so I assume it is coming from the caller.  Perhaps someone on this list can help me track it back?

It looks like the sort of thing that I have done when updating code: adding a debug statement and then forgetting to remove it before submitting the changes.  More likely, I'm doing something wrong.  What is it?

Thanks,
Gareth.

Jardi Martínez

unread,
Jun 2, 2019, 11:52:00 AM6/2/19
to weewx-user
On Sun, Jun 2, 2019, 8:35 AM gch...@juno.com <gch...@juno.com> wrote:
Hi there.  I'm a newbie to WeeWx.  I have a Davis Instruments Vantage Pro2.

Firstly, let me say, that it seems to be working perfectly. However ...

Since this is my first time using it, I decided to try "Installation using setup.py." This says to "Download the source archive weewx-X.Y.Z.tar.gz from weewx.com/downloads."  I did that and found X.Y.Z == 3.9.1.  I am running Ubuntu 18.04, where the default version of python is 2.7.  Some additional python libraries did need to be downloaded/installed.  Thereafter, WeeWx build and install worked fine.  So far, so good.

However, "sudo ./bin/weewxd weewx.conf" produced a Dictionary dump for LOOP every two seconds on the terminal, and for another dictionary less frequently.   I could fix this by doing "sudo ./bin/weewxd weewx.conf >/dev/null 2>&1 &" instead.  However, I don't think I should have to.  I looked at drivers/vantage.py and I couldn't see where it was coming from, so I assume it is coming from the caller.  Perhaps someone on this list can help me track it back?


Run it as a daemon, the instructions are on the same page as the installation instructions:

Jardi.

Graham Eddy

unread,
Jun 2, 2019, 12:18:03 PM6/2/19
to weewx...@googlegroups.com
to stop the LOOP packet being printed every couple seconds: in weewx.conf, remove weewx.engine.StdPrint from report_services. you almost certainly do not want to do this while testing and running weewx in foreground, as seeing the LOOP packets is important to debugging

when you are happy weewx is running as you want, set it up as a daemon per instructions (details depend on your operating system e.g. linux derivatives, macOS) - daemons have no stdin/stdout/stderr
____________
Graham Eddy

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAETA7dS8Zj824-aTR-e3COMg-YenSVNeySH7Gd7MnGFGyn9T%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

rich T

unread,
Jun 2, 2019, 1:14:16 PM6/2/19
to weewx-user
What you are seeing is the data from the ISS every 2.5 seconds (Loop Data) and every 5 minutes you see the archive data which is being written to the archive database. 
Reply all
Reply to author
Forward
0 new messages