WeeWX 5.1.0 on Pi 5 MPiE and weewx.conf

Long-time fan of WeeWX.

Worked perfectly with my Meteo-Pi-Ethernet Logger and WeeWX 4.9.1

It sent its data directly to its built-in sites: (WL/WU/WOW/CWOP).

I was able to pause it once a minute for WeeWX to update my other recipient 
sites: WeatherCloud, AWEKAS, Windy, OpenWeatherMap, PWS Weather, 
WeatherCloud, Windfinder.

I bought a Pi 5 and installed V5.1 in November and tried to replicate this, 
but tripped at the first hurdle - setting up weewx.conf.

Install was pip (Debian) with venv.

Somehow (operator error, for sure), I mislaid my 4.9.1 weewx.conf files, so 
I couldn't trace the errors.

I was always editing it, so the host and port lines for 5.1 are the same as 
with 4.9.1

I'm using the same Meteo-Pi Ethernet Logger, which continues to work 
flawlessly.

I know v5.1 handles logging differently, so I get these errors 

LOGS:

sudo systemctl status weewx

Rpiwx5:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: 
enabled)
     Active: failed (Result: exit-code) since Fri 2025-01-03 16:51:36 NZDT; 
1 week 4 days ago
   Duration: 163ms
       Docs: https://weewx.com/docs
   Main PID: 724728 (code=exited, status=4)
        CPU: 158ms

Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     ****     
 Vantage.__init__(self, **config_dict[DRIVER_NAME])
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 536, in __init__
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     ****     
 self.port.openPort()
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     ****   
 File "/usr/share/weewx/weewx/drivers/vantage.py", line 359, in openPort
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     ****     
 raise weewx.WeeWxIOError(ex)
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL weewx.engine:     **** 
 weewx.WeeWxIOError: [Errno 111] Connection refused
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL __main__: Unable to load 
driver: [Errno 111] Connection refused
Jan 03 16:51:36 Rpiwx5 weewxd[724728]: CRITICAL __main__:     **** 
 Exiting...
Jan 03 16:51:36 Rpiwx5 systemd[1]: weewx.service: Main process exited, 
code=exited, status=4/NOPERMISSION
Jan 03 16:51:36 Rpiwx5 systemd[1]: weewx.service: Failed with result 
'exit-code'.

Here's the [Vantage]

[Vantage]
 59     # This section is for the Davis Vantage series of weather stations.
 60  # 221116: trying to sort out ports, etc   
 61     # Connection type: serial or ethernet 
 62     #  serial (the classic VantagePro)
 63     #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
 64 #241228_REVERTING TO ETHERNET
 65 #       type = serial
 66        type = ethernet
 67     # If the connection type is serial, a port must be specified:
 68     #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
 69     #     /dev/ttyUSB0 is a common USB port name
 70     #     /dev/ttyS0   is a common serial port name
 71     #   BSD:
 72     #     /dev/cuaU0   is a common serial port name
 73 #       port = /dev/ttyUSB0
 74 #241228_REVERTING TO ETHERNET
 75
 76 #       port = /dev/ttyS0
 77         port = 22222
 78     # If the connection type is ethernet, an IP Address/hostname is 
required:
 79 #    host = 1.2.3.4
 80 #241228_REVERTING TO ETHERNET
 81             host = 192.168.1.103

It's in Simulator mode: that part of weewx.conf untouched.



-- 
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.
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/3f1f993d-8b83-43b5-8120-614f9a1d87e0n%40googlegroups.com.

Reply via email to