ioBroker.mqtt icon indicating copy to clipboard operation
ioBroker.mqtt copied to clipboard

Retain flag in sendMessage2Client

Open m1k3f15h opened this issue 2 years ago • 3 comments

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

m1k3f15h avatar Oct 16 '22 16:10 m1k3f15h

Hey @klein0r

Thanks for implementing this :)

Mike

m1k3f15h avatar Oct 30 '23 13:10 m1k3f15h

@m1k3f15h Feel free to close the issue if everything is working as expected

klein0r avatar Oct 30 '23 14:10 klein0r

@klein0r i will test the feature later today.. i am so excited :)

m1k3f15h avatar Oct 30 '23 14:10 m1k3f15h