 
   // Timer start
   startMills = millis();
+  tempMills = millis();
+  o_tempMills = millis();
 
   // lcd
   lcd.init();

DallasTemperature sensors(&oneWire);
DeviceAddress insideThermometer;

//
float tempCinside;
long startMills;
long tv_off_Mills;
int setUpStatus;
int wrkModeStatus;

// lcd
byte termometru[8] =

  eeprom_read(magic, magic);
  if ((magic != magic_number) || ( setUpStatus == 0 )) {
     run_initialise_setup();
     resetFunc();
  }

  // eeprom read
  eeprom_read(o_pwrSrc, pwrSrc);  
  eeprom_read(o_wrkMode, wrkMode); 
  eeprom_read(o_startMode, startMode); 
  eeprom_read(o_beepMode, beepMode); 
  eeprom_read(o_offMode, offMode); 
  eeprom_read(o_channelGap, channelGap); 
  eeprom_read(o_tvOnTime, tvOnTime); 
  eeprom_read(o_tvOffTime, tvOffTime); 

  // temp sensor
  sensors.begin();
  if (!sensors.getAddress(insideThermometer, 0)) Serial.println("Unable to find address for Device 0");
  sensors.setResolution(insideThermometer, TEMPERATURE_PRECISION);
  sensors.requestTemperatures();
  tempCinside   = sensors.getTempC(insideThermometer);
  c_tempCinside = tempCinside;

  if ( isnan(tempCinside) ) {
    Serial.println("Failed to read from sensor!");
