Is it possible to define a 2nd publish topic to the same broker.
Something like this:
client.publish(TH_Living_outTopic1, MQTTmsg); // send msg to mqtt server
and another
client.publish(TH_Wohnen_outTopic2, MQTTstring); // send msg to mqtt server
The messages are to be sent to a node red v2.1.0 system.
Is it possible to define a 2nd publish topic to the same broker. Something like this:
client.publish(TH_Living_outTopic1, MQTTmsg); // send msg to mqtt server
and anotherclient.publish(TH_Wohnen_outTopic2, MQTTstring); // send msg to mqtt server
The messages are to be sent to a node red v2.1.0 system.