doods2
doods2 copied to clipboard
MQTT mode isn't easy to share with multiple requestors
With the structure given in the readme: request_topic: doods2/request_topic response_topic: doods2/response_topic
This means multiple clients making requests would all get the responses on the same topic. I would recommend a simple enhancement: request_topic: doods2/request_topic/+ response_topic: doods2/response_topic/+
Where the last part of the path would be a unique client ID that the client makes up and the response message would have the same ID at the end. That way multiple clients can make up their own client ids and subscribe to them and then not get responses intended for other clients.