diff --git a/api/runtime.php b/api/runtime.php index e5cd538..e59d7a9 100644 --- a/api/runtime.php +++ b/api/runtime.php @@ -498,6 +498,15 @@ class runtime extends cora\api { continue; } + /** + * See #280. + */ + if( + $columns['auxHeat2'] > $columns['auxHeat1'] + ) { + continue; + } + // Date and time are first two columns of the returned data. It is // returned in thermostat time, so convert it to UTC first. $timestamp = $this->get_utc_datetime(