I have two sensors for temperature and pressure which both publish to weewx using the mqtt subscribe driver. The program I have running on the sensors takes a reading of pressure and temperature every 10 seconds, keeps a running average of pressure in avgPressure variable, and publishes on mqtt topic every five minutes. My station archive records update every five minutes. Theoretically, both my "Barometer" and "Pressure" values on weewx should be the five minute avgPressure at each unit. If you look at my graphs, however, I am experiencing spikes on both sensors at random points. Having studied serial output from my sensor units, they do not seem to be putting out the spiked reading. Also, according to my program on the sensors, they CAN'T output a significant spike.
I'm not quite sure where to begin looking at weewx to find where the spikes are being introduced to the record and therefore appearing in the graphs. If someone could point me in the general direction, it would be much appreciated. As far as log files, please indicate how long of a time period I should include and I will post them asap.
Thanks
Nick Kavanagh