For a Node-RED application, I am using MQTT to talk with the device. Do I need to use two "topics"?:
- One topic for the device to publish information to be subscribed by the Node-Red application.
- One topic for the Node-RED application to publish (and the device to subscribe to).
Alternatively, can both the device and Node-RED application post different information (both publishing and subscribing) to the same topic?
For example: If the device is both publishing temperature data and also subscribing to the same topic to get information from Node-RED in Bluemix, will that cause issues? There are two types of data I want to exchange:
- The Device would be publishing temperatures.
- The Node-RED application would be publishing "user request" information that would tell the device when to report temperatures.