On Sunday, September 4, 2016 at 7:51:23 PM UTC-4, Louis De Lange wrote: > > I am running weewx on a FreeBSD box with a AmbientWeather Observer on > Interceptor driver very succesfully. > > I notice strange behaviour on the start timing of StdArchive - I have > archive delay set to the default of 15secs but according to the log the > StdArchive process triggers around 46 secs after the top of the minute, > approx 30 secs late. I checked the time setting on the server and it is > within 1 sec of the real time. > > One thing to note - the Interceptor driver ignores the loop packet time > from and instead timestamps the loop data with the current server time, but > I dont think this has any effect. > > Does anyone have any idea why StdArchive executes later than the > archive_delay setting would suggest >
which version of the interceptor driver are you using? how are you sending data to the interceptor driver? direct from the observer? via a cgi relay? using ncat or tcpdump or other sniffing tool? your observer should be sending data at regular intervals. but if you're sniffing there could be delays. or there could be delays in the way the socket server in the interceptor driver is handling the data. the genLoopPackets method should not be blocking. the socket server posts data to a queue, and the genLoopPackets method simply checks the queue to see if there are any data. for the observer, the interceptor driver *should* be using the station time, not the computer time, for the packet timestamps. (see the code for the Observer.Parser.parse method) (it looks like it is time for me to split the interceptor driver into 4 different drivers. when i wrote it, i was hoping there was more in common between the hardware from fineoffset, lacrosse, oregonscientific, and acurite. it turns out that there are almost as many specializations and commonalities, even though they all say that they do the same thing on the tin.) m -- 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.
