Hi, I have been using Weewx v3.5.0 for a few years now. I have an Accurite weather station with the thermometer, rain gauge and anemometer in a single unit. In order to get the rain gauge and anemometer to give useful readings, I mounted it on the roof where it's away from all the trees. It's the best location for wind and rain, but it sucks for the temperature much of the time. I have a white roof and the temp up there is often 10degF warmer than ambient.
To get around that, I built my own wifi thermometer and put it in a much better location. Details of the build here <https://hackaday.io/project/101680-solar-powered-wifi-temperature-sensor-for-weewx> . The new thermometer gives more accurate readings almost all the time. However, a few minutes in the late afternoon, I get direct sunshine on it and the temp spikes. It can spike by 20 degrees sometimes and is screwing with my long term high temp data. It's worst this time of year, before the oak trees leaf out and block the afternoon sun. I'm recording the Accurite data in extraTemp1 and my thermometer in outTemp. I want to write some code to put the extraTemp1 value in outTemp if outTemp is more than 6 degF higher than extraTemp1. Ideally I'd only do this between 5-7pm local time, but doing it all the time would be ok. The problem I'm having is finding a good place to do the comparison. The service that reads outTemp doesn't have the extraTemp1 value. The code that reads the Accurite data and stuffs it into extraTemp1 doesn't have the outTemp data. Does anyone have a suggestion on where to do this comparison? I've tried fixing it up after the fact with a SQL query. It works, but I'd like to do it in real time rather than go back and fix the data later. -- 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.
