Problem with Vantage Vue

178 views
Skip to first unread message

geo...@gmail.com

unread,
Feb 20, 2022, 3:53:25 PM2/20/22
to weewx-user
I want to use my Vantage Vue with weewx per tcp/ip. After installing weewx I get the following error messages:

*******************************************************************************
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****      Vantage.__init__(self, **config_dict[DRIVER_NAME])
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 514, in __init__
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****      self.port.openPort()
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 346, in openPort
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****      raise weewx.WeeWxIOError(ex)
Feb 20 21:42:43 weewx weewx[1198] CRITICAL weewx.engine:     ****  weewx.WeeWxIOError: [Errno 111] Connection refused
Feb 20 21:42:43 weewx weewx[1198] CRITICAL __main__: Unable to load driver: [Errno 111] Connection refused
Feb 20 21:42:43 weewx weewx[1198] CRITICAL __main__:     ****  Exiting...
*******************************************************************************

Do I have to install a vantage-driver afterwards?

vince

unread,
Feb 20, 2022, 5:12:29 PM2/20/22
to weewx-user

Connection refused is the other computer isn't listening and accepting traffic on that port.
Check you have the right ip address set in your weewx.conf file

geo...@gmail.com

unread,
Feb 21, 2022, 11:09:36 AM2/21/22
to weewx-user
IP is correct. After stop, start or restart showed no change, I restarted the Raspberry. Now this is in the log and apparently stops at Finished Clean php session files:

pi@weewx:~ $ sudo tail -f /var/log/syslog
Feb 21 15:25:46 weewx systemd[856]: Startup finished in 1.866s.
Feb 21 15:25:46 weewx systemd[1]: Started User Manager for UID 1000.
Feb 21 15:25:46 weewx systemd[1]: Started Session 1 of user pi.
Feb 21 15:39:02 weewx CRON[1587]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 21 15:39:05 weewx systemd[1]: Starting Clean php session files...
Feb 21 15:39:05 weewx systemd[1]: Starting Cleanup of Temporary Directories...
Feb 21 15:39:05 weewx systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Feb 21 15:39:05 weewx systemd[1]: Finished Cleanup of Temporary Directories.
Feb 21 15:39:05 weewx systemd[1]: phpsessionclean.service: Succeeded.
Feb 21 15:39:05 weewx systemd[1]: Finished Clean php session files.
Feb 21 16:09:01 weewx CRON[2515]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 21 16:09:05 weewx systemd[1]: Starting Clean php session files...
Feb 21 16:09:05 weewx systemd[1]: phpsessionclean.service: Succeeded.
Feb 21 16:09:05 weewx systemd[1]: Finished Clean php session files.
Feb 21 16:17:01 weewx CRON[2806]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 21 16:24:19 weewx rngd[378]: stats: bits received from HRNG source: 80064
Feb 21 16:24:19 weewx rngd[378]: stats: bits sent to kernel pool: 33824
Feb 21 16:24:19 weewx rngd[378]: stats: entropy added to kernel pool: 33824
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2 successes: 4
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2 failures: 0
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2(2001-10-10) Poker: 0
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2(2001-10-10) Runs: 0
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2(2001-10-10) Long run: 0
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Feb 21 16:24:19 weewx rngd[378]: stats: HRNG source speed: (min=748.295; avg=753.644; max=761.423)Kibits/s
Feb 21 16:24:19 weewx rngd[378]: stats: FIPS tests speed: (min=16.909; avg=20.704; max=22.492)Mibits/s
Feb 21 16:24:19 weewx rngd[378]: stats: Lowest ready-buffers level: 2
Feb 21 16:24:19 weewx rngd[378]: stats: Entropy starvations: 0
Feb 21 16:24:19 weewx rngd[378]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Feb 21 16:39:01 weewx CRON[3443]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 21 16:39:05 weewx systemd[1]: Starting Clean php session files...
Feb 21 16:39:05 weewx systemd[1]: phpsessionclean.service: Succeeded.
Feb 21 16:39:05 weewx systemd[1]: Finished Clean php session files.

I used the weewx version 4.6.2 on a Raspberry 2.

Tom Keffer

unread,
Feb 21, 2022, 12:58:00 PM2/21/22
to weewx-user
All of those log entries were put there by other services. There is nothing in the log that indicates that weewxd is even running.

--
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/f92dc023-b2f6-4f36-953e-4a32a642ef21n%40googlegroups.com.

geo...@gmail.com

unread,
Feb 21, 2022, 3:42:07 PM2/21/22
to weewx-user
Sorry, that's right. I reinstalled both the Raspi OS and weewx. Simulator works, when selecting Vantage, unfortunately the error message remains as in the first post, Connection refused. BTW, the other computer is Meteobridge. I'll ask around on the Meteobridge forum.

geo...@gmail.com

unread,
Feb 24, 2022, 4:30:53 AM2/24/22
to weewx-user
Small update: Retrieving weather data via ethernet and port 22222 should only work if the Vantage weather station is connected to Meteobridge via USB data logger. My Vantage Vue is connected via Meteostick.

geo...@gmail.com

unread,
Mar 1, 2022, 3:52:58 AM3/1/22
to weewx-user
I have now successfully connected my Vantage Vue to weewx using Meteostick and fileparse. The csv import also works perfectly. Unfortunately I forgot the assignment for barometers in the field-maps in the csv.conf, so they are missing now. Can I start the import again just with the missing value? For example, this is the year 2021 with almost 100.000 data records. I use weewx 4.6.2 on the Raspberry, Database is MySQL.
Reply all
Reply to author
Forward
0 new messages