mqttwarn icon indicating copy to clipboard operation
mqttwarn copied to clipboard

Pull effective recipient from message payload

Open bletvaska opened this issue 1 year ago • 3 comments

hello

this is not issue - it is a question (and i don't know where to write it, so i am writing here)

i am new to mqttwarn and i am thinking about to use it. i understand how it works, but my requirement is bit different. simply - i need to have option to send message (currently push notification with pushbullet) to recipient, which is specified in mqtt payload/message. so for example - the message should looks like this:

{
   "recipient": "[email protected]",
   "message": "hello world"
}

and the question is, if it is possible to send the message "hello world" dynamically to the recipient with email [email protected] instead of statically defined targets in service configuration? according to the documentation and the options/functions, which i am able to change/write, it looks to me, it is not possible :-(

thanks

mirek

bletvaska avatar Jan 24 '24 12:01 bletvaska

No, I don't think it's currently possible to override configuration dynamically, so what you need would not easily be implemented with mqttwarn.

jpmens avatar Jan 24 '24 12:01 jpmens

hmm... that's pitty. so i need to implement it by my own :-( thanks anyway

bletvaska avatar Jan 24 '24 13:01 bletvaska

Hi Mirek,

thank you for writing in. Your request sounds similar like another one. However, this one is different, so I am re-opening in order to track your request appropriately.

  • GH-482

With kind regards, Andreas.

amotl avatar Jan 29 '24 18:01 amotl