       break;
     }
   }
-  Serial.print("target = ");
-  Serial.print(start->source);
-  Serial.print(" / ");
-  Serial.println(stop->source);
   ret = (adder + start->target) - ((v - start->source) / (stop->source - start->source) * (start->target - stop->target));
   return ret;
 }

  }
}


void evaluateCondition(struct ad *source,time_t ts)
{
  float value;

  {5,"radiator",     0,0,     0,0.0, 0,0.3, 7,  21.0, 539,  36.5,  0,-273.0,  0,0.0}
};

struct bypassValve bypasses[]= {
  {"heating",&adArr[3],0,30,31,20.0,1000,30,0.3,800,10000}
};

// counters are kept in array, this for preparing to have more of them.

