# HG changeset patch # User Michiel Broek # Date 1502375274 -7200 # Node ID d33516eac22fb568be945024d242cf940b7bfe62 # Parent 00b45f2aaac3c6a38ec8b80e206221dd4170a254 Serious alarms are above 255 diff -r 00b45f2aaac3 -r d33516eac22f thermferm/thermferm.h --- a/thermferm/thermferm.h Fri Jul 28 13:28:11 2017 +0200 +++ b/thermferm/thermferm.h Thu Aug 10 16:27:54 2017 +0200 @@ -209,9 +209,12 @@ #define MQTT_NODE_CONTROL 0x0001 /* Show node control */ +/* + * Alarm bits, value above 255 are serious alarms. + */ #define ALARM_FLAG_DOOR 0x0001 /* Door open */ #define ALARM_FLAG_PSU 0x0002 /* PSU problem */ -#define ALARM_FLAG_CHILLER 0x0004 /* Chiller too warm */ +#define ALARM_FLAG_CHILLER 0x0100 /* Chiller too warm */