Thanks. Started it from command line (debug=0) and after some time got several lines like (more LOOPs, occasional RECs, the value for delay seems to vary between 0 and 5):
LOOP: 2022-11-16 17:06:09 EET (1668611169) 'dateTime': '1668611169', 'delay': '0', 'inHumidity': '54.0', 'inTemp': '72.14', 'outHumidity': '32.0', 'outTemp': '32.72', 'outTempBatteryStatus': '0', 'pressure': '31.0360168625', 'ptr': '13984', 'radiation': 'None', 'rain': '0.0', 'rainTotal': '9.81', 'rxCheckPercent': '100', 'status': '0', 'usUnits': '1', 'UV': 'None', 'windDir': '45.0', 'windGust': '6.039743000236122', 'windSpeed': '4.473883703878609' REC: 2022-11-16 17:05:04 EET (1668611104) 'dateTime': '1668611104', 'delay': '5', 'inHumidity': '54.0', 'inTemp': '72.14', 'interval': '5', 'outHumidity': '32.0', 'outTemp': '32.72', 'outTempBatteryStatus': '0', 'pressure': '31.03306386375', 'ptr': '13968', 'radiation': 'None', 'rain': '0.0', 'rainTotal': '9.81', 'rxCheckPercent': '100', 'status': '0', 'usUnits': '1', 'UV': 'None', 'windDir': '45.0', 'windGust': '5.368660444654331', 'windSpeed': '3.802801148296818' LOOP: 2022-11-16 17:06:17 EET (1668611177) 'dateTime': '1668611177', 'delay': '1', 'inHumidity': '54.0', 'inTemp': '72.14', 'outHumidity': '32.0', 'outTemp': '32.72', 'outTempBatteryStatus': '0', 'pressure': '31.0360168625', 'ptr': '13984', 'radiation': 'None', 'rain': '0.0', 'rainTotal': '9.81', 'rxCheckPercent': '100', 'status': '0', 'usUnits': '1', 'UV': 'None', 'windDir': '45.0', 'windGust': '7.605602296593636', 'windSpeed': '5.368660444654331' And then lines like: /usr/lib/python3/dist-packages/Cheetah/Compiler.py:1686: UserWarning: You supplied an empty string for the source! warnings.warn("You supplied an empty string for the source!", ) after which more REC and LOOP data. Interestingly the values for barometer is shown ('pressure': '31.0360168625')... Then I restarted it with setting DEBUG=1, but the output on the screen was the same. Log entries as before. //rkv keskiviikko 16. marraskuuta 2022 klo 15.21.57 UTC+2 tke...@gmail.com kirjoitti: > It is odd that the record was recorded in the main archive table at > 22:12:03, but it took another 3-1/2 minutes to record it in the daily > summary (at 22:15:45). That would suggest something going on with the > database connection. > > To see if there are data values for barometer (and others), run weewxd > directly > from the command line > <http://www.weewx.com/docs/usersguide.htm#Running_directly>. It will > print all LOOP packets and archive records. Let us know what it says. > > On Wed, Nov 16, 2022 at 1:04 AM ris...@gmail.com <ris...@gmail.com> wrote: > >> Had a perfectly working weewx-setup on version 3.8.0 but due to other >> issues not disclosing now I had to move the station to another RPi device >> and decided to upgrade weewx to 4.9.1. Finally got it working but now some >> of the sensor data – e.g barometer pressure, rain fall – is not showing >> any more. >> >> More details: >> - station FineOffset WH1080 >> - platform Raspberry Pi 0 W (was RPi 2 B which was taken to another use) >> - weewx version 4.9.1 (was 3.8.0 and worked fine) >> - upgrade = new installation of 4.9.1 using setup.py onto /home/weewx + >> weewx.conf and skins copied from the old installation >> - data stored on a mysql DB on another server (as before) >> - rsync upload to local web server plus to >> http://www.myrskyt.org/rouhunsaa/ >> - debug log shows no errors during report creation (see below) >> - missing values for barometer and rain, dew point, possibly others, the >> report(s) shows N/A for them, in & outTemp, total rain, wind are shown as >> before >> - e.g. the barometer value IS shown on the FineOffset display so the >> device is measuring it >> >> I'm a bit lost what to do next? How to see if there is actual data for >> e.g. barometer values coming from the station etc? I'm quite confident >> that the reason must be very simple, I just can't figure it out... Or >> should I downgrade the sw back to 3.8.0? Any ideas? >> >> I've also noticed that the RPi 0 is a bit underpowered for the job (the >> log states 'another report thread running') but don't think that is the >> reason behind these missing values, though. >> >> Log excerpt: >> Nov 15 22:11:06 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: get 631 >> records since 2022-11-15 20:08:30 >> Nov 15 22:11:06 weewxberry weewx[4685] INFO weewx.drivers.fousb: >> synchronising to the weather station (quality=1) >> Nov 15 22:11:45 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: status >> {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0) >> Nov 15 22:11:46 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: avoid >> 5.853596448898315 >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: new data >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: packet >> timestamp is 20:11:49 >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: log >> timestamp is 20:11:01 >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: >> synchronised to 2022-11-15 20:11:01 for ptr 0x2860 >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: found 1 >> archive records >> Nov 15 22:11:52 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: >> returning archive record 1668543061 >> Nov 15 22:12:03 weewxberry weewx[4685] INFO weewx.manager: Added record >> 2022-11-15 22:11:01 EET (1668543061) to database 'weewxdb' >> Nov 15 22:15:45 weewxberry weewx[4685] INFO weewx.manager: Added record >> 2022-11-15 22:11:01 EET (1668543061) to daily summary in 'weewxdb' >> Nov 15 22:15:45 weewxberry weewx[4685] DEBUG weewx.reportengine: Running >> reports for latest time in the database. >> Nov 15 22:15:45 weewxberry weewx[4685] DEBUG weewx.reportengine: Running >> report 'StandardReport' >> Nov 15 22:15:46 weewxberry weewx[4685] DEBUG weewx.reportengine: Found >> configuration file /home/weewx/skins/Rouhunsaa/skin.conf for report >> 'StandardReport' >> Nov 15 22:15:46 weewxberry weewx[4685] DEBUG weewx.cheetahgenerator: >> Using search list ['weewx.cheetahgenerator.Almanac', >> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', >> 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', >> 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', >> 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', >> 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo'] >> Nov 15 22:15:46 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: avoid >> 5.997039079666138 >> Nov 15 22:15:46 weewxberry weewx[4685] DEBUG weewx.manager: Daily summary >> version is 1.0 >> Nov 15 22:15:53 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: get 631 >> records since 2022-11-15 20:13:31 >> Nov 15 22:15:53 weewxberry weewx[4685] INFO weewx.drivers.fousb: >> synchronising to the weather station (quality=1) >> Nov 15 22:15:57 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: status >> {'rain_overflow': 0, 'lost_connection': 0, 'unknown': 0} (0) >> Nov 15 22:15:57 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: avoid >> 5.782605409622192 >> Nov 15 22:16:03 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: new >> ptr: 002880 (002870) >> Nov 15 22:16:04 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: packet >> timestamp is 20:16:00 >> Nov 15 22:16:04 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: >> synchronised to 2022-11-15 20:16:00 for ptr 0x2870 >> Nov 15 22:16:04 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: found 1 >> archive records >> Nov 15 22:16:04 weewxberry weewx[4685] DEBUG weewx.drivers.fousb: >> returning archive record 1668543360 >> Nov 15 22:16:04 weewxberry weewx[4685] INFO weewx.manager: Added record >> 2022-11-15 22:16:00 EET (1668543360) to database 'weewxdb' >> Nov 15 22:16:04 weewxberry weewx[4685] INFO weewx.manager: Added record >> 2022-11-15 22:16:00 EET (1668543360) to daily summary in 'weewxdb' >> Nov 15 22:16:04 weewxberry weewx[4685] INFO weewx.engine: Launch of >> report thread aborted: existing report thread still running >> Nov 15 22:16:05 weewxberry weewx[4685] INFO weewx.cheetahgenerator: >> Generated 27 files for report StandardReport in 19.68 seconds >> Nov 15 22:16:05 weewxberry weewx[4685] DEBUG weewx.manager: Daily summary >> version is 1.0 >> Nov 15 22:16:08 weewxberry weewx[4685] INFO weewx.imagegenerator: >> Generated 12 images for report StandardReport in 2.98 seconds >> Nov 15 22:16:08 weewxberry weewx[4685] INFO weewx.reportengine: Copied 0 >> files to /tmp/weewx >> Nov 15 22:16:08 weewxberry weewx[4685] DEBUG weewx.reportengine: Report >> 'FTP' not enabled. Skipping. >> Nov 15 22:16:08 weewxberry weewx[4685] DEBUG weewx.reportengine: Running >> report 'RSYNC' >> Nov 15 22:16:08 weewxberry weewx[4685] DEBUG weewx.reportengine: Found >> configuration file /home/weewx/skins/Rsync/skin.conf for report 'RSYNC' >> Nov 15 22:16:08 weewxberry weewx[4685] DEBUG weeutil.rsyncupload: >> rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh', >> '/tmp/weewx/', >> 'xxx...@ping.fi:/home/hassula/webs/myrskyt/public_html/rouhunsaaw']] >> Nov 15 22:16:31 weewxberry weewx[4685] INFO weeutil.rsyncupload: rsync'd >> 39 files (116,836 bytes) in 22.81 seconds >> Nov 15 22:16:31 weewxberry weewx[4685] DEBUG weewx.reportengine: Running >> report 'RSYNC2' >> Nov 15 22:16:31 weewxberry weewx[4685] DEBUG weewx.reportengine: Found >> configuration file /home/weewx/skins/Rsync/skin.conf for report 'RSYNC2' >> Nov 15 22:16:31 weewxberry weewx[4685] DEBUG weeutil.rsyncupload: >> rsyncupload: cmd: [['rsync', '--archive', '--stats', '-e', 'ssh', >> '/tmp/weewx/', 'xxxxxxx@nassula4:/var/www/html/weewx']] >> Nov 15 22:16:32 weewxberry weewx[4685] INFO weeutil.rsyncupload: rsync'd >> 39 files (116,836 bytes) in 0.68 seconds >> >> weewx.conf: >> debug = 0 >> WEEWX_ROOT = /home/weewx >> version = 4.9.1 >> [Station] >> location = "Rouhu, Taivassalo" >> latitude = 60.548 >> longitude = 21.668 >> altitude = 9, meter >> station_type = FineOffsetUSB >> station_url = http://www.myrskyt.org/ >> rain_year_start = 1 >> week_start = 0 >> [FineOffsetUSB] >> model = WH1080 >> polling_interval = 60 >> driver = weewx.drivers.fousb >> [StdRESTful] >> [[StationRegistry]] >> register_this_station = False >> [[AWEKAS]] >> [[CWOP]] >> [[PWSweather]] >> [[WOW]] >> [[Wunderground]] >> rapidfire = False >> [StdReport] >> SKIN_ROOT = skins >> HTML_ROOT = /tmp/weewx >> data_binding = wx_binding >> [[StandardReport]] >> skin = Rouhunsaa >> [[[Units]]] >> [[[[Groups]]]] >> group_altitude = meter >> group_speed2 = meter_per_second2 >> group_pressure = mbar >> group_rain = mm >> group_rainrate = mm_per_hour >> group_temperature = degree_C >> group_degree_day = degree_C_day >> group_speed = meter_per_second >> [[FTP]] >> skin = Ftp >> enable = false >> secure_ftp = False >> port = 21 >> passive = 1 >> [[RSYNC]] >> skin = Rsync >> server = ping.fi >> path = xxxxxx >> user = xxxxxx >> delete = 0 >> [[RSYNC2]] >> skin = Rsync >> server = nassula4 >> path = xxxxxx >> user = xxxxxx >> [StdConvert] >> [StdCalibrate] >> [[Corrections]] >> [StdQC] >> [[MinMax]] >> barometer = 26, 32.5, inHg >> outTemp = -40, 120, degree_F >> inTemp = 10, 120, degree_F >> outHumidity = 0, 100 >> inHumidity = 0, 100 >> windSpeed = 0, 120, mile_per_hour >> [StdWXCalculate] >> pressure = prefer_hardware >> barometer = prefer_hardware >> altimeter = prefer_hardware >> windchill = prefer_hardware >> heatindex = prefer_hardware >> dewpoint = prefer_hardware >> inDewpoint = prefer_hardware >> rainRate = prefer_hardware >> [StdTimeSynch] >> clock_check = 14400 >> max_drift = 5 >> [StdArchive] >> archive_interval = 300 >> archive_delay = 15 >> record_generation = hardware >> loop_hilo = True >> data_binding = wx_binding >> [DataBindings] >> [[wx_binding]] >> database = archive_mysql >> table_name = archive >> manager = weewx.wxmanager.WXDaySummaryManager >> schema = schemas.wview.schema >> [[sma_binding]] # NOT IN USE NOW >> database = SBFspot_mysql >> table_name = weesolar >> manager = weewx.manager.Manager >> [Databases] >> [[archive_sqlite]] >> root = %(WEEWX_ROOT)s >> database_name = /mnt/nassula1/homez/hassula/weewxd/weewx.sdb >> driver = weedb.sqlite >> timeout = 10 >> [[archive_mysql]] >> host = 192.168.144.154 >> user = xxxxxx >> password = xxxxxx >> database_name = weewxdb >> driver = weedb.mysql >> [[SBFspot_mysql]] >> host = 192.168.144.154 >> user = xxxxxx >> password = xxxxxx >> database_name = SBFspot >> driver = weedb.mysql >> [Engine] >> [[Services]] >> prep_services = weewx.engine.StdTimeSynch >> data_services = , >> process_services = weewx.engine.StdConvert, >> weewx.engine.StdCalibrate, weewx.engine.StdQC, >> weewx.wxservices.StdWXCalculate >> archive_services = weewx.engine.StdArchive >> restful_services = weewx.restx.StdStationRegistry, >> weewx.restx.StdWunderground, weewx.restx.StdPWSweather, >> weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS >> report_services = weewx.engine.StdPrint, weewx.engine.StdReport >> >> -- >> 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/e4cdb96b-f6d3-4922-8d4a-b6d043e71f88n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/e4cdb96b-f6d3-4922-8d4a-b6d043e71f88n%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/7526592d-27cf-4e89-bd33-21868cf17ab8n%40googlegroups.com.