From 42b067eb07dcceef5a79f69a127f6f113fdfdc2f Mon Sep 17 00:00:00 2001 From: Richard Genoud Date: Mon, 23 Sep 2019 19:51:42 +0200 Subject: [PATCH] kitchen_pilot_wire_control.ino: add a message on inactivity --- soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino b/soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino index 500d7dd..e9090af 100644 --- a/soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino +++ b/soft/kitchen/kitchen_pilot_wire_control/kitchen_pilot_wire_control.ino @@ -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); }