Browse Source

kitchen_pilot_wire_control.ino: add a message on inactivity

master
Richard Genoud 5 years ago
parent
commit
42b067eb07
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino

+ 1
- 0
soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino View File

@ -51,6 +51,7 @@ void shutdown_heater(void *dummy)
{
// if we didn't receive a message for an hour,
// shutdown the heater
Serial.println("No MQTT message for one hour, switching off.");
heater_off(heating_pin);
}


Loading…
Cancel
Save