logger.debug incoming MQTT messages. #105 #110

This commit is contained in:
Koenkk committed 2018-06-14 20:06:35 +02:00
1 parent 7a13626da7
commit 744444ceb9
1 file changed
+2
+2
View File
@@ -316,6 +316,8 @@ class Controller {
}
handleMQTTMessage(topic, message) {
logger.debug(`Incoming MQTT message '${topic}' '${message.toString()}'`);
if (topic.match(mqttConfigRegex)) {
this.handleMQTTMessageConfig(topic, message);
} else if (topic.match(mqttDeviceRegex) || topic.match(mqttDevicePrefixRegex)) {