I have two different applications receiving data and want there respective uplinks to go to there respective topics on mqtt. How can we do this ?
can somebody help me here ?
Do you have 2 applications that need to receive the rx data on the mqtt?
yes there two applications.
Is there a reason you can’t have both applications pulling from the same MQTT topic? That’s pretty much how MQTT works (in default, non-shared configurations).
You can try the following.
It reads the MQTT topic then inserts data in to MongoDB, and then send the data out with socket.io to display the live data on a web page or to your applications.
for a history on the data you can just read it out of the mongodb database collection.
Hope it helps some how…