ioBroker.mqtt
ioBroker.mqtt copied to clipboard
Retain flag in sendMessage2Client
Hello
Is your feature request related to a problem? Please describe. Would be nice to chose retain flag for each message from Javascript (sendTo('mqtt.0', 'sendMessage2Client', {topic: "bla", message: "bru");
Describe the solution you'd like For example: (sendTo('mqtt.0', 'sendMessage2Client', {topic: "bla", message: "bru", "retain": true);
Describe alternatives you've considered Another option is to create a second instance of the mqtt.. but this is annoying.
Greetings from Austria Mike
Hey @klein0r
Thanks for implementing this :)
Mike
@m1k3f15h Feel free to close the issue if everything is working as expected
@klein0r i will test the feature later today.. i am so excited :)