Regardless of whether it’s a median filter, a Kalman filter or anything else, integrating it into weewx doesn’t seem trivial to me. This is something Tom and the other developers would need to consider and decide the best way to proceed. Also, how many users would take advantage of it. There’s a time series based on the loop intervals, etc., to think of as well.
I agree it probably would be best as an optional add-on, but again, I am not one of the coders. Personally, I would only use such a feature to de-spike the signal strength. I don’t have a need for an alarm, but others might.
Lastly, I wonder if there’s already a way to trigger an alarm. That’s a feature that I haven’t researched, if it does exist. I threw my two cents in only because of the simplicity and robustness of a small median filter. Getting one working with weewx and/or an alarm is out of my league.
For what it’s worth, I too am growing tomatoes, but we’ve harvested the lot this week, escaping the frost due to an unusually mild autumn. But gardening is off topic! :-)
- Paul VE1DX