Thank you Gary! Success! The workaround of increasing the stale record time to 120 seconds is working.
I have had contact with the developer of the interceptor driver in the past, so I will post this issue to his GitHub page at https://github.com/matthewwall/weewx-interceptor However, since all was fine with weewx and the interceptor driver until I changed hardware (and subsequent new Lacrosse software to run it) I suspect the issue lies with how the new Lacrosse software is presenting the data to weewx. Since the Lacrosse software is proprietary, there is likely little that can be done on that side. The workaround is probably going to be the best long term solution. For anyone else who may come here looking for support, my weather station model is Lacrosse S84060. Thanks again for your helping me with this, and have a great weekend! On Friday, August 31, 2018 at 12:32:24 AM UTC-4, gjr80 wrote: > > Tom, > > At least it is apparent from the log why the CWOP posts are failing, but > what is the underlying cause is another matter. By default CWOP posts the > relevant data from the archive record every 10 minutes; however, when the > data is to be posted it's age is checked and it's considered as stale if it > is older than 60 seconds. If you look at the log extract you provided you > can see the 11:20:00 archive record was generated and saved to database at > 11:21:33: > > Aug 29 11:21:33 raspberrypi2 weewx[26138]: manager: Added record 2018-08- > 29 11:20:00 EDT (1535556000) to database 'weewx.sdb' > Aug 29 11:21:33 raspberrypi2 weewx[26138]: manager: Added record 2018-08- > 29 11:20:00 EDT (1535556000) to daily summary in 'weewx.sdb' > > WeeWX attempted to post the 11:20:00 data to CWOP at 11:21:33 but by that > time the archive record data was 93 seconds old (11:21:33 - 11:20:00) and > hence it was skipped: > > Aug 29 11:21:33 raspberrypi2 weewx[26138]: restx: CWOP: record 2018-08-29 > 11:20:00 EDT (1535556000) is stale (93 > 60). > > I assume this is the case on each archive record and that is why no CWOP > records are being posted. However, the underlying reason is another matter. > I have never used the interceptor driver but it seems odd that the 11:20:00 > record is saved to database at 11:21:33, I would expect that to happen > about 1 minute earlier, usually within a few seconds of the archive record > timestamp; perhaps this is a peculiarity of the interceptor driver. Perhaps > someone knowledgeable on the interceptor driver and your station can > comment. > > In the meantime you get things working by explicitly setting the stale > config option for CWOP posts. To do this edit weewx.conf and locate the > [[CWOP]] stanza under [StdRESTful], add in a line stale = 120. You should > end up with something like: > > > [[CWOP]] > # This section is for configuring posts to CWOP. > > # If you wish to do this, set the option 'enable' to true, > # and specify the station ID (e.g., CW1234). > enable = true > station = XXX obfuscated by wee_debug XXX > > # If this is an APRS (radio amateur) station, uncomment > # the following and replace with a passcode (e.g., 12345). > passcode = "removed" > post_interval = 600 > server_list = rotate.aprs.net:14580, rotate.aprs.net:14580 > stale = 120 > > Save weewx.conf then restart WeeWX. Monitor your log and hopefully you > will see CWOP data being posted. Once you are happy you can set debug=0 > again (and restart WeeWX) to cut down on your log entries. > > Gary > > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
