Hang ups on Raspberry Pi

474 views
Skip to first unread message

ANDREY

unread,
Sep 25, 2024, 2:12:36 PM9/25/24
to weewx-user
Good evening!

I use meteostation Davis Vantage Pro2 with Raspberry Pi 2B since 2022.
Its operation system is Raspbian Buster (because I use AnyDesk for the remote access).
Since June 2024, data registration has interrupted.
It worked only some hours.
I was reinstalling the operating system (Raspbian Buster).
I replaced the board on a Raspberry Pi 3B with Raspbian Bullseye.
But I see the graphics with results for some hours.
After that the registration is stopped.
Why?

Tom Keffer

unread,
Sep 25, 2024, 4:24:13 PM9/25/24
to weewx...@googlegroups.com
I don't know what you mean by "registration". Do you mean station registration so it shows on this map? Or, something else?

In any case, it's almost impossible to diagnose what's happening without a log. See the section How to get a good, useful log.

--
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/77b03b34-495e-43aa-9f12-f9cfada246cdn%40googlegroups.com.

ANDREI ROZWADOWSKI

unread,
Sep 26, 2024, 10:29:07 AM9/26/24
to weewx-user
Good evening!
Below is the log file for Raspberry Pi 3B (OS Bullseye)
The latest results on the charts (in the folder: /var/www/html/www ) which I received are dated 09/25/2024, 06:15:00 PM

pi@raspberrypi:~ $ sudo journalctl -u weewx
Sep 24 11:52:40 raspberrypi systemd[1]: Started weewx.service - WeeWX.
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Initializing weewxd version 5.1.0
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Using Python: 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0]
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Located at:   /usr/bin/python3
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Platform:     Linux-6.6.47+rpt-rpi-v7-armv7l-with-glibc2.36
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Locale:       'en_US.UTF-8'
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: User module:  /etc/weewx/bin/user
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Debug:        0
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: User:         weewx
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Group:        weewx
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO __main__: Groups:       weewx
Sep 24 11:52:40 raspberrypi weewxd[3034]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Sep 24 11:52:40 raspberrypi weewxd[3034]: ERROR weewx.engine: Import of driver failed: [Errno 2] could not open port /dev/tty>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****    File "/usr/lib/python3/dist-packages/serial/seri>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****      self.fd = os.open(self.portstr, os.O_RDWR | os>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****  FileNotFoundError: [Errno 2] No such file or direc>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****  During handling of the above exception, another ex>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 11>
Sep 24 11:52:40 raspberrypi weewxd[3034]: CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, se>
lines 1-28
среда, 25 сентября 2024 г. в 23:24:13 UTC+3, Tom Keffer:

ANDREI ROZWADOWSKI

unread,
Sep 26, 2024, 10:33:55 AM9/26/24
to weewx-user
As for link https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log
I've got the following results:

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog | tee /var/tmp/mylog
tail: cannot open '/var/log/syslog' for reading: No such file or directory
tail: no files remaining
pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
tail: cannot open '/var/log/syslog' for reading: No such file or directory
tail: no files remaining
pi@raspberrypi:~ $


четверг, 26 сентября 2024 г. в 17:29:07 UTC+3, ANDREI ROZWADOWSKI:

Tom Keffer

unread,
Sep 26, 2024, 10:58:28 AM9/26/24
to weewx...@googlegroups.com
You did not set DEBUG=1, and the lines are getting cut off, but from the little I can see it looks like the port you are trying to use to connect to the Vantage does not exist. 

Message has been deleted

Ho Lee Fooks

unread,
Sep 26, 2024, 7:07:33 PM9/26/24
to weewx...@googlegroups.com

Reinstalling weewx, I wondered where the log was as well. It may be replaced with a binary log named journal. I found a README that explains more.


On Thu, Sep 26, 2024, 10:59 'michael.k...@gmx.at' via weewx-user <weewx...@googlegroups.com> wrote:
Maybe your log is elsewhere: https://weewx.com/docs/5.1/usersguide/where/

Ho Lee Fooks

unread,
Sep 26, 2024, 7:07:48 PM9/26/24
to weewx...@googlegroups.com

journalctl -n 100
Shows the last 100 lines.

ANDREI ROZWADOWSKI

unread,
Sep 27, 2024, 12:51:36 AM9/27/24
to weewx-user
Thanks for the tip.
I will also try to reinstall the OS.
Please tell me,
Does Weewx support 64-bit OS?

пятница, 27 сентября 2024 г. в 02:07:48 UTC+3, Ho Lee Fooks:

p q

unread,
Sep 27, 2024, 1:05:44 AM9/27/24
to weewx...@googlegroups.com
In my opinion, reinstalling the OS is a waste of time unless you have some reason to think it's badly installed.

Looks like the driver is having trouble finding the serial port. Or maybe there's a permissions problem. I don't use this driver, so I have no idea how it's configured.



--
Peter Quinn
(415)794-2264

vince

unread,
Sep 27, 2024, 2:26:55 AM9/27/24
to weewx-user
Again - we need to see your logfile please.   Also need to see your [Vantage] section from weewx.conf.  As Tom said, your logfile seems to indicate that you are trying to connect to a port that does not exist on your system.

Mine on a raspberry pi looks like this for a VP2 connected to the pi4.

[Vantage]
    # This section is for the Davis Vantage series of weather stations.

    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
    type = serial
    port = /dev/ttyUSB0

You might want to run the "lsusb" and "dmesg" command to see what devices are on your USB bus.

pi@pi4:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port / Mobile Action MA-8910P
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


pi@pi4:~$ dmesg|grep USB
[    1.494727] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.496256] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.496291] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.496652] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.496688] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.497522] hub 1-0:1.0: USB hub found
[    1.498604] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
[    1.498640] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.499393] hub 2-0:1.0: USB hub found
[    1.513632] usbhid: USB HID core driver
[    1.751480] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.902082] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.902145] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.902172] usb 1-1: Product: USB2.0 Hub
[    1.904186] hub 1-1:1.0: USB hub found
[    2.199479] usb 1-1.2: new full-speed USB device number 3 using xhci_hcd
[    2.303884] usb 1-1.2: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 3.00
[    2.303945] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.303973] usb 1-1.2: Product: USB-Serial Controller
[    7.708729] usbserial: USB Serial support registered for generic
[    7.735802] usbserial: USB Serial support registered for pl2303
[    7.801504] usb 1-1.2: pl2303 converter now attached to ttyUSB0

My VP2 is connected by a serial2usb connector to the pi, so it shows up as the only device attached to the pi as reported by lsusb, and the dmesg command shows that it is allocated /dev/ttyUSB0, which is what matches my setup.

Ho Lee Fooks

unread,
Sep 27, 2024, 6:30:54 AM9/27/24
to weewx...@googlegroups.com

Currently using Pi OS lite 64-bit Debian Bookworm port with a pip install after a SD card failure.


ANDREI ROZWADOWSKI

unread,
Sep 28, 2024, 2:02:28 AM9/28/24
to weewx-user
I checked RaspPi USB ports:

pi@raspberrypi:~ $ sudo lsusb
Bus 001 Device 007: ID 10c4:ea61 Silicon Labs CP210x UART Bridge
Bus 001 Device 006: ID 03f0:304a HP, Inc Slim Keyboard
Bus 001 Device 005: ID 03f0:134a HP, Inc Optical Mouse
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

After I opened weewx.conf:
[Vantage]
    # This section is for the Davis Vantage series of weather stations.
   
    # Connection type: serial or ethernet
    #  serial (the classic VantagePro)
    #  ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
       type = serial
   
    # If the connection type is serial, a port must be specified:
    #   Debian, Ubuntu, Redhat, Fedora, and SuSE:
    #     /dev/ttyUSB0 is a common USB port name
    #     /dev/ttyS0   is a common serial port name
    #   BSD:
    #     /dev/cuaU0   is a common serial port name
       port = /dev/ttyUSB0
   
    # If the connection type is ethernet, an IP Address/hostname is required:
    host = 1.2.3.4

I don't use any USB-RS232 connector. So it seems to me that "ttyUSB0" is correctly.

Also I've got log:
pi@raspberrypi:~ $ journalctl -n 100
Sep 28 08:40:54 raspberrypi systemd[892]: Starting rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect...
Sep 28 08:40:54 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 08:40:54 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Failed with result 'exit-code'.
Sep 28 08:40:54 raspberrypi systemd[892]: Failed to start rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Co>
Sep 28 08:40:59 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Scheduled restart job, restart counter is at 24483.
Sep 28 08:40:59 raspberrypi systemd[892]: Stopped rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect.
Sep 28 08:40:59 raspberrypi systemd[892]: Starting rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect...
Sep 28 08:40:59 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 08:40:59 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Failed with result 'exit-code'.
Sep 28 08:40:59 raspberrypi systemd[892]: Failed to start rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Co>
Sep 28 08:41:04 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Scheduled restart job, restart counter is at 24484.
Sep 28 08:41:04 raspberrypi systemd[892]: Stopped rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect.
Sep 28 08:41:04 raspberrypi systemd[892]: Starting rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect...
Sep 28 08:41:04 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 08:41:04 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Failed with result 'exit-code'.
Sep 28 08:41:04 raspberrypi systemd[892]: Failed to start rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Co>
Sep 28 08:41:09 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Scheduled restart job, restart counter is at 24485.
Sep 28 08:41:09 raspberrypi systemd[892]: Stopped rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect.
Sep 28 08:41:09 raspberrypi systemd[892]: Starting rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect...
Sep 28 08:41:09 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 08:41:09 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Failed with result 'exit-code'.
Sep 28 08:41:09 raspberrypi systemd[892]: Failed to start rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Co>
Sep 28 08:41:15 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Scheduled restart job, restart counter is at 24486.
Sep 28 08:41:15 raspberrypi systemd[892]: Stopped rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect.
Sep 28 08:41:15 raspberrypi systemd[892]: Starting rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Connect...
Sep 28 08:41:15 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Control process exited, code=exited, status=1/FAILURE
Sep 28 08:41:15 raspberrypi systemd[892]: rpi-connect-wayvnc.service: Failed with result 'exit-code'.
Sep 28 08:41:15 raspberrypi systemd[892]: Failed to start rpi-connect-wayvnc.service - WayVNC process used by Raspberry Pi Co>

Unfortunately I don't receive data from Vantage Pro2
пятница, 27 сентября 2024 г. в 13:30:54 UTC+3, Ho Lee Fooks:

Tom Keffer

unread,
Sep 28, 2024, 10:19:38 AM9/28/24
to weewx...@googlegroups.com
I'm getting confused here. Is "Ho Lee Fooks" (seriously?) and Andrei the same person? 

ANDREI ROZWADOWSKI

unread,
Sep 28, 2024, 2:41:56 PM9/28/24
to weewx-user
Excuse me
Who is "Ho Lee Fooks"?

суббота, 28 сентября 2024 г. в 17:19:38 UTC+3, Tom Keffer:

vince

unread,
Sep 28, 2024, 2:58:03 PM9/28/24
to weewx-user
Andrei - unplug your Vantage from the pi then plug it back in, and post the output of your "dmesg" command and run "lsusb" again please.   Also, how are you connecting the Vantage to the pi ?  Do you have a Davis USB datalogger or some other device ?

You probably need a udev rule but we'd need to see the details on your device to know for certain what to try.

Warren Gill

unread,
Sep 28, 2024, 3:07:20 PM9/28/24
to weewx...@googlegroups.com
Try setting port to /dev/vantage
The proper way to configure this up is to map the weewx.conf port setting to what's setup in udev. That way if the serial device gets unplugged/plugged and the usb mapper sends it to a different port, udev will always symlink it to /dev/vantage

If the install worked correctly you should see UDEV rules in /usr/lib/udev/rules.d/60-weewx.rules
In there you can find this:
# davis vantage via usb-serial
SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea60",MODE="0664",GROUP="weewx",SYMLINK+="vantage"
SUBSYSTEM=="tty",ATTRS{idVendor}=="10c4",ATTRS{idProduct}=="ea61",MODE="0664",GROUP="weewx",SYMLINK+="vantage"


Which should match up to what you see in lsusb:
Bus 001 Device 007: ID 10c4:ea61 Silicon Labs CP210x UART Bridge

ANDREI ROZWADOWSKI

unread,
Sep 30, 2024, 7:09:52 AM9/30/24
to weewx-user
I reinstalled RaspOS. Now it's Bookworm ( 32-bit ) .
After that I've installed Weewx.
I use Davis Vantage Pro2 with data-logger
This station is connected to RaspPi via usb cable (direct connection).
I checked folder /var/www/html/weewx/. It's empty.
There isn't the file "index.html".
And I didn't find folder "/dev/vantage"
I agree with vince and Warren Gill that Vantage drivers (/dev/ttyUSB0) is not installed correctly.

Also I printed logs:

pi@raspberrypi:~ $ sudo systemctl status weewx
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enable>
     Active: failed (Result: exit-code) since Sun 2024-09-29 16:06:19 MSK; 1h 3>
   Duration: 1.229s
       Docs: https://weewx.com/docs
    Process: 2788 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 2788 (code=exited, status=4)
        CPU: 1.148s

Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  seri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__: Unable to load dri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__:     ****  Exiting.>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Main process exited, cod>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Failed with result 'exit>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Consumed 1.148s CPU time.
...skipping...
× weewx.service - WeeWX
     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enable>
     Active: failed (Result: exit-code) since Sun 2024-09-29 16:06:19 MSK; 1h 3>
   Duration: 1.229s
       Docs: https://weewx.com/docs
    Process: 2788 ExecStart=weewxd /etc/weewx/weewx.conf (code=exited, status=4)
   Main PID: 2788 (code=exited, status=4)
        CPU: 1.148s

Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  seri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__: Unable to load dri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__:     ****  Exiting.>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Main process exited, cod>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Failed with result 'exit>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Consumed 1.148s CPU time.
~
~
~
~


pi@raspberrypi:~ $ sudo journalctl -u weewx
Sep 29 16:06:18 raspberrypi systemd[1]: Started weewx.service - WeeWX.
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Initializing weewxd ve>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Command line: /usr/sha>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Using Python: 3.11.2 (>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Located at:   /usr/bin>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Platform:     Linux-6.>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Locale:       'en_US.U>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Entry path:   /usr/sha>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: WEEWX_ROOT:   /etc/wee>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Config file:  /etc/wee>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: User module:  /etc/wee>
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Debug:        0
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: User:         weewx
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Group:        weewx
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO __main__: Groups:       weewx
Sep 29 16:06:19 raspberrypi weewxd[2788]: INFO weewx.engine: Loading station ty>
Sep 29 16:06:19 raspberrypi weewxd[2788]: ERROR weewx.engine: Import of driver >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  Trac>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  Perm>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  Duri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  Trac>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****    Fi>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****      >
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL weewx.engine:     ****  seri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__: Unable to load dri>
Sep 29 16:06:19 raspberrypi weewxd[2788]: CRITICAL __main__:     ****  Exiting.>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Main process exited, cod>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Failed with result 'exit>
Sep 29 16:06:19 raspberrypi systemd[1]: weewx.service: Consumed 1.148s CPU time.
lines 27-49/49 (END)

What do you recommend to me?
Do I reinstall weewx?

суббота, 28 сентября 2024 г. в 22:07:20 UTC+3, Warren Gill:

Karen K

unread,
Sep 30, 2024, 7:20:52 AM9/30/24
to weewx-user
You could enter

sudo journalctl -u weewx >weewxlog.txt

and post the resulting file weewxlog.txt here. What you posted is not complete.

vince

unread,
Sep 30, 2024, 12:43:54 PM9/30/24
to weewx-user
Andrei - the other way to get logging is to install and configure the old-style rsyslog daemon.

sudo apt-get install -y rsyslog
sudo cp /etc/weewx/rsyslog.d/weewx.conf /etc/rsyslog.d/weewx.conf
sudo systemctl restart rsyslog
sudo cp /etc/weewx/logrotate.d/weewx /etc/logrotate.d/weewx

Then your logs will be in the directory /var/log/weewx rather than needing to battle systemd for weewx logs.

ANDREI ROZWADOWSKI

unread,
Sep 30, 2024, 1:42:25 PM9/30/24
to weewx-user
The contents of the weewx.log file are listed below:

2024-09-30T20:25:12.163996+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:25:16.767575+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:25:21.369871+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:25:21.370553+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
2024-09-30T20:25:21.370934+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
2024-09-30T20:25:21.375231+03:00 raspberrypi weewxd[904]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
2024-09-30T20:25:21.375858+03:00 raspberrypi weewxd[904]: CRITICAL __main__:     ****  Waiting 60.0 seconds then retrying...
2024-09-30T20:26:21.377540+03:00 raspberrypi weewxd[904]: INFO __main__: retrying...
2024-09-30T20:26:21.378618+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-09-30T20:26:21.965282+03:00 raspberrypi weewxd[904]: INFO weewx.engine: StdConvert target unit is 0x1
2024-09-30T20:26:21.966976+03:00 raspberrypi weewxd[904]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-09-30T20:26:22.002805+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Archive will use data binding wx_binding
2024-09-30T20:26:22.003338+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-09-30T20:26:22.003630+03:00 raspberrypi weewxd[904]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
2024-09-30T20:26:22.003894+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
2024-09-30T20:26:22.004804+03:00 raspberrypi weewxd[904]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-09-30T20:26:22.005363+03:00 raspberrypi weewxd[904]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-09-30T20:26:22.006130+03:00 raspberrypi weewxd[904]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-09-30T20:26:22.006860+03:00 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
2024-09-30T20:26:22.007595+03:00 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
2024-09-30T20:26:22.008334+03:00 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-09-30T20:26:22.009041+03:00 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-09-30T20:26:22.009431+03:00 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
2024-09-30T20:26:22.530813+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is 0.47 seconds (positive is fast)
2024-09-30T20:26:22.531587+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
2024-09-30T20:26:22.531999+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
2024-09-30T20:26:22.532389+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
2024-09-30T20:26:23.567352+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.
2024-09-30T20:26:28.709383+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:26:33.312135+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:26:37.915356+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:26:37.916676+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
2024-09-30T20:26:37.917168+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
2024-09-30T20:26:37.920691+03:00 raspberrypi weewxd[904]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
2024-09-30T20:26:37.921277+03:00 raspberrypi weewxd[904]: CRITICAL __main__:     ****  Waiting 60.0 seconds then retrying...
2024-09-30T20:27:37.923048+03:00 raspberrypi weewxd[904]: INFO __main__: retrying...
2024-09-30T20:27:37.924186+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-09-30T20:27:38.612156+03:00 raspberrypi weewxd[904]: INFO weewx.engine: StdConvert target unit is 0x1
2024-09-30T20:27:38.613963+03:00 raspberrypi weewxd[904]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-09-30T20:27:38.651043+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Archive will use data binding wx_binding
2024-09-30T20:27:38.651706+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-09-30T20:27:38.652115+03:00 raspberrypi weewxd[904]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
2024-09-30T20:27:38.652518+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
2024-09-30T20:27:38.653216+03:00 raspberrypi weewxd[904]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-09-30T20:27:38.654302+03:00 raspberrypi weewxd[904]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-09-30T20:27:38.655256+03:00 raspberrypi weewxd[904]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-09-30T20:27:38.656221+03:00 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
2024-09-30T20:27:38.657166+03:00 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
2024-09-30T20:27:38.658068+03:00 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-09-30T20:27:38.658783+03:00 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-09-30T20:27:38.659401+03:00 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
2024-09-30T20:27:39.200059+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is -0.20 seconds (positive is fast)
2024-09-30T20:27:39.201106+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
2024-09-30T20:27:39.201843+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
2024-09-30T20:27:39.202447+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
2024-09-30T20:27:40.236331+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.
2024-09-30T20:27:45.373651+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:27:49.976461+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:27:54.579682+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:27:54.580729+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
2024-09-30T20:27:54.581286+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
2024-09-30T20:27:54.586081+03:00 raspberrypi weewxd[904]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
2024-09-30T20:27:54.586659+03:00 raspberrypi weewxd[904]: CRITICAL __main__:     ****  Waiting 60.0 seconds then retrying...
2024-09-30T20:28:54.588396+03:00 raspberrypi weewxd[904]: INFO __main__: retrying...
2024-09-30T20:28:54.589609+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-09-30T20:28:55.277524+03:00 raspberrypi weewxd[904]: INFO weewx.engine: StdConvert target unit is 0x1
2024-09-30T20:28:55.279551+03:00 raspberrypi weewxd[904]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-09-30T20:28:55.316024+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Archive will use data binding wx_binding
2024-09-30T20:28:55.316708+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-09-30T20:28:55.317114+03:00 raspberrypi weewxd[904]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
2024-09-30T20:28:55.317565+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
2024-09-30T20:28:55.318081+03:00 raspberrypi weewxd[904]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-09-30T20:28:55.319282+03:00 raspberrypi weewxd[904]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-09-30T20:28:55.319805+03:00 raspberrypi weewxd[904]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-09-30T20:28:55.322308+03:00 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
2024-09-30T20:28:55.323411+03:00 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
2024-09-30T20:28:55.324372+03:00 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-09-30T20:28:55.325081+03:00 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-09-30T20:28:55.325626+03:00 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
2024-09-30T20:28:55.864506+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is 0.14 seconds (positive is fast)
2024-09-30T20:28:55.864983+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
2024-09-30T20:28:55.865307+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
2024-09-30T20:28:55.865581+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
2024-09-30T20:28:56.899865+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.
2024-09-30T20:29:02.041321+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:29:06.684954+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:29:11.289862+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Expected to read 99 chars; got 0 instead
2024-09-30T20:29:11.290628+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
2024-09-30T20:29:11.291190+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
2024-09-30T20:29:11.295428+03:00 raspberrypi weewxd[904]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
2024-09-30T20:29:11.296048+03:00 raspberrypi weewxd[904]: CRITICAL __main__:     ****  Waiting 60.0 seconds then retrying...
2024-09-30T20:30:11.297680+03:00 raspberrypi weewxd[904]: INFO __main__: retrying...
2024-09-30T20:30:11.298723+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-09-30T20:30:11.889533+03:00 raspberrypi weewxd[904]: INFO weewx.engine: StdConvert target unit is 0x1
2024-09-30T20:30:11.891260+03:00 raspberrypi weewxd[904]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-09-30T20:30:11.928827+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Archive will use data binding wx_binding
2024-09-30T20:30:11.929424+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-09-30T20:30:11.929822+03:00 raspberrypi weewxd[904]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
2024-09-30T20:30:11.930185+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
2024-09-30T20:30:11.930948+03:00 raspberrypi weewxd[904]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-09-30T20:30:11.932064+03:00 raspberrypi weewxd[904]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-09-30T20:30:11.933112+03:00 raspberrypi weewxd[904]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-09-30T20:30:11.934105+03:00 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
2024-09-30T20:30:11.935065+03:00 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
2024-09-30T20:30:11.936007+03:00 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-09-30T20:30:11.936718+03:00 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-09-30T20:30:11.937173+03:00 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
2024-09-30T20:30:12.461235+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is 0.54 seconds (positive is fast)
2024-09-30T20:30:12.462040+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
2024-09-30T20:30:12.462458+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
2024-09-30T20:30:12.463138+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
2024-09-30T20:30:13.481252+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.
2024-09-30T20:30:44.177723+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: SerialException on read.
2024-09-30T20:30:44.178785+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage:    ****  device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-09-30T20:30:44.179316+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage:    ****  Is there a competing process running??
2024-09-30T20:30:44.180098+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #1; error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
2024-09-30T20:30:48.979855+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: Unable to wake up Vantage console
2024-09-30T20:30:48.980324+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #2; error: Unable to wake up Vantage console
2024-09-30T20:30:53.782549+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: Unable to wake up Vantage console
2024-09-30T20:30:53.783400+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP batch try #3; error: Unable to wake up Vantage console
2024-09-30T20:30:53.783930+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: LOOP max batch errors (3) exceeded.
2024-09-30T20:30:53.784434+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
2024-09-30T20:30:53.784824+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage: SerialException on write.
2024-09-30T20:30:53.785239+03:00 raspberrypi weewxd[904]: ERROR weewx.drivers.vantage:    ****  write failed: [Errno 5] Input/output error
2024-09-30T20:30:53.788203+03:00 raspberrypi weewxd[904]: CRITICAL __main__: Caught WeeWxIOError: LOOP max batch errors (3) exceeded.
2024-09-30T20:30:53.788727+03:00 raspberrypi weewxd[904]: CRITICAL __main__:     ****  Waiting 60.0 seconds then retrying...
2024-09-30T20:31:53.790495+03:00 raspberrypi weewxd[904]: INFO __main__: retrying...
2024-09-30T20:31:53.791379+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
2024-09-30T20:31:56.138927+03:00 raspberrypi weewxd[904]: INFO weewx.engine: StdConvert target unit is 0x1
2024-09-30T20:31:56.139689+03:00 raspberrypi weewxd[904]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-09-30T20:31:56.176573+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Archive will use data binding wx_binding
2024-09-30T20:31:56.177182+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Record generation will be attempted in 'hardware'
2024-09-30T20:31:56.177571+03:00 raspberrypi weewxd[904]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
2024-09-30T20:31:56.177955+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
2024-09-30T20:31:56.178731+03:00 raspberrypi weewxd[904]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-09-30T20:31:56.179704+03:00 raspberrypi weewxd[904]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-09-30T20:31:56.180662+03:00 raspberrypi weewxd[904]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-09-30T20:31:56.181596+03:00 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
2024-09-30T20:31:56.182542+03:00 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
2024-09-30T20:31:56.183590+03:00 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-09-30T20:31:56.184302+03:00 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-09-30T20:31:56.184920+03:00 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
2024-09-30T20:31:56.706008+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is 0.29 seconds (positive is fast)
2024-09-30T20:31:56.706912+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
2024-09-30T20:31:56.707635+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
2024-09-30T20:31:56.708411+03:00 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
2024-09-30T20:31:57.724846+03:00 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.


понедельник, 30 сентября 2024 г. в 19:43:54 UTC+3, vince:

ANDREI ROZWADOWSKI

unread,
Sep 30, 2024, 1:53:38 PM9/30/24
to weewx-user
Also I checked USB0ports:

pi@raspberrypi:~ $ sudo lsusb
Bus 001 Device 008: ID 10c4:ea61 Silicon Labs CP210x UART Bridge

Bus 001 Device 006: ID 03f0:304a HP, Inc Slim Keyboard
Bus 001 Device 005: ID 03f0:134a HP, Inc Optical Mouse
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device 008 is Vantage Davis

понедельник, 30 сентября 2024 г. в 20:42:25 UTC+3, ANDREI ROZWADOWSKI:

Tom Keffer

unread,
Sep 30, 2024, 2:55:30 PM9/30/24
to weewx...@googlegroups.com
Please follow the directions on how to get a proper log. We need to see the startup sequence. That means restarting weewx.

In one terminal:
sudo journalctl -u weewx -f | tee /var/tmp/mylog

In another terminal:
sudo systemctl restart weewx

Post /var/tmp/mylog

-tk

ANDREI ROZWADOWSKI

unread,
Oct 1, 2024, 2:12:16 PM10/1/24
to weewx-user
The contents of mylog are listed below:

Oct 01 21:02:40 raspberrypi weewxd[904]: INFO weewx.restx: CWOP: Posting not enabled.
Oct 01 21:02:40 raspberrypi weewxd[904]: INFO weewx.restx: WOW: Posting not enabled.
Oct 01 21:02:40 raspberrypi weewxd[904]: INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 01 21:02:40 raspberrypi weewxd[904]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Oct 01 21:02:40 raspberrypi weewxd[904]: INFO __main__: Starting up weewx version 5.1.0
Oct 01 21:02:41 raspberrypi weewxd[904]: INFO weewx.engine: Clock error is 0.58 seconds (positive is fast)
Oct 01 21:02:41 raspberrypi weewxd[904]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 01 21:02:41 raspberrypi weewxd[904]: INFO weewx.manager: Starting backfill of daily summaries
Oct 01 21:02:41 raspberrypi weewxd[904]: INFO weewx.manager: Daily summaries up to date
Oct 01 21:02:42 raspberrypi weewxd[904]: INFO weewx.engine: Starting main packet loop.
Oct 01 21:08:00 raspberrypi systemd[1]: Stopping weewx.service - WeeWX...
Oct 01 21:08:00 raspberrypi weewxd[904]: INFO __main__: Received signal TERM (15).
Oct 01 21:08:00 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
Oct 01 21:08:01 raspberrypi weewxd[904]: INFO __main__: Terminating weewx version 5.1.0
Oct 01 21:08:01 raspberrypi systemd[1]: weewx.service: Deactivated successfully.
Oct 01 21:08:01 raspberrypi systemd[1]: Stopped weewx.service - WeeWX.
Oct 01 21:08:01 raspberrypi systemd[1]: weewx.service: Consumed 20min 35.880s CPU time.
Oct 01 21:08:02 raspberrypi systemd[1]: Started weewx.service - WeeWX.
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Initializing weewxd version 5.1.0
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Using Python: 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0]
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Located at:   /usr/bin/python3
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Platform:     Linux-6.6.47+rpt-rpi-v7-armv7l-with-glibc2.36
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Locale:       'en_US.UTF-8'
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: User module:  /etc/weewx/bin/user
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Debug:        0
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: User:         weewx
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Group:        weewx
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO __main__: Groups:       weewx
Oct 01 21:08:04 raspberrypi weewxd[29415]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: StdConvert target unit is 0x1
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: Archive will use data binding wx_binding
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: StationRegistry: Registration not requested.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: Wunderground: Posting not enabled.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: PWSweather: Posting not enabled.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: CWOP: Posting not enabled.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: WOW: Posting not enabled.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Oct 01 21:08:05 raspberrypi weewxd[29415]: INFO __main__: Starting up weewx version 5.1.0
Oct 01 21:08:06 raspberrypi weewxd[29415]: INFO weewx.engine: Clock error is 0.70 seconds (positive is fast)
Oct 01 21:08:06 raspberrypi weewxd[29415]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 01 21:08:06 raspberrypi weewxd[29415]: INFO weewx.manager: Starting backfill of daily summaries
Oct 01 21:08:06 raspberrypi weewxd[29415]: INFO weewx.manager: Daily summaries up to date
Oct 01 21:08:07 raspberrypi weewxd[29415]: INFO weewx.engine: Starting main packet loop.
понедельник, 30 сентября 2024 г. в 21:55:30 UTC+3, Tom Keffer:

Tom Keffer

unread,
Oct 1, 2024, 5:24:56 PM10/1/24
to weewx...@googlegroups.com
Please try again, but this time remember to set debug=1 first!

ANDREI ROZWADOWSKI

unread,
Oct 2, 2024, 2:41:01 PM10/2/24
to weewx-user
I repeated:

Oct 02 21:30:18 raspberrypi weewxd[904]: DEBUG weewx.manager: Daily summary version is 4.0
Oct 02 21:30:19 raspberrypi weewxd[904]: INFO weewx.imagegenerator: Generated 7 images for report SeasonsReport in 1.11 seconds
Oct 02 21:30:19 raspberrypi weewxd[904]: INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Oct 02 21:30:19 raspberrypi weewxd[904]: DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Oct 02 21:30:19 raspberrypi weewxd[904]: DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Oct 02 21:30:19 raspberrypi weewxd[904]: DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Oct 02 21:30:19 raspberrypi weewxd[904]: DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Oct 02 21:30:19 raspberrypi weewxd[904]: DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Oct 02 21:36:52 raspberrypi weewxd[904]: DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Oct 02 21:36:53 raspberrypi weewxd[904]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 02 21:39:01 raspberrypi systemd[1]: Stopping weewx.service - WeeWX...
Oct 02 21:39:02 raspberrypi weewxd[904]: INFO __main__: Received signal TERM (15).
Oct 02 21:39:02 raspberrypi weewxd[904]: INFO weewx.engine: Main loop exiting. Shutting engine down.
Oct 02 21:39:02 raspberrypi weewxd[904]: INFO weewx.engine: Shutting down StdReport thread
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG weewx.engine: StdReport thread has been terminated
Oct 02 21:39:02 raspberrypi weewxd[904]: INFO __main__: Terminating weewx version 5.1.0
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****  Traceback (most recent call last):
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewxd.py", line 127, in main
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      engine.run()
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewx/engine.py", line 204, in run
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      for packet in self.console.genLoopPackets():
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 557, in genLoopPackets
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      for _loop_packet in self.genDavisLoopPackets(self.loop_batch):
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 586, in genDavisLoopPackets
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      loop_packet = self._get_packet()
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****                    ^^^^^^^^^^^^^^^^^^
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 605, in _get_packet
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      _buffer = self.port.read(99)
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****                ^^^^^^^^^^^^^^^^^^
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewx/drivers/vantage.py", line 291, in read
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      _buffer = self.serial_port.read(chars)
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 565, in read
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****    File "/usr/share/weewx/weewxd.py", line 221, in sigTERMhandler
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****      raise Terminate
Oct 02 21:39:02 raspberrypi weewxd[904]: DEBUG __main__:     ****  Terminate
Oct 02 21:39:02 raspberrypi systemd[1]: weewx.service: Deactivated successfully.
Oct 02 21:39:02 raspberrypi systemd[1]: Stopped weewx.service - WeeWX.
Oct 02 21:39:02 raspberrypi systemd[1]: weewx.service: Consumed 20.194s CPU time.
Oct 02 21:39:02 raspberrypi systemd[1]: Started weewx.service - WeeWX.
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Initializing weewxd version 5.1.0
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Using Python: 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0]
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Located at:   /usr/bin/python3
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Platform:     Linux-6.6.51+rpt-rpi-v7-armv7l-with-glibc2.36
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Locale:       'en_US.UTF-8'
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: WEEWX_ROOT:   /etc/weewx
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Config file:  /etc/weewx/weewx.conf
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: User module:  /etc/weewx/bin/user
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Debug:        1
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: User:         weewx
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Group:        weewx
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO __main__: Groups:       weewx
Oct 02 21:39:03 raspberrypi weewxd[2891]: DEBUG __main__: loop_on_init: False
Oct 02 21:39:03 raspberrypi weewxd[2891]: DEBUG __main__: Initializing engine
Oct 02 21:39:03 raspberrypi weewxd[2891]: INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Oct 02 21:39:03 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Driver version is 3.6.2
Oct 02 21:39:03 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Option loop_request=1
Oct 02 21:39:03 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Hardware type is 16
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: ISS ID is 1
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: StdConvert target unit is 0x1
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdQC
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.manager: Daily summary version is 4.0
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: Archive will use data binding wx_binding
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: Record generation will be attempted in 'hardware'
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (900).
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: Using archive interval of 900 seconds (specified by hardware)
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: StationRegistry: Registration not requested.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: Wunderground: Posting not enabled.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: PWSweather: Posting not enabled.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: CWOP: Posting not enabled.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: WOW: Posting not enabled.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.restx: AWEKAS: Posting not enabled.
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Loading service weewx.engine.StdReport
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
Oct 02 21:39:04 raspberrypi weewxd[2891]: DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Oct 02 21:39:04 raspberrypi weewxd[2891]: INFO __main__: Starting up weewx version 5.1.0
Oct 02 21:39:05 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 02 21:39:05 raspberrypi weewxd[2891]: INFO weewx.engine: Clock error is -0.37 seconds (positive is fast)
Oct 02 21:39:05 raspberrypi weewxd[2891]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct 02 21:39:05 raspberrypi weewxd[2891]: INFO weewx.manager: Starting backfill of daily summaries
Oct 02 21:39:05 raspberrypi weewxd[2891]: INFO weewx.manager: Daily summaries up to date
Oct 02 21:39:05 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Getting archive packets since 2024-09-25 18:15:00 MSK (1727277300)
Oct 02 21:39:05 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 02 21:39:06 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Retrieving 137 page(s); starting index= 2
Oct 02 21:39:06 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2024-09-24 15:52:00 MSK (1727182320) less than final timestamp 2024-09-25 18:15:00 MSK (1727277300)
Oct 02 21:39:06 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Catch up complete.
Oct 02 21:39:06 raspberrypi weewxd[2891]: INFO weewx.engine: Starting main packet loop.
Oct 02 21:39:07 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Oct 02 21:39:07 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Oct 02 21:39:07 raspberrypi weewxd[2891]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
среда, 2 октября 2024 г. в 00:24:56 UTC+3, Tom Keffer:

Tom Keffer

unread,
Oct 2, 2024, 2:56:22 PM10/2/24
to weewx...@googlegroups.com
The memory in your logger is corrupted. See the guide Corrupt station memory for how to fix.

Note that this is a different problem than the "Expected to read 99 chars; got 0 instead" problem you had earlier. Fix it first, then see how things go.

-tk

ANDREI ROZWADOWSKI

unread,
Oct 3, 2024, 3:10:10 AM10/3/24
to weewx-user
Tom,
Thanks a lot for your advice.
I will definitely check the logger and report the results

среда, 2 октября 2024 г. в 21:56:22 UTC+3, Tom Keffer:

ANDREI ROZWADOWSKI

unread,
Oct 7, 2024, 2:31:54 PM10/7/24
to weewx-user
Good evening,

I  used the utility weekly device to dump data in the logger, then to clear the memory (see: https://github.com/weewx/weewx/wiki/Troubleshooting-the-Davis-Vantage-station#corrupt-station-memory)
 weectl device --dump
 weectl device --clear-memory

After that, data recording resumed
Thank you, Tom, for your advice
четверг, 3 октября 2024 г. в 10:10:10 UTC+3, ANDREI ROZWADOWSKI:
Reply all
Reply to author
Forward
0 new messages