diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 6352ee0..8da1fef 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -901,6 +901,10 @@ void applyConfig() { switch (it.itemType) { case CH_THERMO: if (cmd<1) it.setCmd(CMD_OFF); + pinMode(pin, OUTPUT); + digitalWrite(pin, false); //Initially, all thermostates are LOW (OFF for electho heaters, open for water NO) + debugSerial<