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 at 10:53 AM ANDREI ROZWADOWSKI <
andrei.rozwadow...@gmail.com> wrote:

> 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:
>
>> 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 - 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.
>>>
>>> On Monday, September 30, 2024 at 4:20:52 AM UTC-7 Karen K wrote:
>>>
>>>> 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 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:
>>>>>
>>>>>> 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
>>>>>>
>>>>>> On Sat, Sep 28, 2024 at 1:02 AM ANDREI ROZWADOWSKI <
>>>>>> andrei.ro...@gmail.com> wrote:
>>>>>>
>>>>>>> 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:
>>>>>>>
>>>>>>>> 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 <vince...@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+...@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+...@googlegroups.com.
>>>>>>>
>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/weewx-user/ac42315c-18a1-410c-9da2-64442d9031c0n%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/ac42315c-18a1-410c-9da2-64442d9031c0n%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/bff76452-18b9-4a03-b0cb-70e1f33a5b92n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/bff76452-18b9-4a03-b0cb-70e1f33a5b92n%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/CAPq0zEB4HFHo%2BpM1iDG-qbpFKjgiwfYuAQxfkMJt%2BQHfnH%3Dspw%40mail.gmail.com.

Reply via email to