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
[feature] Different notification settings for different apprise services #2316
Comments
that sounds like a bug, so you're saying if you have 2 groups set on a watch, and each group has different notifications, it only sends the first one?
100% correct - the problem now is that notifications are 1:1 with the watch, the 'groups' thing helps a bit but its still not quite the right answer |
Correct, at least that is what appears to be happening. I have a test watch URL I put into the E-mail group alone. When it changes, it sends an e-mail using Mailgun correctly. When I put "E-mail, LINE" in the group tags (in that order), LINE becomes the first in the list: And new changes will only come through LINE, not e-mail (which, also as a minor side-point, there's no way to distinguish between the multiple tags with how its rendered right now—a quick and easy CSS fix to that could be to change
Just a thought. :) |
Version and OS
v0.45.17 on docker
Is your feature request related to a problem? Please describe.
Right now, I am using two different notification services to alert me to changes: LINE (a messaging app) and Mailgun (to send e-mails). The two different services have very different structures/capabilities with regards to the messages I send. For instance, over e-mail, I can get away with sending {{diff}}'s, but for the messaging app nature of LINE, sending the differences makes little sense.
As such, it would be nice to be able to configure notification settings on a per apprise protocol basis.
Describe the solution you'd like
A cheap workaround solution that almost worked was to create two group tags, one called LINE and another called E-mail. When creating a watch url, you can plug in the two groups separated by commas, and ChangeDetection.io appears to handle this relatively well (the watch URL appears in both groups). Then for each group, I configured a different notification setting—each with its own apprise protocol and unique message configured.
However, this does not work. I haven't looked at the code, but it appears that ChangeDetection.io will only select whatever it orders the first group to (in my case, it's LINE) and sends notifications based on that group, but will not send notifications for the other groups that the watch url is attached to.
Of course, this was more of a hacky workaround that I tried that could probably be made to work relatively quickly.
A more 'ideal' solution would be to change the notifications settings system more substantially such that you can 'Create new notification message' and then for each method, have a multi-attribute selector form that allows you to choose which services from the line-separated apprise protocols the user has plugged in that that notification message should be sent to.
The text was updated successfully, but these errors were encountered: