Return command responses to "response".

This commit is contained in:
Jonathan Naylor
2023-07-06 13:39:03 +01:00
parent 871ee09eee
commit ba2a92e32e
4 changed files with 2 additions and 207 deletions

View File

@@ -225,7 +225,7 @@ REMOTE_COMMAND CRemoteControl::getCommand(const std::string& command)
LogMessage(buffer);
}
m_mqtt->publish("command", reply.c_str());
m_mqtt->publish("response", reply.c_str());
return m_command;
}