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

Scanner ignoring ItemIDs config setting #480

Open
lucastwg opened this issue Mar 13, 2024 · 3 comments
Open

Scanner ignoring ItemIDs config setting #480

lucastwg opened this issue Mar 13, 2024 · 3 comments

Comments

@lucastwg
Copy link

When setting specific store IDs to scan via config, scanner always notifies of all favorites instead of the stores listed in the ItemIDs config.

@Der-Henning
Copy link
Owner

Hi @lucastwg.
The scanner won't scan for stores. You can only set item ids in the ItemIDs property.
The option is a legacy option though. The recommended way is to setup the items you want to scan as favorites.

@lucastwg
Copy link
Author

I see, would it be possible to implement a setting in the config file to only alert specific stores? I along with many people have a lot of favorites but would only like to get alerts for a few stores

@lars-devs
Copy link
Contributor

Are You using the SMTP notifier? You could easily get this working by using the RecipientsPerItem setting. Besides the regular recipient, You can set up different recipients addresses (per item). I have my own mailserver with a special mailbox that I don't monitor. Some items that I don't want to be notified about are listed in the RecipientsPerItem and go right to the trash whereas other items go to my main mailbox.

Depending on how many items You want to either include oder exclude, it's easier to:

  • Set up a non-existing or not monitored mailbox as main recipient and only add desired items to RecipientsPerItem
  • Use Your main mailbox as Recipient and put items, You don't want a notification for into RecipientsPerItem with a non-existing or non-monitored mailbox.

See below

; Only notify desired items
Recipients = non-existing-or-not-in-use@example.org
RecipientsPerItem = {"123" : ["mail@example.org"], "456" : ["mail@example.org"]}

; Exclude non-desired items
Recipients = mail@example.org
RecipientsPerItem = {"123" : ["non-existing-or-not-in-use@example.org"], "456" : ["non-existing-or-not-in-use@example.org"]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants