Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull effective recipient from message payload #689

Open
bletvaska opened this issue Jan 24, 2024 · 3 comments
Open

Pull effective recipient from message payload #689

bletvaska opened this issue Jan 24, 2024 · 3 comments
Labels
feature All about new features

Comments

@bletvaska
Copy link

bletvaska commented Jan 24, 2024

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

@jpmens
Copy link
Collaborator

jpmens commented Jan 24, 2024

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

@bletvaska
Copy link
Author

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

@amotl
Copy link
Member

amotl commented Jan 29, 2024

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.

With kind regards,
Andreas.

@amotl amotl reopened this Jan 29, 2024
@amotl amotl changed the title Is it possible to use value for "recipient" of service from message payload? Pull effective recipient from message payload Jan 29, 2024
@amotl amotl added the feature All about new features label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature All about new features
Projects
None yet
Development

No branches or pull requests

3 participants