Incorrect time on Web Page

106 views
Skip to first unread message

Robert and Katrina de Keijzer

unread,
Sep 30, 2022, 6:36:34 AM9/30/22
to weewx-user
Hi,

I have recently opened the webpage associated with Weewx and noticed the time is incorrect. It's only happened recently, so I'm puzzled what is going on.

Debug log

Sep 30 20:22:27 solar weewx[31879] DEBUG user.interceptor: raw packet: {'dateTime': 1664533304, 'usUnits': 1, 'temperature_in': 65.48, 'humidity_in': 72.0, 'pressure': 30.183, 'wind_dir': 181.0, 'wind_speed': 0.0, 'wind_gust': 0.0, 'solar_radiation': 0.0, 'uv': 0.0, 'rain_rate': 18.921, 'rain_total': 87.13, 'temperature_1': 55.22, 'humidity_1': 95.0, 'soil_moisture_1': 56.0, 'soil_moisture_2': 84.0, 'soil_moisture_3': 70.0, 'soil_moisture_4': 53.0, 'soil_moisture_6': 50.0, 'battery_1': 0.0, 'soil_battery_1': 1.5, 'soil_battery_2': 1.4, 'soil_battery_3': 1.3, 'soil_battery_4': 1.4, 'soil_battery_6': 1.4, 'rain': 0.0}
Sep 30 20:22:27 solar weewx[31879] DEBUG user.interceptor: mapped packet: {'dateTime': 1664533304, 'usUnits': 1, 'pressure': 30.183, 'outHumidity': 95.0, 'inHumidity': 72.0, 'outTemp': 55.22, 'inTemp': 65.48, 'windSpeed': 0.0, 'windGust': 0.0, 'windDir': 181.0, 'radiation': 0.0, 'rain': 0.0, 'rainRate': 18.921, 'UV': 0.0, 'extraTemp1': 55.22, 'extraHumid1': 95.0, 'soilMoist1': 56.0, 'soilMoist2': 84.0, 'soilMoist3': 70.0, 'soilMoist4': 53.0}
Sep 30 20:22:27 solar weewx[31879] INFO weewx.manager: Added record 2022-09-30 19:25:00 AEST (1664529900) to database 'weewx.sdb'
Sep 30 20:22:27 solar weewx[31879] INFO weewx.manager: Added record 2022-09-30 19:25:00 AEST (1664529900) to daily summary in 'weewx.sdb'
Sep 30 20:22:27 solar weewx[31879] DEBUG weewx.reportengine: Running reports for latest time in the database.
Sep 30 20:22:27 solar weewx[31879] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Sep 30 20:22:27 solar weewx[31879] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Sep 30 20:22:28 solar weewx[31879] 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']
Sep 30 20:22:28 solar weewx[31879] DEBUG weewx.manager: Daily summary version is 4.0
Sep 30 20:22:34 solar weewx[31879] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 6.84 seconds
Sep 30 20:22:35 solar weewx[31879] DEBUG weewx.manager: Daily summary version is 4.0
Sep 30 20:22:37 solar weewx[31879] DEBUG user.interceptor: empty queue
Sep 30 20:22:39 solar weewx[31879] INFO weewx.imagegenerator: Generated 25 images for report SeasonsReport in 4.60 seconds
Sep 30 20:22:39 solar weewx[31879] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Sep 30 20:22:39 solar weewx[31879] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Sep 30 20:22:39 solar weewx[31879] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Sep 30 20:22:39 solar weewx[31879] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Sep 30 20:22:39 solar weewx[31879] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Sep 30 20:22:39 solar weewx[31879] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Sep 30 20:22:47 solar weewx[31879] DEBUG user.interceptor: empty queue
Sep 30 20:22:57 solar weewx[31879] DEBUG user.interceptor: empty queue
Sep 30 20:23:07 solar weewx[31879] DEBUG user.interceptor: empty queue
Sep 30 20:23:17 solar weewx[31879] DEBUG user.interceptor: empty queue
Sep 30 20:23:27 solar weewx[31879] DEBUG user. Interceptor: empty queue

Thanks,

Rob


Tom Keffer

unread,
Sep 30, 2022, 7:00:09 AM9/30/22
to weewx...@googlegroups.com
Are you looking at an old web page?

Are the timestamps shown in your log correct? In other words, is the computer's clock correct?

Your log shows that at 20:22:27 a record with timestamp 19:25:00 was added. That's nearly an hour old. What is your archive interval?







--
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/3cd8505e-cec6-435f-8517-ff05f2d174f6n%40googlegroups.com.

Robert and Katrina de Keijzer

unread,
Oct 1, 2022, 5:33:33 AM10/1/22
to weewx-user
No, I'm not looking at an old webage, the page gets refreshed every 5 minutes and so does the data, i.e. archive interval. The computer time is correct.

For example, I have just opened the Weewx webpage today and the time stamp shows 1715, the correct time is 1925.

It hasn't happened before, hence my query.

Tom Keffer

unread,
Oct 1, 2022, 7:33:08 AM10/1/22
to weewx...@googlegroups.com
Just a theory here... 

The timestamp used on a webpage is the last timestamp in the database.

Reports are triggered by the reception of a packet after the end of the archive interval.

The last packet received by the interceptor is 1664533304, or 2022-09-30 20:21:44 AEST, which triggered the generation of the 19:25:00 report. I wish we had the log from a bit earlier, but given the above, I'm guessing the packet is the first packet received since before 19:25. So, its reception finally triggered report generation, which resulted in a nearly hour old report.

Can we see earlier in the log? When are LOOP packets being received?

-tk

Robert and Katrina de Keijzer

unread,
Oct 2, 2022, 10:34:05 PM10/2/22
to weewx-user
Hi,

I think I have sorted it. 

I use an Eco Witt GW1000 Wi-Fi gateway to read various sensors. The gateway had attempted to update to the latest firmware and some corruption must have occurred in the process, resulting in the gateway not working properly.

When I restarted the gateway, the issue resolved itself.

Thanks,

Rob

Reply all
Reply to author
Forward
0 new messages