I’m getting wind speed values every minute or so from a LaCrosse sensor and using a rule to update max values. The problem is the Weekly Max is less than the Daily Max - which is by definition not possible.
The sensor actually report km/h which I convert to mph, that part works fine.
rule “Update_LaCrosse_Wind_Speed” when
Item LaCrosseWeather_Wind_Speed received update
var speed = (LaCrosseWeather_Wind_Speed.state as DecimalType).doubleValue
var speed_mph = speed / 1.609
The problem is for some reason LaCrosseWeather_Wind_Speed_7dMax is less than LaCrosseWeather_Wind_Speed_24hMax.
Since 24hMax is a subset of 7dMax it should be impossible for this to happen. The opposite is possible of course.
Any ideas on what’s going on here.