Help with thermostat

Hi ,i need help with my thermostat with two ds 1820.i want to ds1 read the temp and open relay1 and ds2 read the temp2 and close the relay1 .

Let me be the first to warn you that most people won't answer unless you post your code, and a wiring diagram.

I assume you have no code, no wiring, and no idea, so

Then add a a couple of "if" staements to control the realy.

I think you really should be able to get by with one sensor.

if (tempC > ta){ digitalWrite(releu4, LOW); digitalWrite( led4, ON);}if (tempC < tb){ digitalWrite(releu4, HIGH); digitalWrite (led4, OFF); } ,tempC read the ds1 temp.and ta-25,tb-28.I want to ds1(tempC)who read temp from stove read the temp and opem the relay to start the pump when temp is ta and ds2(tempC2)read the temp from booiler and close the pump when temp is tb

Looks like he has 2 sensors, one on the "stove" and one on the "boiler".
Can't figure out the logic he wants though.??
With a boiler involved I'm hesitant to recommend anything besides a long range remote control.

if (tempC > ta){ //Chek if the temperature is below the off heating element
digitalWrite(releu4, LOW);
digitalWrite( led4, ON);
}

if(tempC1 > tb){
digitalWrite(releu4, HIGH); //chek if the temperature is above the start temperature
digitalWrite (led4, OFF);
}

tb=64.00 and stop relay
ta=50.00 and start relay

Again tempC=ds1820 the master
and tempC1=ds1820 the slave
What I must to put in this code that the master open the relay and the slave close the relay(if, else?)

if (tempC > ta){ //Chek if the temperature is below the off heating element

code and comment seem in serious conflict

int status = LOW;

void setup()
{
  // do you set up here
}

void loop()
{
  float tempC = getTemperature();

  if (tempC < ta && status == LOW)
  {
    status = HIGH;
    digitalWrite(relay, HIGH);  
    digitalWrite( led, HIGH);
  }

  if (tempC > tb && status == HIGH)
  {
    status = LOW;
    digitalWrite(relay, LOW);  
    digitalWrite( led, LOW);
  }
  // ...
}