-
Notifications
You must be signed in to change notification settings - Fork 19
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
Ability to subscribe to custom events #17
Comments
Hello, I would be interested in such a function as well. As the plugin "OctoPrint-Telegram" is not python 3 compatible at the moment this would be a great way to handle notifications. Regards Jörg |
This sounds really good. Another usecase I was thinking about a LED lamp with WLED and firing a webhook on the event "stream_started/stopped" (pseudo name) would be a nice thing. "Turn on LED light if stream is running, turn of if stream is stopped via webhook" |
@2blane it's been over a year on this, would it be feasible to include this? I'd love to see something similar to the OctoPrint-IFTTT plugin's interface where you can subscribe to custom events by name: |
Unless I'm missing something, it looks like you can only subscribe to a specific set of events (started, done, failed, etc). You should be able to subscribe to custom events like you can with the OctoPrint-IFTTT plugin. For instance, the OctoPrint-ngrok plugin fires the
plugin_ngrok_connected
event when the tunnel is created and theplugin_ngrok_closed
event when the tunnel is closed. It'd be great to be able to subscribe to these events and any other events fired by other pluginsThe text was updated successfully, but these errors were encountered: