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

[Bug]: "Klippy changed state to ..." message spam - only enable selected notifications #346

Open
1 task done
GoTVm opened this issue Dec 26, 2024 · 2 comments
Open
1 task done

Comments

@GoTVm
Copy link

GoTVm commented Dec 26, 2024

What happened and in what context?

I have two Klipper printers, each with their own Pi and Klipper/Moonraker install. The older one does not send any message when Klipper is started/encounters an error, whereas the new one sends a message for each Klippy state change and also when the printer is online.

I would like to only receive the messages I specified in the notifier section, as below (moonraker.conf)

[notifier print_end]
url: tgram://************
events: complete
body: Print complete '{event_args[1].filename}'
attach: http://localhost/webcam/?action=snapshot

[notifier print_error]
url: tgram://************
events: error
body: Print error '{event_args[1].filename}'
attach: http://localhost/webcam/?action=snapshot

and disable every other notification.

If needed, paste the relevant bot log contents here.

telegram.log

If needed, paste the relevant bot journal contents here.

No response

What branch does this occur on?

master

Reports only on latest master or development branches!

  • I have updated to latest development/master version before submitting the bug
@GoTVm GoTVm added the bug Something isn't working label Dec 26, 2024
@aka13-404 aka13-404 removed the bug Something isn't working label Dec 26, 2024
@aka13-404
Copy link
Collaborator

What does our bot have to do with your moonraker notifier section?
The bot sends an update on every moonraker status change, and this is intended behaviour, which has been this way for a very long time.

@GoTVm
Copy link
Author

GoTVm commented Dec 26, 2024

My older printer probably doesn't have Moonraker Telegram Bot configured, just installed. I might've mixed up the notifier section with Moonraker Telegram Bot.

How long has this been default behaviour? I configured Telegram notifications on my older printer around February of last year. I don't have my printer at hand right now, so I am unable to check what packages are installed.

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

2 participants