Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread Tom Keffer
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 On Mon, Sep 30, 2024 a

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
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. RTL818

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
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: L

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread vince
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 l

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread Karen K
You could enter sudo journalctl -u weewx >weewxlog.txt and post the resulting file weewxlog.txt here. What you posted is not complete. ANDREI ROZWADOWSKI schrieb am Montag, 30. September 2024 um 13:09:52 UTC+2: > I reinstalled RaspOS. Now it's Bookworm ( 32-bit ) . > After that I've installe

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-30 Thread ANDREI ROZWADOWSKI
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 f

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-28 Thread Warren Gill
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 worke

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-28 Thread vince
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

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-28 Thread ANDREI ROZWADOWSKI
Excuse me Who is "Ho Lee Fooks"? суббота, 28 сентября 2024 г. в 17:19:38 UTC+3, Tom Keffer: > I'm getting confused here. Is "Ho Lee Fooks" (seriously?) and Andrei the > same person? > > On Fri, Sep 27, 2024 at 11:02 PM ANDREI ROZWADOWSKI < > andrei.ro...@gmail.com> wrote: > >> I checked RaspPi

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-28 Thread Tom Keffer
I'm getting confused here. Is "Ho Lee Fooks" (seriously?) and Andrei the same person? On Fri, Sep 27, 2024 at 11:02 PM ANDREI ROZWADOWSKI < andrei.rozwadow...@gmail.com> wrote: > I checked RaspPi USB ports: > > pi@raspberrypi:~ $ sudo lsusb > Bus 001 Device 007: ID 10c4:ea61 Silicon Labs CP210x U

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-27 Thread ANDREI ROZWADOWSKI
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. RTL8

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-27 Thread Ho Lee Fooks
Currently using Pi OS lite 64-bit Debian Bookworm port with a pip install after a SD card failure. On Fri, Sep 27, 2024, 02:27 vince wrote: > 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 th

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread vince
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.

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread p q
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. On Thu, Sep 26,

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread ANDREI ROZWADOWSKI
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: > journalctl -n 100 > Shows the last 100 lines. > > On Thu, Sep 26, 2024, 18:31 Ho Lee Fooks wrote: > >> Reinstalling weewx, I won

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread Ho Lee Fooks
journalctl -n 100 Shows the last 100 lines. On Thu, Sep 26, 2024, 18:31 Ho Lee Fooks wrote: > 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.a

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread Ho Lee Fooks
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-user@googlegroups.com> wrote: > Maybe your log is elsewhere: https://weewx.co

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread 'michael.k...@gmx.at' via weewx-user
Maybe your log is elsewhere: https://weewx.com/docs/5.1/usersguide/where/ ANDREI ROZWADOWSKI schrieb am Donnerstag, 26. September 2024 um 16:33:55 UTC+2: > 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

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread Tom Keffer
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. On Thu, Sep 26, 2024 at 7:29 AM ANDREI ROZWADOWSKI < andrei.rozwadow...@gmail.com> wrote: > Good evening! > Below is the

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread ANDREI ROZWADOWSKI
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

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-26 Thread ANDREI ROZWADOWSKI
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 -

Re: [weewx-user] Hang ups on Raspberry Pi

2024-09-25 Thread Tom Keffer
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

[weewx-user] Hang ups on Raspberry Pi

2024-09-25 Thread ANDREY
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 (Raspb