decreased verbosity, send MQTT ping every 2 minutes to avoid disconnect.
This commit is contained in:
@@ -108,7 +108,7 @@ void _handlePublish(const char *baseFolder, const ITEM_LIST *itemList, const cha
|
||||
if (item) {
|
||||
const char *t;
|
||||
|
||||
DBG_INFO(NULL, "HANDLING topic \"%s\"", topic);
|
||||
DBG_INFO(AQH_LOGDOMAIN, "HANDLING topic \"%s\"", topic);
|
||||
t=Item_GetDataType(item);
|
||||
if (t && strcasecmp(t, "json")==0)
|
||||
_handleJsonMsgForItem(baseFolder, item, value);
|
||||
@@ -116,7 +116,7 @@ void _handlePublish(const char *baseFolder, const ITEM_LIST *itemList, const cha
|
||||
_handleRawMsgForItem(baseFolder, item, value);
|
||||
}
|
||||
else {
|
||||
DBG_INFO(NULL, "ignoring topic \"%s\"", topic);
|
||||
DBG_INFO(AQH_LOGDOMAIN, "ignoring topic \"%s\"", topic);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user