This presents obvious problems for us. A future version of the WUnderground Plugin will attempt to account for such situations--if it detects a "Bad Data Value" it will present something to let you know not to key off the result.
In the interim, it's probably wise for you to provide some form of logic to evaluate WUnderground values of '-999' and '-9999' (which are in the Weather Underground data dictionary as an indicator of bad data) before using the information to do anything important like turning on the heat...
- Code: Select all
IF VALUE < -100 THEN (don't do anything really important)