Hello everyone, there is an error in the programme, I don't see it;
//switching heat pump, thermostat when tempDom is greater than TempZal, please help
if (tempDom < TempZal && digitalRead(thermostatPoko) == 1 && delayTermostat < currentTime)
.
i
//switching heat pump, thermostat when tempDom is greater than TempZal, please help
if (tempDom < TempZal && digitalRead(thermostatPoko) == 1 && delayTermostat < currentTime)
f ((czasMin > 333 && czasMin < 611) || ( czasMin > 1211 && czasMin < 1411 )|| ( czasMin > 1711 && czasMin < 1911 ))
{
TempZal = TempDzi - TempDel;
TempWyl = TempDzi;
}
else
{
TempZal = TempNoc - TempDel; // temp startu
TempWyl = TempNoc; // temp stop
}
/*
if ( czasMin > 1755 && czasMin < 1855 && RAMint[3] == 1)
{
TempZal = 25; TempWyl = 27;
} */
//załaczanie pmpy ciepła
if (tempDom < TempZal && digitalRead(termostatPoko) == 1 && zwlokaTermostat < aktualnyCzas )
{
digitalWrite(termostatPoko, 0); // powiadamia kaisai temp mala w pokoju
digitalWrite(PompaCO, 0);
StartPC = aktualnyCzas;
zwlokaTermostat = aktualnyCzas + 900000 ; // 20 min
welcome = "Staret PC Gołebia \n\n";
welcome += "TT z Kaisai / TT tempZewn / TempBoiler /doCO - " + StTempZkaisai + " / " + StTempZewn+ " / " + StTempBoiler + " / " + StTempOcZasil + "\n\n";
bot.sendMessage(chat_id, welcome , "");
}
i