added debug informations

This commit is contained in:
KarstenSiedentopp
2019-04-09 18:20:16 +02:00
parent 7a9dde716c
commit 1485ae0689

View File

@@ -168,6 +168,7 @@ mqtt_client.on('message', function (topic, message) {
var options = getDeviceFromTopic(topic); var options = getDeviceFromTopic(topic);
debug("receive settings", JSON.stringify({ debug("receive settings", JSON.stringify({
topic: topic,
action: action, action: action,
message: message, message: message,
options: options options: options