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 <vinceska...@gmail.com> 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 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.
>
> On Thursday, September 26, 2024 at 9:51:36 PM UTC-7 ANDREI ROZWADOWSKI
> wrote:
>
>> 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 <ldozi...@gmail.com> 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.at' via weewx-user <
>>>> weewx...@googlegroups.com> wrote:
>>>>
>>>>> 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:
>>>>>>
>>>>>> 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:
>>>>>>
>>>>>>> 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:
>>>>>>>
>>>>>>>> I don't know what you mean by "registration". Do you mean station
>>>>>>>> registration so it shows on this map
>>>>>>>> <https://www.weewx.com/stations.html>? 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
>>>>>>>> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user#how-to-get-a-good-useful-log>*
>>>>>>>> .
>>>>>>>>
>>>>>>>> On Wed, Sep 25, 2024 at 11:12 AM ANDREY <andrei.ro...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> 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?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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
>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/77b03b34-495e-43aa-9f12-f9cfada246cdn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>> --
>>>>> 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/dd7e77cf-2234-409d-92aa-53fae15de8a4n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/dd7e77cf-2234-409d-92aa-53fae15de8a4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
> 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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/d90ffe5b-057e-4614-8687-ae199a9c7f17n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/d90ffe5b-057e-4614-8687-ae199a9c7f17n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAK07PGoruCcxeQ0Dvf_zng%2BzcjoThupdrFoqFfHy7RwpUSv4ww%40mail.gmail.com.

Reply via email to