regardless of the value i add for debug, even debug=1, i get no more info 
in the logs than what i've shared.  it's odd.  i've found others that have 
reported the same.

On Sunday, November 13, 2022 at 7:57:20 PM UTC-8 vince wrote:

> Lets start by setting debug=1 and restarting weewx, then giving us the 
> debug logs please.
>
> Your logs should look a lot like the following with lots of DEBUG 
> messages....
>
>
> Give us everything starting with:
> Nov 13 19:51:31 pi4 systemd[1]: Started weewx weather system.
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Initializing weewx version 
> 4.9.1
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Using Python 3.9.2 
> (default, Mar 12 2021, 04:06:34) #012[GCC 10.2.1 20210110]
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Located at /usr/bin/python3
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Platform 
> Linux-5.15.56-v7l+-armv7l-with-glibc2.31
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Locale is 'en_US.UTF-8'
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Using configuration file 
> /home/weewx/weewx.conf
> Nov 13 19:51:31 pi4 weewx[30625] INFO __main__: Debug is 1
> Nov 13 19:51:31 pi4 weewx[30625] DEBUG __main__: Initializing engine
> Nov 13 19:51:31 pi4 weewx[30625] INFO weewx.engine: Loading station type 
> Vantage (weewx.drivers.vantage)
> Nov 13 19:51:31 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Driver 
> version is 3.5.2
> Nov 13 19:51:31 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Option 
> loop_request=1
> Nov 13 19:51:31 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Opened up 
> serial port /dev/ttyUSB0; baud 19200; timeout 5.00
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Successfully 
> woke up Vantage console
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Hardware 
> type is 16
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.drivers.vantage: ISS ID is 1
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Hardware 
> name: Vantage Pro2
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.engine: Loading service 
> weewx.engine.StdTimeSynch
> Nov 13 19:51:32 pi4 weewx[30625] DEBUG weewx.engine: Finished loading 
> service weewx.engine.StdTimeSynch
>
> and down til at least the part where it seems to hang similar to:
> Nov 13 19:51:34 pi4 weewx[30625] INFO weewx.manager: Starting backfill of 
> daily summaries
> Nov 13 19:51:34 pi4 weewx[30625] INFO weewx.manager: Daily summaries up to 
> date
> Nov 13 19:51:34 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Getting 
> archive packets since 2022-11-13 19:50:00 PST (1668397800)
> Nov 13 19:51:34 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Successfully 
> woke up Vantage console
> Nov 13 19:51:34 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Retrieving 0 
> page(s); starting index= 0
> Nov 13 19:51:34 pi4 weewx[30625] INFO weewx.engine: Starting main packet 
> loop.
> Nov 13 19:51:35 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Successfully 
> woke up Vantage console
> Nov 13 19:51:35 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Requesting 
> 200 LOOP packets.
> Nov 13 19:51:35 pi4 weewx[30625] DEBUG weewx.drivers.vantage: Successfully 
> woke up Vantage console
>
> On Sunday, November 13, 2022 at 6:22:57 PM UTC-8 slaterson wrote:
>
>> i have weewx running on linux, it's been going fine for a while (recently 
>> switched from wview to weewx 4.8.0).  i configured weewx  to write to mysql 
>> (localhost) which has been working just fine as well... up until yesterday.
>>
>> i needed to unplug the server where weewx is running, it was powered off 
>> for about 30 minutes.  the weather station (a davis vantage pro 2) was also 
>> powered off during this time.  upon restarting the server and power 
>> station, weewx reports no errors in the logs, however isn't archiving any 
>> data from the vantage.  i tried upgrading to 4.9.1, same experience - no 
>> data being updated, no data being written to the database.  i then tried 
>> pointing it to sqlite, and same, no data written.
>>
>> i then did a fresh install of weewx 4.9.1 to a new directory, configured, 
>> it and ran with the defaults.  it sees the weather station, reads data from 
>> it's logs, however only up to the point where the server and power station 
>> were powered off.  all data since is not read, as if it's not there.
>>
>> the weather station console shows the current conditions, and the output 
>> of weewxd when run from the command line shows the loop process getting 
>> updated data with every read - the output changes as the temperature 
>> changes, etc...
>>
>> here is the syslog entry when i startup weewx (this is it, i have tried 
>> various debug settings and nothing provides more info):
>> Nov 13 17:46:31 bonobo INFO __main__: Initializing weewx version 4.9.1
>> Nov 13 17:46:31 bonobo INFO __main__: Using Python 3.10.8 (main, Nov  6 
>> 2022, 16:41:24) [GCC 11.3.0]
>> Nov 13 17:46:31 bonobo INFO __main__: Located at 
>> /usr/lib/python-exec/python3.10/python
>> Nov 13 17:46:31 bonobo INFO __main__: Platform 
>> Linux-5.15.75-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5675_@_3.07GHz-with-glibc2.35
>> Nov 13 17:46:31 bonobo INFO __main__: Locale is 
>> 'LC_CTYPE=en_US.UTF-8;LC_NUMERIC=en_US.UTF-8;LC_TIME=en_US.UTF-8;LC_COLLATE=C;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8'
>> Nov 13 17:46:31 bonobo INFO __main__: Using configuration file 
>> /home/weewx/weewx.conf
>> Nov 13 17:46:31 bonobo INFO __main__: Debug is 9
>> Nov 13 17:46:31 bonobo INFO __main__: PID file is /var/run/weewx.pid
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Loading station type Vantage 
>> (weewx.drivers.vantage)
>> Nov 13 17:46:31 bonobo INFO weewx.engine: StdConvert target unit is 0x1
>> Nov 13 17:46:31 bonobo INFO weewx.wxservices: StdWXCalculate will use 
>> data binding wx_binding
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Archive will use data binding 
>> wx_binding
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Record generation will be 
>> attempted in 'hardware'
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Using archive interval of 300 
>> seconds (specified by hardware)
>> Nov 13 17:46:31 bonobo INFO weewx.restx: StationRegistry: Registration 
>> not requested.
>> Nov 13 17:46:31 bonobo INFO weewx.restx: Wunderground: Posting not 
>> enabled.
>> Nov 13 17:46:31 bonobo INFO weewx.restx: PWSweather: Posting not enabled.
>> Nov 13 17:46:31 bonobo INFO weewx.restx: CWOP: Posting not enabled.
>> Nov 13 17:46:31 bonobo INFO weewx.restx: WOW: Posting not enabled.
>> Nov 13 17:46:31 bonobo INFO weewx.restx: AWEKAS: Posting not enabled.
>> Nov 13 17:46:31 bonobo INFO weewx.engine: 'pyephem' detected, extended 
>> almanac data is available
>> Nov 13 17:46:31 bonobo INFO __main__: Starting up weewx version 4.9.1
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Clock error is -0.65 seconds 
>> (positive is fast)
>> Nov 13 17:46:31 bonobo INFO weewx.engine: Using binding 'wx_binding' to 
>> database 'weewx.sdb'
>> Nov 13 17:46:31 bonobo INFO weewx.manager: Starting backfill of daily 
>> summaries
>> Nov 13 17:46:31 bonobo INFO weewx.manager: Daily summaries up to date
>> Nov 13 17:46:32 bonobo INFO weewx.engine: Starting main packet loop.
>>
>> here is example output of weewxd when run from the command line (outTemp 
>> changes as the outside temp changes, as do other values):
>> LOOP:   2022-11-13 17:45:37 PST (1668390337) 'altimeter': 'None', 
>> 'appTemp': '38.56302017901965', 'barometer': '30.314', 'cloudbase': 
>> '1242.8075512152234', 'consBatteryVoltage': '4.82', 'dateTime': 
>> '1668390337', 'dayET': '0.009', 'dayRain': '0.0', 'dewpoint': 
>> '36.631246774653015', 'ET': 'None', 'extraAlarm1': '0', 'extraAlarm2': '0', 
>> 'extraAlarm3': '0', 'extraAlarm4': '0', 'extraAlarm5': '0', 'extraAlarm6': 
>> '0', 'extraAlarm7': '0', 'extraAlarm8': '0', 'extraHumid1': '51.0', 
>> 'extraTemp1': '68.0', 'forecastIcon': '6', 'forecastRule': '9', 
>> 'heatindex': '39.141000000000005', 'humidex': '41.4', 'inDewpoint': 
>> '47.9178951288807', 'inHumidity': '37.0', 'insideAlarm': '0', 'inTemp': 
>> '76.1', 'maxSolarRad': '0.0', 'monthET': '0.14', 'monthRain': '0.66', 
>> 'outHumidity': '83.0', 'outsideAlarm1': '0', 'outsideAlarm2': '0', 
>> 'outTemp': '41.4', 'pressure': 'None', 'radiation': '0.0', 'rain': '0.0', 
>> 'rainAlarm': '0', 'rainRate': '0.0', 'soilLeafAlarm1': '0', 
>> 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0', 
>> 'stormRain': '0.0', 'sunrise': '1668355620', 'sunset': '1668390180', 
>> 'txBatteryStatus': '0', 'usUnits': '1', 'windchill': '41.4', 'windDir': 
>> 'None', 'windGust': '0.0', 'windGustDir': 'None', 'windrun': 'None', 
>> 'windSpeed': '0.0', 'windSpeed10': '0.0', 'yearET': '16.43', 'yearRain': 
>> '2.09'
>>
>> i'm at a loss as to what is happening.  it was working fine, rebooted, 
>> and it doesn't collect data any more.  i have rebooted since moving to 
>> weewx and things were fine.  main difference this time is the weather 
>> station was powered down.
>>
>

-- 
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/5db3549f-38c8-4df7-bd0f-e558c64e1b70n%40googlegroups.com.

Reply via email to