Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mqtt-exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ c.on('connect', function() {
var message = message.replace(/"/g, "\\\"");
executeShellCommand(topic,message);
var topic_outgoing = topic.replace(/\/set/g,'');
console.log("Reportig value back to topic: " + topic_outgoing);
console.log("Reporting value back to topic: " + topic_outgoing);
c.publish(topic_outgoing,message,{retain: true});
});
});
Expand Down