Ok This is not my first rodeo!
I have this issue regularly when I lose power on my remote Rpi and things get out of sync but this time I cannot seem to get the Pi and and the Vantage 2pro station back online and yes I am at the remote location. I usually just have to delete bad records in the database and clear the station memory(following the directions in the manual), but this time I just cannot seem to get things sorted and I need a sanity check. Look at the bold Items!
syslog messages
pi@weather:/var/lib/weewx $ tail /var/log/syslog
Mar 6 13:59:13 weather weewx[2356]: **** File "/usr/share/weewx/weewx/engine.py", line 141, in loadServices
Mar 6 13:59:13 weather weewx[2356]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Mar 6 13:59:13 weather weewx[2356]: **** File "/usr/share/weewx/weewx/engine.py", line 491, in __init__
Mar 6 13:59:13 weather weewx[2356]: **** self.setup_database(config_dict)
Mar 6 13:59:13 weather weewx[2356]: **** File "/usr/share/weewx/weewx/engine.py", line 604, in setup_database
Mar 6 13:59:13 weather weewx[2356]: **** _nrecs, _ndays = dbmanager.backfill_day_summary() # @UnusedVariable
Mar 6 13:59:13 weather weewx[2356]: **** File "/usr/share/weewx/weewx/manager.py", line 1428, in backfill_day_summary
Mar 6 13:59:13 weather weewx[2356]: **** timestamp_to_string(lastRecord)))
Mar 6 13:59:13 weather weewx[2356]: **** ViolatedPrecondition: lastUpdate(2020-03-06 07:55:00 CST (1583502900)) > lastRecord(2020-03-05 12:00:00 CST (1583431200))
Mar 6 13:59:13 weather weewx[2356]: **** Exiting
note: I copied the original DB and deleted the records prior.
This is the database
pi@weather:/var/lib/weewx $ sudo sqlite3 /var/lib/weewx/weewx.sdb
SQLite version 3.16.2 2017-01-06 16:32:41
Enter ".help" for usage hints.
sqlite> select dateTime from archive where dateTime > 1583430000;
1583430300
1583430600
1583430900
1583431200
sqlite>
this is the timestamp
Epoch timestamp:
1583431200Timestamp in milliseconds: 1583431200000Date and time (GMT): Thursday, March 5, 2020 6:00:00 PM
Date and time (your time zone): Thursday, March 5, 2020 12:00:00 PM GMT-06:00
What am I missing? The 7:55 timestamp is when I had to reset all of the hardware both the pi and the base station
I know I am missing something obvious, I just am not seeing it
Thanks in advance!
Richard