# HG changeset patch # User Michiel Broek # Date 1547925176 -3600 # Node ID 0df7fcb36b7659706ca7c6f4cd3211e332d0bca9 # Parent 6f8eda55ec2c17aa0348e7389bece8a163be8990 Send MQTT messages with temperature values also when the fermenter is off. diff -r 6f8eda55ec2c -r 0df7fcb36b76 thermferm/thermferm.c --- a/thermferm/thermferm.c Sat Jan 19 11:38:09 2019 +0100 +++ b/thermferm/thermferm.c Sat Jan 19 20:12:56 2019 +0100 @@ -1845,9 +1845,9 @@ publishDBirth(unit); unit->mqtt_flag &= ~MQTT_FLAG_BIRTH; } else { - if (unit->mode != UNITMODE_OFF) { +// if (unit->mode != UNITMODE_OFF) { publishDData(unit); - } +// } unit->mqtt_flag &= ~MQTT_FLAG_DATA; } if (unit->mqtt_flag & MQTT_FLAG_DEATH) {