Unable to find WeeWX log messages

133 views
Skip to first unread message

Ben W.

unread,
Mar 26, 2024, 8:43:03 AM3/26/24
to weewx-user
Hello!
New/noob user and slowly getting everything together. I have weather sensors feeding into an Ecowitt GW1100 hub. Over the past day, I worked on getting WeeWx installed on my RPi 5. I feel I'm almost there, but not quite.

When I run the "weewxd" command, I get results so that tells me the connection is there. It polls/refreshes every 20 seconds. But that is it. That's as far as I can get.

I want to view the data and build a report (I believe you call them skins(?)), but cannot seem to find any of the folders/directories where the data should be.

To find the logs, I run, "sudo grep weewxd /var/log/syslog" or "sudo grep weewxd /var/log/messages" but then a "no such file or directory" is returned.

Any pointers or directing me to the resource that I missed/overlooked would be great!

What I'm using:
Ambient Weather WS-5000 weather station
Ecowitt GW1100 hub
RPi 5 8 GB Headless (no monitor/ command line only)
2TB HDD drive (that I want to use to store the WeeWx data - to do later)

Thanks!

Tom Keffer

unread,
Mar 26, 2024, 9:55:52 AM3/26/24
to weewx...@googlegroups.com
Take a look at the wiki guide View logs

You didn't say what kind of operating system you are using, but odds are your system is using journald, so pay particular attention to that section.

--
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/2453539d-caaf-4454-b62c-7eade552e443n%40googlegroups.com.

Ben W.

unread,
Mar 26, 2024, 10:37:48 AM3/26/24
to weewx-user
Thank you, Tom! 

That was the right section and I am seeing some critical errors now that I should investigate:

sudo journalctl -u weewx
Mar 25 17:03:42 rpihome systemd[1]: Started weewx.service - WeeWX.
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Initializing weewxd version 5.0.2
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Using Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Located at /usr/bin/python3
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Platform Linux-6.6.20+rpt-rpi-2712-aarch64-with-glibc2.36
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Locale: 'en_GB.UTF-8'
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Entry path: /usr/share/weewx/weewxd.py
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: WEEWX_ROOT: /etc/weewx
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Configuration file: /etc/weewx/weewx.conf
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: User module: /etc/weewx/bin/user
Mar 25 17:03:42 rpihome weewxd[3627]: INFO __main__: Debug: 0
Mar 25 17:03:42 rpihome weewxd[3627]: INFO weewx.engine: Loading station type FineOffsetUSB (weewx.drivers.fousb)
Mar 25 17:03:42 rpihome weewxd[3627]: INFO weewx.drivers.fousb: driver version is 1.3
Mar 25 17:03:42 rpihome weewxd[3627]: INFO weewx.drivers.fousb: polling mode is PERIODIC
Mar 25 17:03:42 rpihome weewxd[3627]: INFO weewx.drivers.fousb: polling interval is 60
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.drivers.fousb: Cannot find USB device with Vendor=0x1941 ProdID=0x8021 Device=None
Mar 25 17:03:42 rpihome weewxd[3627]: ERROR weewx.engine: Import of driver failed: Unable to find USB device (<class 'weewx.WeeWxIOError'>)
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 115, in setupStation
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/fousb.py", line 232, in loader
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****      return FineOffsetUSB(**config_dict[DRIVER_NAME])
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/fousb.py", line 967, in __init__
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****      self.openPort()
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/drivers/fousb.py", line 1022, in openPort
Mar 25 17:03:42 rpihome weewxd[3627]: CRITICAL weewx.engine:     ****      raise weewx.WeeWxIOError("Unable to find USB device")
lines 1-29


The only USB device is the HDD external drive connected to the RPi. The weather station, Ecowitt GW1100 and the RPi are on the same home network.
Thanks
Ben
Reply all
Reply to author
Forward
0 new messages