# HG changeset patch # User Michiel Broek # Date 1578738780 -3600 # Node ID a43b8b85d8b39dacf9ae8574c55fb5e6362edf82 # Parent b6a73022abe790901b108a5c7c402b8aae11cc11 Supress DCMD error messages in the log. diff -r b6a73022abe7 -r a43b8b85d8b3 bmsd/mqtt.c --- a/bmsd/mqtt.c Wed Jan 08 23:32:16 2020 +0100 +++ b/bmsd/mqtt.c Sat Jan 11 11:33:00 2020 +0100 @@ -175,6 +175,9 @@ fermenter_log(message->topic, (char *)message->payload); return; } + if (strstr(message->topic, (char *)"fermenters") && strstr(message->topic, (char *)"DCMD")) { + return; // just ignore our own commands. + } if (strstr(message->topic, (char *)"co2meters") && strstr(message->topic, (char *)"DBIRTH")) { co2meter_birth_data(message->topic, (char *)message->payload); return;