Send MQTT messages with temperature values also when the fermenter is off.

Sat, 19 Jan 2019 20:12:56 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 19 Jan 2019 20:12:56 +0100
changeset 572
0df7fcb36b76
parent 571
6f8eda55ec2c
child 573
479878d528f2

Send MQTT messages with temperature values also when the fermenter is off.

thermferm/thermferm.c file | annotate | diff | comparison | revisions
--- 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) {

mercurial